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

In UCM, I created a custom metadata field of type Text.  I then enabled optlist in that field.  I populate values to the optList, I am using a View.  The View has three columns.  Let us call them ID, Key, Value.  OptList displays the Keys in its list.  I then create a Content (Content ID: MyContent) in Webcenter Content and choose values from OptList for my new metadata field (MyField).
From Webcenter Portal, I am populating a selectOneChoice with values of MyField in the Content ID: MyContent.  Remember from previous step, the values populated in selectOneChoice is the list of values selected from optList field MyField.  This optList is in-turn populated from View.  After the user selects a value in selectOneChoice, in Javascript, I need to alert a message in this format "value chosen - corresponding value from View of optList that populates MyField"
I think an example will be useful:
Here is a View that I created in Configuration Manager applet in Admin Applets of Webcenter Content:
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 the values are populated from View created above.  The internal value and display value are both State.  Then I Check-In a new content with Content Id: MyContent.  For MyContent, I select these values from OptList for MyField: {North Carolina, Illinois}.
In my Webcenter Portal application, I create a Content Presenter Taskflow.  I configure it as a single item content presenter.  I assign MyContent as Content Id.  Then, in templateView, I get all values of MyField in MyContent and display them as selectOneChoice.  I created a javascript function that would get the value that user selected in selectOneChoice.  In the View created in Webcenter Content's Configuration Manager (above), there is a value corresponding to each value displayed.  So, for the selected value, I need to get the corresponding Capital and display it in my alert message.
From Javascript, how can I get the value of Capital, given I have the value of State.

Hi.
The idea to achieve your requirement is next:
Create a helper manage bean that will be call as Map access: #{stateUtil['Calofironia']} (it will return Raleigh). This value will be get calling GET_SCHEMA_VIEW_VALUES IDC service using RIDC in your manage bean.
Pass the result of #{stateUtil['statename']} to your JavaScript function using <af:clientAttribute.../>
I hope this information help you.
Regards,

Similar Messages

  • Editing Autofill List for Custom Metadata Fields

    I have 13,000+ photographs cataloged in Aperture 2.1 In an effort to better manage these photographs, I have added custom metadata for my own use. The fields let me know whether I have printed for my portfolio, watermarked, added to my web site, status of release, etc. All of this data is manually entered and at times my fingers don't always hit the correct keys on the keyboard so I end up with autofill data that is incorrect. I have been unable to find a way to edit the autofill data for custom metadata fields. Selecting 'Edit Autofill List' does not give me access to my custom field autofill information. Am I missing something? Is this an oversight on my part or on the part of the application?

    Unfortunately I'm not using presets to do this. I don't think presets will help me with this, but it could be just that I don't understand presets that well. I use presets for entering Metadata from a shoot as I 'import' the raw files into Aperture. Maybe I'm trying to do something that Aperture was never intended to do, yet I need to have as few locations where I track
    As an example, as I print a photograph for my portfolio I mark one of the custom fields labelled 'Printed' as 'Yes'. Later I can locate those 4 or 5 star photographs that haven't been printed and decide if I want to print them. I use the same type of arrangement for my website with an 'Added to web' indicator as 'Yes'. I may also mark that 'Printed' field as 'N/A'. The reason follows. For watermarking photographs before adding them to my site via iWeb, I export and the photographs and then reimport the watermarked photographs into a separate project but since these photographs are at a lower resolution, have a different color profile and are jpegs, I never print them for my portfolio so I mark them 'N/A' in the 'Printed' field. Well my fingers do slip on the keys and before I realize it the nifty autofill now requires that I type not just the 'N' to get an 'N/A', but I must type it all, because one time I typed 'N and a space' or some such and that is what autofills. It even happens with 'Yes'. I suppose the real answer is to be more careful as I type, but that is not my reality.
    So, all I'm looking for is a way to have access to the autofill list that is created for my custom metadata fields so that I can delete the erroneous autofill entry. I've thought about deleting the field entirely and recreating it, but that would remove all those indicators or flags that I have already entered for my photographs.
    Alternatively I could find an IPTC field that I am not using and find a way to use it, (because those fields have autofill lists that can be edited). However my record keeping would be exported with the photograph. Some of the information that I collect is private and should not be included in the metadata while other information should be; that is why I've settled on custom metadata fields.
    I hope there is a simple answer to this that I'm overlooking.
    If someone else has another way of tracking this same information that is better than the custom metadata fields, I would like to hear about it. However, it would mean reworking all my photographs that Aperture currently manages.

  • Table Name and Column name for Product Family Field under the Product Famil

    Hi,
    Please help me finding the table name and the column name for the 'Product Family' field and the 'Item' field under the Product families form. The navigation to this form is as follows:
    Material Planner Responsibility -> Setup -> Product Family
    Please help.
    Thanks,
    KM

    2 months ago, you asked a very similar question... and Markus gave you a good answer. His 2-months old answer still applies here.
    I recommend that you read it a again at Table name for backorder qty on sales order.
    When you have read his answer, please close both threads.

  • Getting the system generated column name for xmltype column

    Hello,
    how i can get the internal column name (p.a. SYS_NC00001$) for a xmltype column? I cannot find a correct dictionary view .
    I need that for moving a xmltype lob partition to another tablespace.
    Thanks,
    MaikR

    Does the following help:
    http://www.idevelopment.info/data/Oracle/DBA_tips/LOBs/LOBS_2.shtml
    http://www.liberidu.com/blog/?p=264

  • Rich Text Editor Option for Custom Metadata

    Hi,
    We have created custom profiles for our clients. In one such profile which was created for news updates, client wants to have rich text editor in case of certain custom metadata fields such as description similar to comments.
    As far i as i understand this can be achieved by creating region defintion which gives the option to create a web asset which can edited using site studio api. But is it possible to bring in rich text editor features for custom metadata fields in profiles ?
    Regards,
    Boopathy P

    I'd suggest looking into the profile rule's "Use custom include" option.
    You need to build the new control on your own, but you'll be able to plug it in via the "Use custom include" profile rule option. It's on the "Edit Rule Field" page.
    You can also override the template, but I believe that's a lil' too hardcoded for best practices. This way, you can create a ckeditor textarea and apply it to any metadata you wish (of course, it's up to you to make sure the datatypes match).
    Let us know if this helps!
    -ryan

  • Getting column names for resultMap - Ibatis

    Hi friends,
    I need to get the column names for the properties specified in sqlMap.xml in my code .
    for example: <resultMap id="resmap" class="java.util.HashMap">
    <result property="custId" column="cust_id"/>
    <result property="routerId" column="router_id"/>
    <result property="routerName" column="router_name" jdbcType="CLOB"/>
    <result property="device_type" column="device_type"/>
    </resultMap>
    i need to get the column values in code.........
    is there anyway to access the sqlMap.xml file as an instance in Ibatis.

    I always use jaxb2 to unmarshall/marshall, works like a charm

  • How to get column names for a specific view in the scheme?

    how to get column names for a specific view in the scheme?
    TIA
    Don't have DD on the wall anymore....

    or this?
    SQL> select text from ALL_VIEWS
      2  where VIEW_NAME
      3  ='EMP_VIEW';
    TEXT
    SELECT empno,ename FROM EMP
    WHERE empno=10

  • [Flat File Destination [220]] Error: Failed to write out column name for column "Column 2"

    I am using SSIS to extract fixed width data into a flat file destination and I keep getting below error. I have tried almost everything in this forum but still no solution. can anyone help me out to solve this problem.
    [Flat File Destination [220]] Error: Failed to write out column name for column "Column 2".
    [SSIS.Pipeline] Error: component "Flat File Destination" (220) failed the pre-execute phase and returned error code 0xC0202095
    Thanks

    Hi Giss68,
    Could you check the Advanced tab of the Flat File Connection Manager to see whether the InputColumnWidth and the OutputColumnWidth properties of the Column2 has the same value? Please refer to the following link about the same topic:
    http://stackoverflow.com/questions/10292091/how-do-i-fix-failed-to-write-error-while-exporting-data-to-ragged-right-flat-fil 
    If it doesn’t work, please post the sample data and the advanced settings of Column2 for further analysis.
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • Column name of custom columns is possible of translating automatic

    In SharePoint 2013 is possible of translating automatic the column name of custom columns with machine translation services or it is necessary create resource files or source site and target site?

    Hi,
    When you create a column, the name you enter is just a constant string. SharePoint does not do translation based on known words. Internationalization is based on resource files.
    Here are the steps I would take for creating international-able columns through the browser:
    Create the column with the name you want as the internal name (ie, no spaces or symbols to avoid
    _x0020_ and other encoding replacements).
    Edit the column by changing the column name to a resource string that you know if defined in each language you want to support.
    Here are similar posts, you can use as a reference:
    https://social.msdn.microsoft.com/Forums/sqlserver/pt-BR/06742b53-ccc9-4d2c-ac61-fbba37e60be1/how-to-translate-custom-column-names-in-the-target-variation-site-in-sharepoint-2013?forum=sharepointdevelopment
    http://sharepoint.stackexchange.com/questions/30226/how-to-display-column-names-in-several-languages-in-sharepoint
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Invalid column name for the group attribute.

    Hi,
    Please help, I m struck with this for the past 2 days.
    Basically i have  big query and with cfoutput and group attribute; i m displaying hte results..
    It has 4 levels of grouping.
    Also, the grouping column will be different every time the user choose it.so I'm building an array to do it.
    Suppose the user choose only 3 columns, I'm manually adding the 4th column so that array has 4 values all the time.
    At time, i m getting this error, the column name is invalid.
    Your help is highly appreciated.
    <cfoutput query="mtburbycust" group="#lstSQLOrderBy[1]#">
              <cfif currentRow EQ 1>
                  <cfset rowColor2 = 'CECE9E'/>
             <cfelse>
                 <cfif isdefined('Prevcolor')>
                    <cfif comparenocase(Prevcolor,rowColor3) EQ 0>
                        <cfset rowColor2 = 'A8E4FF'/>
                    <cfelse>
                        <cfset rowColor2 = 'CECE9E'/>
                    </cfif>
                </cfif>
              </cfif>
              <cfset Rowcolor = Rowcolor2/>
               <cfset Prevcolor = Rowcolor2/>
             <cfoutput group="#lstSQLOrderBy[2]#">       
                  <cfoutput group="#lstSQLOrderBy[3]#">
                <cfoutput group="#lstSQLOrderBy[4]#">    
                   <cfoutput>
    </cfoutput>
    </cfoutput>
                        </cfoutput>
                    </cfoutput>
                </cfoutput>
            </cfoutput>

    These tags are somewhat ambiguous, as they have no query attribute:
    <cfoutput group="#lstSQLOrderBy[2]#"> 
    <cfoutput group="#lstSQLOrderBy[3]#">
    <cfoutput group="#lstSQLOrderBy[4]#">

  • Can I show the column name for my legend?

    I have a bunch of graphs where the legend labels (ie. the values from the column) aren't really informative (ie. simple numeric values), and are part of a dimensional hierarchy, so you might see a graph whose legend has 1, 14, 38, 141 and you click on one of them and get another graph whose legend is 345, 6546, 2342. My current solution is to create a logical column prepending the value with a column name, so my values are now "District 1", "District 14", "District 38", "District 141". But it would be so much nicer if I could just show "District" above the legend. Is there any way to do this?

    My be this can give you a help:
    [code]
    SELECT *
    FROM   ALL_CONSTRAINTS
    WHERE  R_CONSTRAINT_NAME IN (SELECT CONSTRAINT_NAME
                                                               FROM   ALL_CONSTRAINTS
                                                               WHERE  TABLE_NAME = 'TABLE_NAME'
    [/code]

  • Why order by clause maintains column number values instead of column names

    why order by clause maintains column number values instead of column names ?

    we can use oder by 1,2 as column number
    UGNo one said that it can't be used. What's your point?
    To OP: It can be written with the column's 'select list positional number' just because for the support of laziness. :)
    There's no difference between 'ORDER BY name, address' and 'ORDER BY 1,2'.

  • When Import get Error-00904 Invalid Column Name

    Hi all,
    I'm using DI Premium 3.0 with Oracle 10.2.0.1.0 repository. I'm trying to connect Oracle 8.1.4.7.1 (8i) but when i going to import tables get Error-00904 Invalid Column Name. If i connect to Oracle 10.2.0.4.0 don't get error.
    Trying from DI XI R2 (11.7) with Oracle 10.2.0.2.0 repository, to connect Oracle 8.1.4.7.1 (8i) don´t get error!
    Is error from Oracle repository version?
    Thanks in advance.
    Jorge

    Hi Manoj,
    This is the output:
    SQL> desc all_tab_columns
    Name                                      Null?    Type
    OWNER                                      NOT NULL      VARCHAR2(30)
    TABLE_NAME                             NOT NULL      VARCHAR2(30)
    COLUMN_NAME                          NOT NULL      VARCHAR2(30)
    DATA_TYPE                                           VARCHAR2(106)
    DATA_TYPE_MOD                                           VARCHAR2(3)
    DATA_TYPE_OWNER                                         VARCHAR2(30)
    DATA_LENGTH                           NOT NULL      NUMBER
    DATA_PRECISION                                          NUMBER
    DATA_SCALE                                                   NUMBER
    NULLABLE                                                     VARCHAR2(1)
    COLUMN_ID                                 NOT NULL      NUMBER
    DEFAULT_LENGTH                                          NUMBER
    DATA_DEFAULT                                            LONG
    NUM_DISTINCT                                                 NUMBER
    LOW_VALUE                                                    RAW(32)
    HIGH_VALUE                                                   RAW(32)
    DENSITY                                                      NUMBER
    NUM_NULLS                                                    NUMBER
    NUM_BUCKETS                                             NUMBER
    LAST_ANALYZED                                           DATE
    SAMPLE_SIZE                                                  NUMBER
    CHARACTER_SET_NAME                                    VARCHAR2(44)
    CHAR_COL_DECL_LENGTH                                 NUMBER
    GLOBAL_STATS                                            VARCHAR2(3)
    USER_STATS                                                   VARCHAR2(3)
    AVG_COL_LEN                                             NUMBER
    Thanks for your help.
    Jorge

  • Finding source database table/column name for a column in a view

    Hi i need to be able to identify the original database table/column name for a column in a view.
    e.g. say i have a view like this
    create v1 as select a.name fname, b.name bname, c.name cname,......
    from u1.names a, u2.names b. u3.names c
    where .....
    Now I want to find out that the database table/column name for the fname, bname and cname columns in the view v1, which in this instance is u1.name.name, u2.names.name, u3.names.name.
    But i need to be able to do it for any view. Short of parsing the SQL is there an easy way of doing this?
    Now obviusly I can't do this for virtual columns but I will know my column is not virtual as it has an index on it.

    But i need to be able to do it for any view. Short of
    parsing the SQL is there an easy way of doing this?No, parsing the SQL is the only way. Good luck it is not something I would want to attempt.

  • Retrieve a list of different values of custom metadata field of an UCM connection

    Hi
    I am planning to create a custom search document functionality for my UCM and Portal integration. Basically, I am planing to create CMIS queries dynamically. In order to create the CMIS query, I need the possible values of custom metadata for the user to select from and through a backing bean construct the cmis query based on this selection.
    I have created a custom metadata field (lets say, 'KindOf'). So I want to show the user a list of all possible 'KindOf' values, so user selects the values he wants and I use those values to build the cmis query and show the results.
    What is the easiest, best practices, how would you do it, way of achieving this?
    I have little experience with UCM.
    Regards

    Hi,
    As rightly pointed out by jiri machotka, you want that option list .
    if you create a option list metadata, you have to publish schema to get the values. You can do it by two ways:
    1) Wait for the event which publish the schema automatically.
    2)Select "Publish schema" in the options menu of the Configuration Manager.
    Some good implementation info about searching can be found at - Students at Oracle: UCM: Creating search and check-in profiles with custom metadata
    and http://www.slideshare.net/heikim/effective-strategies-for-searching-oracle-ucm
    Otherwise if you want faceted search or something near to enterprise searching capabilities, then go for enterprise search engines.
    I have recently worked on Enterprise Search Engines on various CMS products for better,intuitive and relevant search results.
    Hope, above information can help you out.
    Regards,
    Hoque

Maybe you are looking for

  • Error on startup

    Hello, I recently purchased Adobe Acrobat Professional. Upon starting formdesigner.exe I receive an error and the application is forced to shutdown. The error generates an xml file, but beyond that, no much information is given about the error. I've

  • How to restore R11 database..? Please guide in details.

    Dear Friends, I had install Windows NT 4.0 as domain controller and installed oracle R11 and configured. It was working fine. After some time I had UPGRADE my Operating system WINNT 4.0 to WINDOWS Server 2000. Server was properly upgraded with any tr

  • Procurement Reports

    Hi Friends, I am very first time working on Procurement reports in BW. The following reports I need to extract from R/3 to BW. 1: Invoice with out a purchase Order 2: Purchase Order with no receipt or invoice activity 3: Purchase Order reciepted but

  • Errors installing angry birds

    I bought the full version of angry birds on nokia n8 but keep getting installation error message everytime I keep trying to download it, can anyone help please

  • Chromalox 6040 and 6050 temperature controller with RS485

    Hi,  I have a Chromalox heater and the Tempererature controllers (6040 and 6050).  Both controllers has the RS485 hook-up.  I would like to know how to communicate with these devices.  The devices themselves can function as an stand alone units with