Associating Image variants with image lookup fields

In the console reference guide you can find the following explanation on the use of Image variants:
"A variant defines the structure of the image but does not specify if the variant is actually required for a particular image.
Instead, each image lookup field in the repository has a Variants property that allows you to associate one or more variants with the image lookup field, and in so doing, identify which variants should be generated when an image is associated with that particular field.
For each variant, all the images associated with that variant will be generated according to the specifications of the variant and the crop/rotate settings stored for that image. MDM tracks the changes to the variant definitions, the variant associations, each image, and the crop/rotate settings for each image, and thus know when the variants need to be regenerated."
My question is the following:
Assuming that the definitions of the Image variants are made via the console and thus present in the Image variants table,...
Is it possible to change the Variant property of the image lookup field(s) in the main table through the Java API?
So that you could write a function that automatically associates specified Image variants with all the image lookup fields in the main table of a certain repository.
I hope somebody can help,
Joeri

Did you ever figure out your problem?
I'm trying to retrieve an image variant thru the API and always get the same error:
<i>Error retrieving image: hr=0x80004005, ImageID=58, VariantID=1</i>

Similar Messages

  • Fetching several image variants per image

    I am trying to extract image variants through MDM Java API. Currently, we have several variants per image.
    I could not find the information on how to extract all variants for each image,
    We have RetrieveBlobCommand class that has set/getImageVariant, I haven't tested. Suppose it has some functionality, it can update/get a single variant.
    In my case, I have 3 variants per image and would like to fetch them. We have getImageVariants on SchemaRepository class but we need to know how to associate each variant with original image.
    It is greatly appreciate if you can help on this.
    Thanks
    Erol Akarsu

    This kind of question will probably get proper attention in the Application Express forum. Consider asking over there ...

  • Passing Multiple Selected List Items to a "New Item" Form in Another List with Multiselect Lookup Field

    Hi!
    Version Info:  SharePoint 2013 Server Standard (*BTW...I do not have access to Visual Studio*)
    I have two lists, let's call them
    -Assets
    -Asset Checkouts
    "Assets" is the parent list, and "Asset Checkouts" has a lookup column (multiselect) which is tied to the serial # column in the "Assets" list.
    Basically, what I need to accomplish is this:  I would like to be able to select multiple list items in the "Assets" list, and create a new item in "Asset Checkouts", and pre-fill the multiselect lookup column in the NewItem form
    for "Asset Checkouts" with the values from the selected items in "Assets".
    Any ideas or suggestions on how to do this would be most appreciated!
    Thanks!

    Hi,     
    According your description, you might want to add new item in "Asset Checkouts" list when selecting items in "Assets" list.
    If so, we can achieve it with SharePoint Client Object Model.
    We can add a button in the "Assets" list form page, when selecting items, we can take down the values of columns of the selected items, then click this button which will create
    new item in "Asset Checkouts" list with the values needed.
    Here are some links will provide more information about how to achieve it:
    Use
    SP.ListOperation.Selection.getSelectedItems() Method to get the list items being selected
    http://msdn.microsoft.com/en-us/library/ff409526(v=office.14).aspx
    How to: Create, Update, and Delete List Items Using JavaScript
    http://msdn.microsoft.com/en-us/library/office/hh185011(v=office.14).aspx
    Add ListItem with Lookup Field using Client Object Model (ECMA)
    http://notuserfriendly.wordpress.com/2013/03/14/add-listitem-with-lookup-field-using-client-object-model-ecma/
    Or if you just want to refer to the other columns in "Assets" list when add new item in "Asset Checkouts" list, we can insert the "Assets" list web part into the NewForm page
    of the "Asset Checkouts" list, then when we add new item in the "Asset Checkouts" list, we will be able to look through the "Assets" list before we select values for the Lookup column.
    To add web part into the NewForm.aspx, we need to find the button "Default New Form" from ribbon under "List" tab, then we can add web part in the NewForm.aspx.
    In the ribbon, click the button “Default New Form”:
    Then we can add web part into NewForm.aspx:
    Best regards
    Patrick Liang
    TechNet Community Support

  • Problem with Qualified lookup field

    Hi all
    I have one qualified lookup field in main table of the repository. when i created the iview for ItemDetails then i selected all the fields of the main table which includes the qualified look up field . but when i see the preview then i am not able to see the field of qualified lookup field in the preview. it is not displaying but i selected the same field.
    please help me out on Can we enter the data in the qualified table field which is part of main table in the repository while creating the record??
    but i am able to edit the qualified lookup field which is part of main table. but the only problem while creating the record it is not displaying me the qualified lookup field. please help on this........
    Thanks
    Regards
    Sunil

    Hi Sunil,
    It will not allow you to add the qualified lookup value in the main table record directly.
    As the qualified lookup field in the mai table links the main table record with the qualified table fileds.
    You will only be able to view the non-qualifier field values in the main table but the qualifier value  for that particular record will be visible in the qualifier table only.
    So as to populate the lookup qualifier you need to create the main rec then you can establish the link and populate the qualified table fields.
    Hope it helps
    Kindly reward points if found useful
    Thanks
    Simona

  • PHP Image Gallery with Images placed every other paragraph

    Currently I have multiple images that where uploaded to the details page of Post 1. Every other paragraph I have an image displayed. With say 5 images.
    What I would like is that the user can click on the image and open up a gallery (on the same page, like Lightbox Gallery) and view through the other 4 images related to Post 1, as these images may not be full resolution on the details page.
    If I understand correctly, Lightbox makes a small thumbnail preview of the images, which I don't want, and lists them like a Gallery (Next to each other). Can anyone direct me on the best way to accomplish this?
    Thanks,
    Riley

    Sorry for the confusion, I didn't mean lightbox actually created the thumbnails, but it produces them similar to the link you provided which I don't want. My image uploader does create thumbnail images, but only one per new post.
    My format is similar to this:
    POST 1
    Text Paragraph1 (Image1 )
    Text Paragraph1 (               )
    Text Paragraph1 (               )
    Text Paragraph1 (               )
    (Image2) Text Paragraph2
    (               ) Text Paragraph2
    (               ) Text Paragraph2
    (               ) Text Paragraph2
    Now what I would like is that they can click on the picture and it opens up the image at say 600px X 600px resolution, with the next/prev buttons so they can browse through only the picutres on this page.
    I have been trying to find an example but seems that some take you to a different page of just the image you clicked on, or a new page with the gallery.
    I like how the lightbox gallery opens up on the same page, that way you close out of it and can continue reading. But I want to be able to have the images placed in different positions on the page, and not in a row like with a Gallery.
    I hope I help clarified what I am trying to do.

  • Link Image Click with Image Preview

    Use of Bridge with DW lacking. Too many clicks to see what an
    image in site folder is. Multiply x 100s of images = tons of extra
    clicks.
    Link Image Click (in Site Folder > Local Files) with Auto
    Image Preview in DW CS 4 -Please
    Please hotlink selection: Bridge W/DW and DW with
    Bridge

    I have done everything described but nothing has helped. It has nothing to do with the Type Tool, but with the new rendering. It occurs every time I want to insert a picture into the text flow. There is no workaround and the whole feature is completely broken.
    UPDATE: I have found out that it only occurs when I use the method via alt-clicking the anchor icon and dragging the cursor into the text. (Quick anchoring introduced in CS6) When I copy and paste the image frame into the text, it does not crash.

  • Center Image in dynamic Image Field

    Hello,
    i am from Germany and my english is not good, so excuse for it.
    I Use Live Cycle Designer 8.0.
    I Designed a Form with a dynamic Image Field, so the user is able to change the image.
    The Image Field is centert horizontally. The Problem is, if the new Image is smaller than the Image Field, the image is always "left" align.
    It is possible to center the image in a dynamic Image Field?
    thx for help

    There is a fix for the centered image problem with Image Fields in Live Cycle:
    I found that if you make a text field first... set you paragraph alignment.. centered text, centered top, bottom, or middle.. then convert the field to an image field it will retain the text formatting for the image.

  • Lookup field to connect the CRM tables With 2LIS_11_VAITM

    Dear Gurus,
    Greetings for the day...!!!
    In CRM system I have two tables
    1.CRMD_ORDERADM_H
    *Object Id* is the field
    and the next table is
    2.SCAPPTSEG
    Fields in tht table are TST_FROM
                                    TST_TO
    I have to link this two tables with datasource 2LIS_11_VAITM
    I have tried to connect with a lookup field from the tables to the datasource,but I didnt find a common field.
    Even I tried to connect the datasource thru some other table but I couldnt
    Pls help me out in this...!!!
    Points will be awarded
    Regards
    Lucky

    This is standard behavior. Custom fields do not trigger delta.
    You can try several options -
    - If it is a standard SAP field coming from one of those VB* tables, try to name your custom field the same (SAP gives a warning, but you can ignore it). SAP sends the complete structures (eg VBAK, VBAP) for delta recording, and if this field is part of these structures, it may trigger the delta.
    If that is not applicable, consider extending the LIS comm structure underlying this extractor and use an LIS exit to populate this field. This field will then be available in LBWE to transfer to extract structure and will trigger the delta. The appropriate exit is mentioned in Roberto Negro's weblog on extractors here on SDN (am not on system so cant give you the LIS exit name).
    If that is also out of question, try what is described <a href="http://www.ko-india.com/content/weblogs/weblog_custom_fields_1.pdf">here</a>.

  • Variant with today's date

    Hi,
       Can anyone let me know how to create a variant with a date field and it should have the value as the run date?
    Thanks!
    Uma.

    In SE38 choose the variant and for the fields you want to set the date fields as dynamic value you must choose the D - Dynamic Date Calculation options and make it as Current date.
    This will solve your problem. When the variant is used for background/scheduled jobs it will use the execution date.
    Regards
    Kathirvel

  • Problems with image field and java

    Hi, i´m a beginner user of Adobe LiveCycle Designer, i create a form and i fill the text fields with a Java code, but when i try to dinamically assign a image on the image field of my form it doesn´t work, someone have any idea of whats happening or how can i manipulate the image field from Java code? thanks

    Session data will only last as long as the servlet container allows. In most cases (eg Tomcat) this defaults to about 30 minutes, but can be changed. Check that the session timeout configuration in your servlet container hasn't been set to "never timeout".
    Even if it had, I would have expected OutOfMemory errors rather than degrading performance. Although if the max heap size of the JVM has been set to a level higher than the RAM on the machine you could be getting excess page file usage.
    This probably wouldn't put CPU utilization at 99% though.. I suspect this is a code related problem.
    My best guess is one of two reasons:
    1. Somewhere in your code, or someone elses, there is a loop that never ends.
    2. There is a bug in the servlet container.
    I don't know which servlet container you are using, but I have used Tomcat extensively and never seen this behaviour.
    In terms of solving this problem, that's a tough one. I would try running the entire application within a profiling tool to see which threads are clogging up the processor. The Eclipse java IDE has a plugin called Eclipse Profiler which will allow you to track the utilization of code right down to the method level.
    If it were me, I'd be running the entire web application with a profiler like Eclipse Profiler and waiting for it to start clogging, then see who the guilty code is.

  • Problems with Image Variants

    I got two problems with Image Variants:
    1. catalogCache.GetImagePath("Images", id) doesn’t work for some id. The error message is “GetImageVariant error”.
    2. catalogCache.Preload("Images", “Original”)
        catalogCache.Preload("Images", “Thumbnails”)
        catalogCache.Preload("Images", null)
       catalogCache.Preload("Images", "")
    get failed, the status code is -2147483647
    Anyone know how to setup  image variants?
    Thanks.
    Forrest

    status code: -2147483647 is RC_BADPARAM.

  • Help required with Image Field

    Hi,
    I have some 300 forms with image field set in them. I now need to import images into these image fields. The images are present on my local machine. If required i can upload these into my repository.
    The issue is i am not able to create a batch process which will do this. Can some one please help me out with this issue.
    Thanks in advance

    This is possible if all your 300 forms has the similar fields hierarchy.
    One of the several possible ways:
    1. keep your forms & images in folders within livecycle server.
    2. create a process to read all these form and images and set the image content into Image field using XPATH expression (SetValue activity)
    Iterate through the number of forms available. You are done.
    Make sense?
    Nith

  • Image Variants

    I have a Image Variant record created in Image Variants Table in Console.
    The name of the Variant is "Image Variant for Publication 1".
    I attached this variant to a <b>Lookup Image field</b> in the main table.
    The name of the field in the main table is Product Image.
    I generated the image variants in the Image Manager. I have assigned the images to the products in the main table.
    Now I created another Image Variant called "Variant 2".
    <u>I am trying to assign this variant also to the same lookup Image field in the main table.</u>
    The System is letting me pick either "Image Variant for Publication 1" or "Variant 2".
    <b>I want to assign both. Is it a bug or am I missing something?</b>
    To test this:
    I created Variant 3 and Variant 4.
    I am able to assign Variant 1, 2 and 3 to the same field now. The difference is these three are new variants, for which no variants have been created in Image Manager.
    Any assistance in this regard is appreciated.

    Assignment of Variants in the console.
    If the variants are new, I am able to assign, any number of them in the console.
    But if the variant is NOT new, and some image variants are created in the image manager, and the images have been assigned to products in the Data Manager, then it is not letting me
    in the Console, to pick both the old and some new.
    The system behaves like all multiple new ones OR the old one.
    For fields in the console, for which I am attaching the multiple new ones, it works fine.
    Version 5.5 SP4 [5.5.35.16]
    null

  • Automatic generation of Image Variants

    Hello.
    I have a repository where I use different Image Variants. My problem is that when I upload an Image I have to manually go into the Image manager to generate the variants. I would like to have an automatic way of doing this. CLIX can not be used.
    Does anyone have an idea how to do this?
    Best regards
    John-Kjell

    Hi,
    You can automatically generate the image variants.For this you import the images in data manager.In Data manager select the Images table right click in record pane and add a data group.If data group is already present then add the image to that data group or else add a data group (as a child) and then add tha image file to it.Select the option Store in Repository.Then click OK to import the image .After the image is imported in data manager the image variants are automatically filled.
    In your console you have a field say images of data type Lookup image.
    Then in your  source create a field named images where you add reference to the images say href1,href2 etc.
    In Import manager select products table then map the corresponding fields.For image field you need to do the value mapping.Then Match the records and import it.
    Regards
    Nisha

  • Problem with image in Hierarchy Viewer component

    Hi All,
    I am using Hierarchy Viewer component in my application developed in Jdeveloper 11.1.1.6.0
    Actually, my requirement is to pick the name of the "content id" stored as a value in a field in the table. Hence written code as follows, which is not showing the image.
    <af:image id="img3"
    inlineStyle="border-color:Black; border-width:1px; width:85px;height:120px;"
    source="#{documentsService.latestReleasedVersionURL['UUCM#dDocName:#{node.EmpImage}']}"
    rendered="true"/>
    Please help me out ....
    Thanks & Regards
    Sneha
    Edited by: 1002482 on Jun 6, 2013 12:46 AM
    Edited by: 1002482 on Jun 6, 2013 12:48 AM

    Timo,
    It is supposed to pick up the image from the content server and display on the page.
    I have tried the following, it worked.
    1) Checked in the image in the content server with content id : SAMPLE_IMG
    2) modified the code as
    <af:image id="img3"
    inlineStyle="border-color:Black; border-width:1px; width:85px;height:120px;"
    source="#{documentsService.latestReleasedVersionURL['UUCM#dDocName:SAMPLE_IMG']}"
    rendered="true"/>
    Now that, I want to store the value "SAMPLE_IMG" in a field in a table, and want my application to pick up that value.
    Sneha

Maybe you are looking for