Hot answers tagged

6 votes
Accepted

Can I publish an image from a page as well as dynamic component?

When you call AddBinary() you are responsible for ensuring that the binary will have a unique location on the content delivery file system. If you are not specifying a structure group, then all your ...
Dominic Cronin's user avatar
5 votes

Resolving Binary Links in RTF | OUT of the BOX

AFAIK, when you create component links in the RTF field, Tridion does not generates the binary link. You may refer the Process Download Links in Output extension for this purpose. This was written ...
Pankaj Gaur's user avatar
  • 15.9k
5 votes

BinaryData Folder issue in DD4T

This is a known issue in DD4T. The root cause is that a non-existing image was requested. When somebody tries to access a non-existing image url (in a non-existing folder), the BinaryFactory creates ...
Nirajan Pokharel's user avatar
4 votes

Unable to save item (large mp4 file)

Can you go to the Event Viewer on the CM server and grab the entire stack trace for this error? Couple of thoughts: 1)System.OutOfMemoryException seems would be due to lack of actual system memory,...
Nickoli Roussakov's user avatar
4 votes

How to get binary file from Broker DB using CIL?

Binary should be treated as a separate entity similar to pages and component presentations. In your case, you would need your Rest service to serve your binary as a stream. Like Mark highlighted, you ...
Shiva's user avatar
  • 2,158
4 votes

Accessing pdf as a Component using url

A pdf is also a multimedia item except it doesn't render on any page like images. If you place url of any pdf on any link or anchor tag, on link click it will automatically download that pdf file. DXA ...
Mukesh Kumar's user avatar
  • 4,074
3 votes
Accepted

How to get binary file from Broker DB using CIL?

@Shiva already answered might helpful for using .NET CIL. To get the Binary using Java CIL. Java Example: import com.sdl.web.api.dynamic.BinaryContentRetrieverImpl; import com.sdl.web.api.dynamic....
Velmurugan's user avatar
  • 7,950
3 votes

Accessing pdf as a Component using url

DXA assumes that Binaries (Media Items) are published under the "Multimedia URL" as configured on the CM Publication. This will happen if you publish the Binaries without specifying a StructureGroup. ...
Rick Pannekoek's user avatar
3 votes

Publishing big pdf files not working

Timeout does not seem to be the issue if you get an immediate success message. If there's a timeout, I would expect a failure at possibly the commit stage of publishing. When you publish the file, ...
Robert Jin's user avatar
3 votes

Publishing big pdf files not working

try to increment the MaxSize parameter in your cd_deployer_conf.xml also you can change the next file $Tridion_Home\Content Porter\ImportExportService\web.config change the value of “...
Jose Honorato's user avatar
3 votes

How to publish binary to specific folder using legacy VBScript templating

In the old COM API's TCMScriptAssistant class, which has it's methods exposed to VBScript templates, there is an AddBinary method which I think you are looking for... Documentation is as follows: ...
David Forster's user avatar
3 votes

Broker query for published binaries using a certain schema

Based on my quick investigation, I could say it is possible. As I could retrieve multimedia components by adding a one more additional query criteria of new MultimediaCriteria(true) in the ...
Shahid Eqamuddin's user avatar
3 votes

Broker query for published binaries using a certain schema

AFAIK, you don’t need DCPs to be able to query for Component metadata. For example, the Latest News widget on the DXA Example Site Home Page queries embedded Component Presentations. In general, the ...
Rick Pannekoek's user avatar
3 votes

DXA binary files are still available after unpublishing

Finally found what was the root cause. There is an issue with BinaryFileManager.IsCached method. It does not account if file was unpublished. When you call IsCached method it will get ...
Stan Kroshchenko's user avatar
2 votes
Accepted

Instructions not set for Binary while publishing Multimedia component linked to Content which is using CT set to be published as embedded

I am not clear about your Dynamic Component Templates, So I am trying to answer the question generally. So to publish a binary from a CT, we need to ensure two things in templating: The binary is ...
Saurabh Gangwar's user avatar
2 votes

Is there a way to update publication metadata dynamically while publishing page/component?

You may also want to consider modifying the publish path using a Custom Renderer. A Custom Renderer can be used to manipulate the output produced by the template process. More information can be ...
Jonathan Williams's user avatar
2 votes
Accepted

UI Cutomization for Binaries to View in Staging and Active

Binaries are simply Components (or Multimedia Components if you will), so they will have ItemType.COMPONENT. This however doesn't help you much, you can extend the JavaScript to check if the ...
Bart Koopman's user avatar
  • 29.6k
2 votes
Accepted

BinaryVariant Issue when creating Service Reference to SDL Web 8 Content Service

Customer Support have confirmed this is a bug. There will be a hotfix for this shortly.
Chris Summers's user avatar
2 votes
Accepted

Publishing issue with Binary files after upgrade from 2011 SP1 to Tridion 2013 SP1

Sumit, I had gone through with your question and comments again and I came to below conclusion:- You should only use httpupload as deployer instead of deployer windows service. Kindly stop the ...
meyank's user avatar
  • 838
2 votes

Binary updates - issue with configuration - DXA

I have faced this same issue in the past. The issue isn't DXA nor DD4T. For me, the fix was to enable Tridion Cache Channel Service on both the deployer and your application's cd_storage_conf.xml (and ...
Robert Jin's user avatar
2 votes
Accepted

How to prevent cached binaries to get deleted on file system in DXA?

Option1: Try to use the persistent storage mapping in your web app, for example, try to use EFS (NFS storage) symbolic or soft link folder map to your web application for BinaryData folder so that ...
Velmurugan's user avatar
  • 7,950
2 votes

Unable to save item (large mp4 file)

In addition to what Nickoli suggested, should try checking and possibly increasing the sendTimeout attribute value of web.config to 10 minutes, as discussed in KB article https://gateway.sdl.com/apex/...
Terry Kim's user avatar
  • 926
2 votes

Why doesn't BinaryContent get expanded for embedded components?

It does look like you reached the configured expansion depth. If you debug the template in Template Builder (with Debug logging enabled), you will get more insight in why Entity Models are not ...
Rick Pannekoek's user avatar
2 votes
Accepted

Updating the RootPath for binary items published to the broker db

The response from Tridion Support confirmed that this is not supported for database publishing: documentation for the root element and path attribute says they're used for the filesystem storage ...
Dylan .. Mark Saunders's user avatar
1 vote

Obtaining Binary content from content.svc

Maybe it helps to have a look at how DXA uses the CIL API to retrieve Binaries? https://github.com/sdl/dxa-web-application-dotnet/blob/release/2.0/Sdl.Web.Tridion/Statics/BinaryFileManager.cs
Rick Pannekoek's user avatar
1 vote

Obtaining Binary content from content.svc

To clarify to understand you correctly. I would say you won't worry about the VariantID anymore, you stick to use CIL API to get the images by Id or URL, In case if you looking to get the specific ...
Velmurugan's user avatar
  • 7,950
1 vote

How to publish metadata-binary to Broker database?

Does the actual content of the binary end up anywhere? Or is the question purely about some metadata information in the broker tables? If you want to have the actual binary content in the database, ...
Atila Sos's user avatar
  • 6,280
1 vote
Accepted

Custom binary publisher with an older version DD4T

Create a new Custom Build Manager extending default BuildManager (DD4T.Templates.Base.Builder).In this implementation, use your custom BinaryPublisher extendending default (DD4T.Templates.Base.Utils). ...
Shiva's user avatar
  • 2,158
1 vote

BinaryData Folder issue in DD4T

To me, It seems your Publication properties is meshed up, if it's Web8, try to look at the Get-ttmMapping and your RelativeUrls, basically if that's not set properly it should not allow you to save ...
Vikas Kumar's user avatar
1 vote

Multimedia links to pdfs in RTF are not working for some

I suspect that this may because your HTML isn't valid (due to the spurious over text in your code example). This will be preventing the templating code from adding the PDF to the deployment package. ...
Jonathan Williams's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible