Get the value based on the column names for the custom of the Webcenter content metadata field

University Complutense of MADRID, I created a custom text metadata field.  I then activated optlist this area.  I fill the optList values, I use a view.  The view has three columns.  Let us call their ID, Key, Value.  OptList shows keys in its list.  I then create content (Content ID: MyContent) Webcenter content and choose the OptList values for my new field of metadata (MyField).

WebCenter portal, I'm filling a selectOneChoice with MyField values in the content ID: MyContent.  Remember the previous step, the values entered in selectOneChoice lists them selected values from the field MyField optList.  The optList is filled from view.  After the user selects a value in selectOneChoice, in Javascript, I need to alert a message in this format "selected value - matching value from the view of the optList that fills MyField.

In my opinion, only an example will be useful:

This is a view that I created in Configuration Manager applet in Webcenter content Admin cmdlets :

ID | State | Capital

1. North Carolina | Raleigh

2. California | Sacramento

3. Illinois | Chicago

Then I create a custom field (name: MyField).  MyField is an optList values are filled with view created above.  Internal value and the display value are the two State.  Then I have a new content with Content Id Check-In: MyContent.  To MyContent, I select these values in OptList MyField: {North Carolina, Illinois}.

In my portal Webcenter application, I create a Taskflow presenter content.  I have set up as single content item presenter.  I attribute as content ID MyContent.  Then, in templateView, I get all the values of MyField in MyContent and display as selectOneChoice.  I created a javascript function that would get the value that the user selected in selectOneChoice.  In the view created in the Webcenter content Configuration Manager (see above), there is a value corresponding to each displayed value.  So, for the selected value, I need to get the corresponding Capital and display in my alert message.

Starting from Javascript, how can I get the value of the Capital, since I have the status value.

Hello.

The idea to reach your requirement is planned:

  • Create an Assistant manage bean that will appeal as access map: #{stateUtil ['Calofironia']} (it will return Raleigh). This value will get calling GET_SCHEMA_VIEW_VALUES IDC service using RIDC in your managed bean.
  • Pass the result of #{stateUtil ["statename"]} to your JavaScript function to help

I hope this information help you.

Kind regards

Tags: Fusion Middleware

Similar Questions

  • Get the binary content of a file

    Hello

    can someone help me get the binary content to the format string of any file passed as an input.

    IM new to the Blackberry Java development so please help me with this.

    Any help would be appreciated.

    Thank you & best regards

    I found the solution.

    I used two different functions to get the binary and hexadecimal representation respectively

    These two functions are:

    
    // function that returns binary data of file
    
    public String getBits(byte b)
        {
            String result = "";
            for(int i = 0; i < 8; i++)
                result += (b & (1 << i)) == 0 ? "0" : "1";
            return result;
        }
    
    // function that returns hex data of a file and writes it to another file
    
        public static String byteArrayToHexString(byte[] b) {
    
            int len = b.length;
            char[] s = new char[len * 2];
    
            for (int i = 0, j = 0; i < len; i++) {
              int c = ((int) b[i]) & 0xff;
    
              s[j++] = (char) HEXBYTES[c >> 4 & 0xf];
              s[j++] = (char) HEXBYTES[c & 0xf];
            }
    
            DataOutputStream os = null;
            FileConnection fcon = null;
            try {
    fcon = (FileConnection)Connector.open("file:///store/home/user/hexfeatures.txt",Connector.READ_WRITE);
    
                fcon.create();
                os = fcon.openDataOutputStream();
                os.writeChars(new String(s));
    
                os.close();
                fcon.close();
    
            } catch (IOException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            }
    
            return new String(s);
          }
    

    Thank you & best regards

  • DataBind method call returns null in the WebCenter content filtering

    Hello

    I got code that has a problem and I am new to the WebCenter content and filters that can be added. We have a FileNameFilter class that begins with the code

    / public class CWEFileNameFilter implements FilterImplementor {}

    public CWEFileNameFilter() {}

    Super();

    }

    public int doFilter (workspace workspace, DataBinder dataBinder,

    ExecutionContext executionContext) throw {DataException

    Service string = dataBinder.getLocal ("IdcService");

    ....

    }

    }

    However, service is sometimes return null and then filter throws a NPE.

    My questions are:

    (1) can we explain what dataBinder.getLocal ("IdcService"); is done and why it might come back as null

    (2) anyone can provide links to documentation that explains the filters and a little more on the object DataBinder as the JavaDoc is not much help.

    Thank you
    Marc

    Hi Marc,

    Below the code will give the name of the service for which the filter is implemented LocalData

    Service string = dataBinder.getLocal ("IdcService");

    for example below

    http://localhost:16200/cs/idcplg? IdcService = DOC_INFO_BY_NAME & dDocName = 1111111 & IsJava

    This example displays the entire response including localdata data and results that are created in the execution of the service. Here is the code snippet

    LocalData @Properties

    DocUrl =https://localhost:16200/cs/weblayout/groups/secure/documents/test/mhdk/mjg1/1111111.pdf

    IdcService = DOC_INFO_BY_NAME

    If String = dataBinder.getLocal ("IdcService") service; Service = "DOC_INFO_BY_NAME."

    Under blog will give an idea about the filter but the best place to learn or start is "The Definitive Guide to Stellent Content Server Development" by Brian Huff

    http://www.redstonecontentsolutions.com/technical-blog/UCM-service-handlers-and-javafilters

    Also, I recommend reading ' WebCenter Content Services Reference Guide '

    http://docs.Oracle.com/CD/E23943_01/doc.1111/e11011/TOC.htm

    Kind regards

    Amol Germain.

  • 404 error when the lowest selection (column name) for the metadata 11 g dictionary


    Hi all

    I get a 404 error when I select a column name and click the link for dictionary of metadata. I get the 404 because obiee is allowing more 179 characters for the web link. You do not get a 404 error if you click on one of the shorter column names.

    When you select the number of offices with commands and then click the metadata dictionary button you get the error 404 below and the web address is truncated causing the 404

    This is the product link

    http / / self/analyticsRes/SampleAppLite_BI0024/SubjectArea/PRCAT_Sample_Sales_Lite80cb6a2e /.

    PRT_Calculated_Facts80cb6aa9/PRC_N_of_Offices_with_Or80cb6cfb.x

    If you type the ml at the end, you can see the Web page you want. Also if you click on the area in question and then click the dictionary of metadata and access the column from here the link works.


    otn screen shot2.png

    We receive this error in our Dictionary of metadata generated, but I can also reproduce the problem with the sample app, we have placed the dictionary in the folder anlyticsRes.

    I just wanted to check to see if someone else has this problem.

    Thanks in advance!

    S. Clark

    I opened a SR and a bug has already been reported, and the solution is in the latest patch.

    Solution

    The fix for the Bug 17449036

    is included in the bundle 20124371 Patch (patch bundle 11.1.1.7.150120). See this note for more information:

    Note 1488475.1: OBIEE 11 g: required and recommended patches and Patch Sets

    There is also a one-off Patch 17449036 on top of previous patch bundle for different platforms.
    It is advisable to be in the latest patch bundle. In this case, you prefer to apply exceptional measures, you can do but
    It is not for all platforms and all the patches together.

  • Get the max of a field in a query of County

    Hi, I work with the following SQL query:
    WITH ORDERED_QUERY AS
    (
    SELECT COUNT(SHRTRIT_SBGI_CODE) AS "COUNT OF I",
                SHRTRIT_SBGI_CODE AS "SBGI CODE",
                SHRTRIT_SBGI_DESC AS "INSTITUTION"
    FROM SHRTRIT
    WHERE (SHRTRIT_SBGI_CODE LIKE 'I%'
    GROUP BY SHRTRIT_SBGI_CODE,SHRTRIT_SBGI_DESC
    ORDER BY "COUNT OF I" DESC
    )
    SELECT "COUNT OF I","SBGI CODE","INSTITUTION" 
    FROM ORDERED_QUERY
    WHERE ROWNUM <= 20
    What follows is the table mark code to get a test table:
    create table SHRTRIT
    (
    SBGI_CODE     VARCHAR2(6)     NOT NULL
    SBGI_DESC     VARCHAR2(10)
    ACTIVITY_DATE     DATE
    )
    /
    INSERT INTO SHRTRIT
    (SBGI_CODE,SBGI_DESC,ACTIVITY_DATE)
    VALUES
    (I08883,MING-CHUAN COLL,10/6/2007 1:47:01 PM)
    /
    INSERT INTO SHRTRIT
    (SBGI_CODE,SBGI_DESC,ACTIVITY_DATE)
    VALUES
    (I08883,MING-CHUAN COLL,2/10/2009 3:00:14 AM)
    /
    INSERT INTO SHRTRIT
    (SBGI_CODE,SBGI_DESC,ACTIVITY_DATE)
    VALUES
    (I08883,MING-CHUAN COLL,10/6/2007 12:11:56 PM)
    /
    INSERT INTO SHRTRIT
    (SBGI_CODE,SBGI_DESC,ACTIVITY_DATE)
    VALUES
    (I08883,MING-CHUAN COLL,2/10/2009 3:00:15 AM)
    /
    INSERT INTO SHRTRIT
    (SBGI_CODE,SBGI_DESC,ACTIVITY_DATE)
    VALUES
    (I07979,RIYADH TECHNICAL COLLEGE,9/11/2008 3:01:26 AM)
    /
    INSERT INTO SHRTRIT
    (SBGI_CODE,SBGI_DESC,ACTIVITY_DATE)
    VALUES
    (I07979,RIYADH TECHNICAL COLLEGE,7/6/2010 9:00:02 PM)
    /
    {CODE}
    
    What I'm trying to do is get the max ACTIVITY_DATE for the institution when it's listed. For example, the max ACTIVITY_DATE for MING-CHUAN COLL is 2/10/2009 3:00:15 AM. The desired output is one record for MING-CHUAN, with a count of 4, the SBGI code, the Institution Name, and the max activity date of 2/10/2009 3:00:15 AM. However, when I just insert MAX(SHRTRIT_ACTIVITY_DATE) as part of the in-line query, it doesn't work like you'd think. It makes separate records for each date, such that here, there would be one record for 2/10/2009 with a count of 2 and one record for 10/6/2007 with a count of 2 for MING-CHUAN. 
    
    It might actually work with this small amount of data, I don't know because I can't make a test table with these few records to find out. It certainly isn't working with the actual table. I know it has something to do with the aggregation, but I'm not quite sure how to get around this problem. I've tried some different things, but none of them have gotten the desired results.
    
    Any help that you might be able to provide would be greatly appreciated!
    
    Thanks so much,
    Michelle Craig
    Data Coordinator
    Admissions operations and transfer services
    Kent State University                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

    Not exactly what you're trying to do, but:

    SQL> SELECT  *
      2    FROM  SHRTRIT
      3  /
    
    SBGI_C SBGI_DESC                      ACTIVITY_DATE
    ------ ------------------------------ ----------------------
    I08883 MING-CHUAN COLL                10/06/2007 01:47:01 pm
    I08883 MING-CHUAN COLL                02/10/2009 03:00:14 am
    I08883 MING-CHUAN COLL                10/06/2007 12:11:56 pm
    I08883 MING-CHUAN COLL                02/10/2009 03:00:15 am
    I07979 RIYADH TECHNICAL COLLEGE       09/11/2008 03:01:26 am
    I07979 RIYADH TECHNICAL COLLEGE       07/06/2010 09:00:02 pm
    
    6 rows selected.
    
    SQL> WITH ORDERED_QUERY AS (
      2                         SELECT  COUNT(SBGI_CODE) AS "COUNT OF I",
      3                                 SBGI_CODE AS "SBGI CODE",
      4                                 SBGI_DESC AS "INSTITUTION",
      5                                 MAX(ACTIVITY_DATE) LAST_ACTIVITY_DATE
      6                           FROM  SHRTRIT
      7                           WHERE SBGI_CODE LIKE 'I%'
      8                           GROUP BY SBGI_CODE,SBGI_DESC
      9                           ORDER BY "COUNT OF I" DESC
     10                        )
     11  SELECT  "COUNT OF I",
     12          "SBGI CODE",
     13          "INSTITUTION",
     14          LAST_ACTIVITY_DATE
     15    FROM  ORDERED_QUERY
     16    WHERE ROWNUM <= 20
     17  /
    
    COUNT OF I SBGI C INSTITUTION                    LAST_ACTIVITY_DATE
    ---------- ------ ------------------------------ ----------------------
             4 I08883 MING-CHUAN COLL                02/10/2009 03:00:15 am
             2 I07979 RIYADH TECHNICAL COLLEGE       07/06/2010 09:00:02 pm
    
    SQL> 
    

    SY.

  • How to get the CAPTION of a field?

    Hello

    I try to get LEGEND/LABEL/DESCRIPTION of the TextField1 (what text user sees on the screen, saying "Account") with the below code but its does not work, pls let me know the syntax to get

    var a;

    var b

    If (xfa.resolveNode ("(" VISITOR. PAGE 1. Subform1.TextField1") .rawValue == null) {}
    a = xfa.resolveNode ("VISITOR. PAGE 1. Subform1.TextField1') .name;

    b = xfa.resolveNode ("VISITOR. PAGE 1. Subform1.TextField1') user.user;

    {
    App.Alert (b + "is a required field")
    }

    }

    Thank you

    Hello

    You can assign or check the value of the caption of a field using the: SOM.caption.value.text.value

    If (TextField1.caption.value.text.value is 'Field1 text')

    {

    app.alert ("Hello World" "");
    }

    This means that you can assign the caption to a variable.

    In some cases, you will need to use the method resolveNode(), as required by the relative SOM and your naming objects. It is not necessary in many situations.

    In addition, the attribute "name" of a field are available using the: SOM.name (I have not tried assigning a new value to the "name" attribute)

    For what is an attribute user.user - I don't think they exist in xfa.

    Good luck!

    Stephen

  • get the size of a field

    How can HII, I get the height and width of a field?

    as a sidenote: do not set the police in the graphics object. or, if you do, save the old value and return it after calling super.

    You can get the preferredHeight of optimization of resources in iterating through the fields and asking their preferredHeight.

    or you can wait until the layout is complete and just use getHeight

  • How to get the string contents of itemByRange?

    Hi all

    Here's what I'm trying to achieve:

    I selected a Word and you want to get the content of the 1st word in the string (the name of a person).

    1.png

    In fact, the selected text is the source * a hyperlink and my goal is to get the name of the person designated by him.

    [0] is the same as hyperlink.source.sourceText

    Since I can not get the paragraph or line where the selected word is (or simply do not know how to do this), I'm trying to get the full story: from the 1st character of the selected word and moving backward character by comparing its content. When it hits '\r', I know it's the beginning of the line. This way I can get the part of the line, I'm interested with the itemByRange() method, which returns "Array of Character."

    Main();
    
    function Main() {
        var doc = app.activeDocument;
        var sel = app.selection[0];
    
        GetName(sel);
    }
    
    function GetName(txt) {
        var lastCharacter = txt.characters[0];
        var character = txt.characters[0];
        var story = txt.parentStory;
        var index = lastCharacter.index;
    
        while (character.contents != "\r") {
            character = story.characters[index];
            index--;
        }
    
        // Array of Character itemByRange (from: varies, to: varies)
        // Returns the Characters within the specified range. 
        var arr = story.characters.itemByRange(character, lastCharacter);
    
        var str1 = arr.contents[0];
        var str2 = str1.match(/^\S+/);
    
        return str2;
    }
    

    My problem is that I can't get the content- str1 - by script. However, I can see in the data browser that it is there. If I click on str1, it appears:

    2.png

    If I type str1 in the Console, I also get:

    3.png

    I also tried to use:

    arr.getElements)

    arr.getElements () [0]

    .silence arr.getElements () [0]

    etc.

    but that didn't work either.

    I must be missing something very obvious, but I'm stuck. Can someone help me, please?

    Kind regards

    Kasyan

    Hello

    I did something wrong or

    App.Selection [0]. Lines [0]. Words [0] .silence

    is a 1 Word, you are looking for?

    I hope that...

  • Try to get the data in a field of classical entry in a clip

    I'm working on a project basis CMS (for self learning purposes) and I'm stuck on something trying to get data from a text inside a frame of the movie entry.  The code works with the homeUpdate_btn on the same level as the home_input_txt.

    When I run the file (swf), the homeUpdate_btn does not show because it isn't at the level of the root parent level. (it's inside the clip with the home_input_txt).

    So, if I put the homeUpdate_btn in the parent level (I hope I rethink my levels).  The button is not able to get the data in the home_input_txt field which is at the root.

    I would like to try this again... you can see the classic home_input_txt of parent level (outside the movie clip and make changes), but you can see the homeUpdate_btn of this level.  So to see the homeUpdate_btn I set at the parent level.  Now how I update and obtain data on the level of the root of the home_input_txt... .inside the clip?

    __________________________________________________________________________________________ _____________________________

    I think it's the line that update data comes... that is text entry: homeEdit_variables.home_body = home_input_txt.htmlText;

    ________________________________________________________________________

    Issue: homeUpdate_btn does not show inside the clip when I run.

    ______________________________________________________________________

    Any Action Script for "Udate Home Page.  (again within a clip)

    Stop();

    restrict the characters that the user can type into the text entry field

    home_input_txt. Restrict = "A-Za-z 0-9,.? $& = @_ « ;

    put current home page data in the field of text for editing

    home_input_txt.htmlText = homePageText;

    Assign a variable name for our URLVariables object

    var homeEdit_variables:URLVariables = new URLVariables();

    Build the varSend variable

    var homeEdit_varSend:URLRequest = new URLRequest ("cms_control_file.php");

    homeEdit_varSend.method = URLRequestMethod.POST;

    homeEdit_varSend.data = homeEdit_variables;

    Build the varLoader variable

    var homeEdit_varLoader:URLLoader = new URLLoader;

    homeEdit_varLoader.dataFormat = pouvez;

    homeEdit_varLoader.addEventListener (Event.COMPLETE, completeHandler_home_edit);

    Completion of script handler PHP and return

    function completeHandler_home_edit(event:Event):void {}

    gotoAndStop ("home");

    }

    Add an event listener for the button send and what function to perform

    homeUpdate_btn.addEventListener (MouseEvent.CLICK, updateHomePage);

    Validation of form fields and send the variables when you click on the button

    function updateHomePage(event:MouseEvent):void {}

    Loan variables for sending

    homeEdit_variables.sendRequest = "update_home_page";

    homeEdit_variables.home_body = home_input_txt.htmlText;

    Send the data to the php file

    homeEdit_varLoader.load (homeEdit_varSend);

    }

    I get this error message:

    Symbol "page content", layer 'actions', frame 25, line 44 1119: access to property may be undefined home_input_txt through a reference with static type flash.display:DisplayObjectContainer.

    _______________________________________________________________

    mc_edit is the name for the clip

    So I thought I would say that there... the... in home_input_txt.htmlText the container movie clip.

    I changed the line below in the action script where is the button.

    ______________________________________________________________________________

    homeEdit_variables.home_body = mc_edit.home_input_txt.htmlText

    __________________________________________________________________________

    It worked :-)

    Maybe it's not the right way, but it will solve the problem send me severe headaches... Laughing out loud

    Thank you for all your quick responses.  You kept me motivated

  • How to play a sound through computer speakers when the HDMI cable is used as I can't get the audio content

    I have a desktop monitor and an Alienware Alpha I bought recently, which of course is not a speaker. I use a HDMI cable to get the video of the Alpha on the screen, but when I plug the HDMI on my monitor I can not any audio to the fate of the computer speakers. In the Alpha settings, when I try to switch the audio in HDMI mode, it is said that the HDMI is not connected or incorrectly connected. Any help is appreciated. Thank you.

    I'm not quite familiar with the Alpha console, so I can only suggest to visit their support page where you can chat with an expert.

    I hope that you can solve your problem.

  • How can I get the position of a field in a Manager?

    Hi all

    I just want to know that how I can the position of a field in a Manager (Vertical or flow)?

    If I get the x, position y, I can do a pop-up screen depends on this position...

    Can someone help me solve this problem?

    Thank you very much.

    Welcome to the forums.

    I use getFocusRect to fetch the XYRect of the target field. You can get the details from there.

  • Socket connection WebCenter portal to the WebCenter content error

    I'm trying to connect WebCenter Portal 11.1.1.6 to WebCenter content and I get the following error in my log of the Complutense University of MADRID:

    [< 12 may 2012 2:32:12 PM CDT > < error > < Socket > < BEA-000403 > < IOException occurred in the socket: Socket[addr=/192.168.106.19,port=52721,localport=16200]
    java.net.SocketException: recv failed: descriptor not a socket.
    java.net.SocketException: recv failed: descriptor not a socket
    at jrockit.net.SocketNativeIO.readBytesPinned (Native Method)
    at jrockit.net.SocketNativeIO.socketRead(SocketNativeIO.java:32)
    at java.net.SocketInputStream.socketRead0 (SocketInputStream.java)
    at java.net.SocketInputStream.read(SocketInputStream.java:129)
    at weblogic.socket.SocketMuxer.readFromSocket(SocketMuxer.java:988)
    Truncated. check the log file full stacktrace
    >

    I followed the instructions to activate the Folders_g and all these other quirks, but it still does not. Here is my file config.cfg:

    <? jcharset cfg = "Cp1252"? >
    Properties of the #Server system
    IDC_Name = webctr_4444
    IdcProductName = idccs
    InstanceMenuLabel = webctr_4444
    InstanceDescription = Instance webctr_4444
    SocketHostAddressSecurityFilter=192.168.106.19|127.0.0.1|0.0.0.0.0.0.0.1

    Variable #Database
    SystemDatabase:DataSource = CSD
    SystemDatabase:UseDataSource = true

    Variable #Internet
    HttpServerAddress = webctr.domain .net: 16200
    Mail = mail server
    [email protected]
    HttpRelativeWebRoot = / cs /.
    UseSSL = No

    #General option Variables
    IsAutoNumber = Yes
    AutoNumberPrefix = webctr_4444
    UseAccounts = 1

    Variable #Additional
    AllowUpdateForGenwww = 1
    registerStartMenuActions = 1
    FileEncoding = UTF8
    Web server = javaAppServer
    IDC_ID = IpmNode
    FsAutoConfigure = true
    IntradocServerPort = 4444


    And my settings in WebCenter for the connection of content repository:

    Content administrator: weblogic
    Root folder: /content
    Application name: PortalContent

    RIDC Type of Socket: Socket
    Host: webctr.domain.net
    Server port: 16200
    Timeout: 300
    Authentication method: identity Propagation
    The root of context Server Web site: /cs/
    Administrator username: weblogic
    Administrator password: < disabled >


    Any ideas that I might be missing? I tried to reboot several times.

    Published by: dvmorris on May 12, 2012 12:41

    You try to connect using the web port.
    A socket connection uses RIDC, which means you need to use the port of intradoc which 4444 in your case.
    So to change the port number in your connection to 4444 and it should work.

  • Error (UCM_Managed_Attachments) after the WebCenter content to 11.1.1.9 upgrade

    We have improved our content WebCneter Imaging environment UAT yesterday from 11.1.1.7 to the 11.1.1.9 Version and then applied COE BP3 21631736 & 22231987 of IPM.

    But after upgrade get us below error. Looks like a problem with custom code IPM.

    No idea where to look? Appreciate your help.

    "Unable to load the command UCM_Managed_Attachments with configured command class abccorp. UCMMaAfGrantAccessCommand ".

    Thanks Amey.

    We have found a solution. AXF_COMMANDS pointed to this class and change us back to the original "oracle.imaging.axf.commands.ucm.AfGrantAccessCommand".

  • Special characters in the Caption/Abstract metadata field

    Hi people,

    in Germany, I was very pleased to find that most of the fields of metadata in Lightroom 3 supports special characters like accents and the so-called sharp S today. However, this applies only in the parts to the Caption/Abstract field. Then these special characters display correctly in Lightroom itself and are even written in the correct way DNG file (display correctly in Bridge and the Finder on Mac), they get lost when exported to JPEG (or other formats such as psd and tiff). Interestingly, most other areas (such as title/title and copyright, the same keywords) have not the same question. That's why I started wondering if there is a hidden setting somewhere that allows me to solve this problem, or if it is an acceptable workaround.

    I am aware of the fact that most of you guys, who work professionally with Lightroom, don't not use special characters in metadata fields at all. However, since I will not send my photos to any photo agency but to publish on my (or my client) web galleries I really want theses characters display correctly. After all, there is a huge difference between the German words 'Mass' and 'mass '. So please, don't tell me I shouldn't use umlauts in my metadata - I already know, but cannot help him.

    So far, I exported the photos in JPEG format and subsequently fixed the captions (in iPhoto, for example if the image was to be published on MobileMe Gallery). As I'm getting busier all the time, this procedure, however, is a bit outdated. Now, my question is: does anyone of you have an idea how can I challenge this special-character-loss-upon-export-problem or have a solution for this?

    Thanks in advance and have a nice day.

    f.

    Here's what I think is happening: called "Caption" in the metadata Panel in Lightroom is stored by the save metadata command in a file in two different metadata fields in the picture:

    IPTC:caption - summary

    XMP:description

    Two of them are supported encoding of Unicode characters.  When you export to JPEG, LR also stores the legend in a third field of metadata:

    EXIF:ImageDescription

    This field is not Unicode characters support - allows only 7-bit ASCII characters.  LR cards silently non-ASCII to ASCII characters when it stores the legend here.

    Many tools such as LR, bridge and Finder doesn't always clear as three metadata fields they you are showing.  Tools should always show XMP:Description rather than EXIF:ImageDescription, but they aren't always.

    I recommend getting the free Exiftool or ExiftoolGUI, which will show you with authority the content of all the different metadata fields.

  • InfoOnly on the profile page metadata field

    I have a profile page to check-in and that in one of the rules I have some fields of metadata defined as "InfoOnly" - Let's say that Content ID.

    Now, this profile will be used for both search page - how can I do this in the field metadata field "change" so that users can use this field in their search query.

    Basically same metadata field should display "InfoOnly" on the check in page, but "edit" on the search page.

    Rules do not activate on all services. Only on the document research and services. If you need rules to activate on all services, see the component LoadRuleSideEffect.

    If you do not use a condition of activation, while the rule will be activated for any research or related service of the document (depending on the profile or if it's a global rule).

    To develop on Caleb's response, here are the exact steps to make this work with a single rule:

    1. Create a global rule
    2. Add the field to the rule as field type 'change '.
    3. Check the box for activation of rule condition (for you can use a side effect). You should not in fact set a condition of activation.
    4. On the effect tab, add this code:

    <$if dpaction="" and="" dpaction="" like="" "checkinnew|checkinsel|update"$="">

    <$xComments:isInfoOnly=1$>

    <$endif$>

    <$endif$>

    Jonathan

    https://jonathanhult.com

Maybe you are looking for