Note that there are some explanatory texts on larger screens.

plurals
  1. POTridion core service: How to assign specific version TCM URI to a multimedia link field
    primarykey
    data
    text
    <p>While assigning values to multimedia link field of a component I want to assign TCM URI of a specific version of an Image. Tridion internally maintain version with suffix "-v" and corresponding version number for ex:- for 2nd version of a multimedia component my TCm URI will be tcm:pubNum-multiMediaCompoUniqueID-v2 and even I can open multimedia component with this "-v2" suffix URI through search functionality. Now let say I have created 5 version of a multimedia Image and around 5 version of a component and for each version of component I'm trying to assign "-v" suffix URI of image to component's multimedia link field then I'm getting the following error:- </p> <p>"An expected version is found in URI: tcm:pubNum-compoUniqueID."</p> <p>and xml of my component is like below:-</p> <pre><code>&lt;imageField xmlns="uuid:e65ab5b8-babe-4146-a8e4-9b6fda694ea1" xlink:type="simple" xlink:href="tcm:pubNum-multiMediaCompoUniqueID-v1" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:title="HTML.zip"&gt;&lt;/imageField&gt; </code></pre> <p>I'm getting the same error if I try to assign this manually too, I have also tried to escape double quotes and done some trouble shooting too.</p> <p>So my simple quation is that if Tridion is maintaining all the version of a multimedia component then why it don't allow us to assign previous / specific version TCm URI of that multimedia component. As I'm doing an automation process for a client this might be a peculiar requirement but my client want to see for each version of component which exaclty version of Image was assigned (there can be difference in file extension of multimedia component accross version) and not the recent one. Is this possible?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload