Hot answers tagged

16 votes
Accepted

Publishing image in Tridion

This behaviour is normal. Tridion keeps a list of all published multimedia components and their actual files on the file system. If you would change the name of a file in the multimedia component and ...
user avatar
12 votes
Accepted

Storing images in broker DB

The setup is correct, and the rendered output is correct as well. However, you will need to create some code to handle images stored in the DB by your webserver. Your webserver is not able to do this ...
user avatar
8 votes
Accepted

Resolving of binary links in rich text fields by DD4T

The problem here is that the DD4T LinkFactory class only looks for regular component links. It only queries the link_info broker table, which does not contain links to binaries. When we had to ...
user avatar
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 ...
user avatar
  • 18.5k
6 votes

SDL Tridion how to publish pdf file in Tridion to a specific folder on the web site

Based on your question, it looks like you want to publish binaries to a certain location. You can add configuration in the cd_storage_conf on the deployer to deploy the binaries at any given location. ...
user avatar
5 votes

Publishing image in Tridion

If for any reason you require the same image in the CMS to be published with different names (Example: You are resizing the image, create an additional thumbnail version, etc...) is also possible ...
user avatar
  • 1,196
5 votes

Publishing binares with Default Finish Action (PublishBinariesInPackage) vs AddBinary

The reason that there are two images produced (one per publication) is because they are separate images, even if they are shared components. At the moment your images are the same (as they are both ...
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 ...
user avatar
  • 15.9k
5 votes
Accepted

How to retrieve binary content using DD4T?

DD4T comes with an HTTPModule to stream binary content out of your MVC application. It does not otherwise expose APIs to access binary content stored in Tridion. You could of course just use the ...
user avatar
5 votes
Accepted

SDL Tridion how to publish pdf file in Tridion to a specific folder on the web site

The solution is while creating Component Template in Template Builder, select Default Finish Action, click the Parameters tab and select desired SG in Binaries target structure group.
user avatar
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 ...
user avatar
4 votes

Resolving of binary links in rich text fields by DD4T

Binary links aren't resolved at the application side since their URL is known at publish time. They should be resolved there. I think linking to Binaries in Rich Text should be in the next version of ...
user avatar
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 ...
user avatar
  • 4,054
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,...
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 ...
user avatar
  • 2,148
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, ...
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 “...
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: ...
user avatar
3 votes

BinaryDistributionModule of DD4T not using custom PublicationResolver

Currently I'm using a workaround: by extending the BinaryDistributionModule I can configure the use of a different IPublicationResolver but it's not a very nice solution and sort of defies the purpose ...
user avatar
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. ...
user avatar
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....
user avatar
  • 7,495
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 ...
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 ...
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 ...
user avatar
2 votes
Accepted

BinaryDistributionModule of DD4T not using custom PublicationResolver

Irrespective of DD4T, you will need a workaround to inject dependencies in HttpModules (see this answer for more), so I think your best bet is to do what you are doing - explicitly setting the ...
user avatar
  • 16.4k
2 votes

SDL Tridion how to publish pdf file in Tridion to a specific folder on the web site

The location of published binaries can be specified as a structure group when calling AddBinary. This can get surprisingly complex. There are several articles on the Internet on this subject that can ...
user avatar
  • 18.5k
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 ...
user avatar
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 ...
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 ...
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 ...
user avatar
  • 29.6k

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