Force a metadata value on checkin

Hey
I have a custom metadata field that I want to be a specific value on each checkin (i.e. on the first and all revisions). I have set the default value of this field, but once it has been changed in a revison, all subsequent revisions will have that changed value unless manually checked back.
At resent, I cannot see a way to do this out of the box, so I am thinking of creating a custom component. The Component would have a Filter that interrupts the check-in service and set a specified value to a metadata field.
Can anyone tell me:
1. Is there a way to do this out of the box that I have missed?
2. If not, is there a component out there that will already do this?
3. If not, am I using the best method in my component?
Thanks
Alec

Try a global rule which applies only for check-ins. Also, do mention how exactly is your rule constructed. Use Default value might tend not to overwrite the value, if not blank; you might have to use Is Derived Value instead ( http://docs.oracle.com/cd/E23943_01/doc.1111/e10978/c04_metadata.htm#DAFHGHID ).

Similar Messages

  • How to restrict Option values for a particular metadata in profile checkin

    How to restrict Option values (drop down) for a particular metadata in profile checkin-
    Metadata field Color is having options dropdown values (stored in table/views)-
    Display name - Blue, Value=1
    Display name - Red, Value=2
    Display name - Yellow, Value=3
    Display name - Green, Value=4
    Display name - Black, Value=5
    For a particular profile checkin form, for the metadata field Color I want the dropdown value consist of only top three options
    Display name - Blue, Value=1
    Display name - Red, Value=2
    Display name - Yellow, Value=3
    But this should be done on profile level only, should not impact the standrad checkin form and other profile checkin forms.
    Please help me if any one having any suggestion to implement the above secnario
    Thanks,
    Sumit

    Hi,
    Into the rule containing the Color metadata, you can restrict the values of the list.
    In "Has restricted list and pane", list the values 1, 2 and 3 (new line for each value) :
    1
    2
    3
    Romain.

  • Metadata values not showing in Site Studio layout using Idoc Script

    Hi All,
    We have a SS layout (secondary) with replaceable regions for showing content that is listed in a primary page dynamic list.
    Part of the layout shows contribution elements of Contributor Data File content items, but part of layout also shows metadata values. We use <!--$DOC_INFO.dDocTitle--> to show the content item Title with no problems.
    However, for some content items, some metadata values are not showing on the layout - specifically a custom metadata field called xFinishDate (which is of type 'Date' in Config Man). The code <!--$DOC_INFO.xFinishDate--> simply does not work (nothing is displayed) for some content items, despite definitely having a set FinishDate value. Some other content items show this value fine.
    The <!--$DOC_INFO.dDocTitle--> value works for ALL items, but the <!--$DOC_INFO.xFinishDate--> does not, and there appears to be no difference between the items that it does, and does not work for. They are all CDF, same DocType, same CheckIn profile, etc.
    The non-working items are all released and indexed. Their Content Information in Content Server shows complete metadata. I have resubmitted the non-working items for reconversion in Repo Man but no luck.
    Is there something I am missing? Any help is greatly appreciated.
    Luke.

    Actually the default DOC_INFO resultset that is on the page seems to be for the content item being loaded into the secondary layout's replaceable regions. This is why DOC_INFO.dDocTitle gives the results expected.
    However, I think I have discovered why the xFinishDate value was not showing. Using sapan's code (and modifying it a bit) I was able to print out all the metadata field names and values for default DOC_INFO resultset.
    Using this URL as an example: http://www.bond.edu.au/about-bond/jobs-at-bond/BD3_011217
    At the top of page region (replaceable) where the Contributor Data File is loaded into, the DOC_INFO resultset is relevant to the content item that is being loaded into the layout (content ID: BD3_011217 - as per the URL format), which is what we want.
    However, throughout the Contributor Data File content, if a link is made using the Site Studio link wizard via FCK Editor (in the above case, it is the position description link, which is a link to a PDF) and the link is 'Link to a file' and the 'Choose Target section' is selected as 'Use default website section metadata', the resulting link looks like "http://www.bond.edu.au/about-bond/jobs-at-bond/BD3_011216". Any references to the DOC_INFO resultset on the page after the instance of this link now use the metadata of the content item referred to in the link, not the original content item. I have dumped out the DOC_INFO fields/values in different parts of the layout to prove this. The linked content item has no xFinishDate value so this is why nothing displays (displaying xFinishDate needs to happen after the link to the position description).
    I guess I need to either:
    - change the way the link is made to the content item to "Link to the Content Item's URL", but I would prefer not to expose the resulting path e.g. "[!--$HttpRelativeWebRoot--]groups/group-name/@account-name/documents/content-type/content-id.pdf"
    - explicitly make a resultset using <!--$executeService("SS_GET_SEARCH_RESULTS")--> with the content ID I know I want and use it instead of the default DOC_INFO one. Is there any other way to make a resultset comprising of a single item's metadata?
    9.45 SS_GET_SEARCH_RESULTS
    ■ Description: This is a wrapper around the regular CS GET_SEARCH_RESULTS
    service. It allows some Site Studio features to be specified simply as flags and have
    the real query syntax be constructed on the server. It can modify the standard
    'SearchResults' resultset to contain an additional column called 'ssUrl' which will
    contain the Site Studio-friendly url for all of the search results.
    ■ Parameters:
    – siteId: the unique identifier of the site (required).
    – ssLimitScope: True/False, restricting scope to within the site only (optional).
    – ssUserSearchText: user-supplied search text (optional).
    – ssWebsiteObjectType: object type (optional).
    – computeFriendlyUrls: True/False, modify results to include ssUrl (optional).
    ■ Returns: resultset named ’Search Results’.
    ■ Security: The user must have at write access to at least one security group on the
    content server
    Thanks to everyone for their help. Almost there!
    Edited by: lukeb2112 on 18/01/2010 17:30

  • G6: Setting default metadata values

    Hello all!I am trying to find a way to set default metadata values in plumtree.
    For example, if I created a Web Content Crawler to scan MarchofDimes.com, which has various career postings, I would like to be able to default or force these crawled content items to have a category field of "Job Postings".
    It appears that at the "Content Type" object level, you can set a default value. However I don't want to set "Job Postings" as the category for all imported web content, only those imported through this particular crawler.
    I tried to create a new Content Type called "Web Content - Job Postings" but I chickend out when it got down to setting a new identifier to map to the Content Type. I wasn't sure how that would be accepted in the Global Content Mime/File Type Map Utility if there were duplicate identifiers.
    Apart from going into each crawled document and setting the category field manually, does anyone have a recommendation on how this can be done?Thanks!Geoff!
    While I have your attention, in the Global Document Property Map, how can I identify the various Document Attributes?

    Hello all!I am trying to find a way to set default metadata values in plumtree.
    For example, if I created a Web Content Crawler to scan MarchofDimes.com, which has various career postings, I would like to be able to default or force these crawled content items to have a category field of "Job Postings".
    It appears that at the "Content Type" object level, you can set a default value. However I don't want to set "Job Postings" as the category for all imported web content, only those imported through this particular crawler.
    I tried to create a new Content Type called "Web Content - Job Postings" but I chickend out when it got down to setting a new identifier to map to the Content Type. I wasn't sure how that would be accepted in the Global Content Mime/File Type Map Utility if there were duplicate identifiers.
    Apart from going into each crawled document and setting the category field manually, does anyone have a recommendation on how this can be done?Thanks!Geoff!
    While I have your attention, in the Global Document Property Map, how can I identify the various Document Attributes?

  • Forced Library Column Value

    In our Community Site (2013), We have a library that will allow the users to upload documents by category. Below is our requirement.
    Users Select a Category from the home page.
    Category page will display the active discussions and a Library(Same library across all categories but filters files based on the category selection).
    When the user is uploading a document, the category drop-down shows values alphabetically.
    Requirement: Is there any way that we can force the category value to default to the category that the user is on. for example if the users Clicks on category ABC from the
    home page, the library column should also be set to ABC when an user is uploading the document.
    Thank you, Richards.

    Hello Rechards,
    As per my knowledge i don't think this one is possible OOB. But what i can suggest is, when you upload any document, after uploading successfully you get redirected to page ""listname/Forms/EditForm.aspx?Mode=Upload" to fill up the document
    metadata.
    if somehow you can pass the selected field value through query string or cookies then you can add a content editor web part on  "/Forms/EditForm.aspx" page to get the passed value and set your category to passed value by using Jquery.
    This is just a suggestion you might receive some other options.
    Thanks.... ________________ Baba (MCTS, MCPD)

  • Horizontal Mapping and Flat mapping with Metadata Value Indicator

    Hi
    I have an abstract class B which itself extends another abstract class A.
    There is no table for A. The fields in A are mapped to B. I believe this
    is called "horizontal mapping"
    C and D inherit off B. There's a also a table named B (mapped to class B),
    but none for C or D. Instances of C and D are recorded in table B. I
    believe this is called "flat mapping"
    B has a field foo whose possible values are 'fred' and 'wilma'.
    If foo='fred', then the record is of type C
    If foo='wilma', then the record is of type D
    I believe this is called "class indicator" of type metadata.
    To express this, I have package.jdo which says
    <class name="A"/>
    <class name="B" persistence-capable-superclass="A"/>
    <class name="C" persistence-capable-superclass="B"/>
    <class name="D" persistence-capable-superclass="B"/>
    In B.mapping, I have
    <mapping>
    <package name="domain">
    <class name="B">
    <jdbc-class-map type="horizontal"/>
    <jdbc-class-ind type="metadata-value" column="foo"/>
    </class>
    </package>
    </mapping>
    B.java has a private String foo.
    In C.mapping, I have
    <mapping>
    <package name="domain">
    <class name="C">
    <jdbc-class-map type="flat"/>
    <jdbc-class-ind-value value="fred"/>
    field mappings for C
    </class>
    </package>
    </mapping>
    and similarly in D for value='wilma'
    My questions are...
    1. Is this kind of mapping supported by kodo?
    2. If so, is this configuration correct? I guess not, since I don't
    specify the table name anywhere. Where should it go?
    3. If I remove the "class indicator" mapping and run a simple test I get
    kodo.util.FatalUserException: There is no superclass mapping for mapping
    for "class domain.D".
         at
    kodo.jdbc.meta.FlatClassMapping.assertParentMapping(FlatClassMapping.java:49)
         at kodo.jdbc.meta.FlatClassMapping.getTable(FlatClassMapping.java:85)
         at
    kodo.jdbc.meta.OneToManyFieldMapping.fromMappingInfo(OneToManyFieldMapping.java:87)
         at
    kodo.jdbc.meta.RuntimeMappingProvider.getFieldMapping(RuntimeMappingProvider.java:160)
         at
    kodo.jdbc.meta.MappingRepository.getFieldMapping(MappingRepository.java:443)
         at
    kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:949)
    4. If I run a simple test with the horizontal, flat and class-indicator
    mappings, I get
    kodo.jdbc.meta.MappingInfoNotFoundException: The "class-column"
    attribute/extension for the class indicator on type
    "domain.B.<class-indicator>" is missing or names a column that does not
    exist.
         at kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:135)
         at kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:121)
         at
    kodo.jdbc.meta.ColumnClassIndicator.fromMappingInfo(ColumnClassIndicator.java:95)
         at
    kodo.jdbc.meta.RuntimeMappingProvider.initialize(RuntimeMappingProvider.java:135)
         at
    kodo.jdbc.meta.MappingRepository.getMappingInternal(MappingRepository.java:378)
    What am I doing wrong?
    Thanks in advance
    Srini

    I solved this problem by removing the identifier field from the
    class/mapping (kodo support).
    Thanks
    Srini
    Stephen Kim wrote:
    Do you have two fields mapped to the same column? Did you make sure you
    set everything which maps to the column?
    Srinivasan Ranganathan wrote:
    I found what was wrong with this, fixed it and got a different (more
    sensible) error. To correct this mapping, I specified B's mapping type as
    "base" and gave its table and pk names. Also, I moved the common field
    mappings to B.mapping so C.mapping and D.mapping only have fields that are
    specific to each.
    Now when I run a simple test, I get
    testC:
    kodo.util.FatalUserException: Attempt to set column "B.FOO" to two
    different values: (java.lang.Object)"java.lang.Object@2f608ac2",
    (java.lang.String)"fred" This can occur when you fail to set both sides of
    a two-sided relation between objects, or when you map different fields to
    the same column, but you do not keep the values of these fields in synch.
         at kodo.jdbc.runtime.VRow.setObjectInternal(VRow.java(Compiled Code))
         at kodo.jdbc.sql.AbstractRow.setObject(AbstractRow.java(Compiled Code))
         at
    kodo.jdbc.meta.ColumnClassIndicator.insert(ColumnClassIndicator.java:143)
         at kodo.jdbc.runtime.UpdateManagerImpl.insert(UpdateManagerImpl.java:216)
         at kodo.jdbc.runtime.UpdateManagerImpl.insert(UpdateManagerImpl.java:219)
         at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:108)
         at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:73)
    testD:
    kodo.util.FatalUserException: Attempt to set column "B.FOO" to two
    different values: (java.lang.Object)"java.lang.Object@2f608ac2",
    (java.lang.String)"wilma" This can occur when you fail to set both sides
    of a two-sided relation between objects, or when you map different fields
    to the same column, but you do not keep the values of these fields in
    synch.
         at kodo.jdbc.runtime.VRow.setObjectInternal(VRow.java(Compiled Code))
         at kodo.jdbc.sql.AbstractRow.setObject(AbstractRow.java(Compiled Code))
         at
    kodo.jdbc.meta.ColumnClassIndicator.insert(ColumnClassIndicator.java:143)
         at kodo.jdbc.runtime.UpdateManagerImpl.insert(UpdateManagerImpl.java:216)
         at kodo.jdbc.runtime.UpdateManagerImpl.insert(UpdateManagerImpl.java:219)
         at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:108)
         at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:73)
    I've checked for the two possible errors to the best of my knowledge. Any
    input to resolve this issue is appreciated.
    Thanks in advance
    Srini
    Srinivasan Ranganathan wrote:
    Hi
    I have an abstract class B which itself extends another abstract class A.
    There is no table for A. The fields in A are mapped to B. I believe this
    is called "horizontal mapping"
    C and D inherit off B. There's a also a table named B (mapped to class B),
    but none for C or D. Instances of C and D are recorded in table B. I
    believe this is called "flat mapping"
    B has a field foo whose possible values are 'fred' and 'wilma'.
    If foo='fred', then the record is of type C
    If foo='wilma', then the record is of type D
    I believe this is called "class indicator" of type metadata.
    To express this, I have package.jdo which says
    <class name="A"/>
    <class name="B" persistence-capable-superclass="A"/>
    <class name="C" persistence-capable-superclass="B"/>
    <class name="D" persistence-capable-superclass="B"/>
    In B.mapping, I have
    <mapping>
    <package name="domain">
    <class name="B">
    <jdbc-class-map type="horizontal"/>
    <jdbc-class-ind type="metadata-value" column="foo"/>
    </class>
    </package>
    </mapping>
    B.java has a private String foo.
    In C.mapping, I have
    <mapping>
    <package name="domain">
    <class name="C">
    <jdbc-class-map type="flat"/>
    <jdbc-class-ind-value value="fred"/>
    field mappings for C
    </class>
    </package>
    </mapping>
    and similarly in D for value='wilma'
    My questions are...
    1. Is this kind of mapping supported by kodo?
    2. If so, is this configuration correct? I guess not, since I don't
    specify the table name anywhere. Where should it go?
    3. If I remove the "class indicator" mapping and run a simple test I get
    kodo.util.FatalUserException: There is no superclass mapping for mapping
    for "class domain.D".
         at
    kodo.jdbc.meta.FlatClassMapping.assertParentMapping(FlatClassMapping.java:49)
         at kodo.jdbc.meta.FlatClassMapping.getTable(FlatClassMapping.java:85)
         at
    kodo.jdbc.meta.OneToManyFieldMapping.fromMappingInfo(OneToManyFieldMapping.java:87)
    >>
         at
    kodo.jdbc.meta.RuntimeMappingProvider.getFieldMapping(RuntimeMappingProvider.java:160)
    >>
         at
    kodo.jdbc.meta.MappingRepository.getFieldMapping(MappingRepository.java:443)
         at
    kodo.jdbc.meta.AbstractClassMapping.getFieldMapping(AbstractClassMapping.java:949)
    >>
    >>
    >>
    >>
    4. If I run a simple test with the horizontal, flat and class-indicator
    mappings, I get
    kodo.jdbc.meta.MappingInfoNotFoundException: The "class-column"
    attribute/extension for the class indicator on type
    "domain.B.<class-indicator>" is missing or names a column that does not
    exist.
         at kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:135)
         at kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:121)
         at
    kodo.jdbc.meta.ColumnClassIndicator.fromMappingInfo(ColumnClassIndicator.java:95)
    >>
         at
    kodo.jdbc.meta.RuntimeMappingProvider.initialize(RuntimeMappingProvider.java:135)
    >>
         at
    kodo.jdbc.meta.MappingRepository.getMappingInternal(MappingRepository.java:378)
    >>
    >>
    >>
    What am I doing wrong?
    Thanks in advance
    Srini
    Steve Kim
    [email protected]
    SolarMetric Inc.
    http://www.solarmetric.com

  • Cannot find metadata values in workflow queue

    I need some help customizing workflow action menues in WF_INQUEUE_LIST.
    What I´m trying is show actions depending on a customized metadata value.
    I´m able to put certain javascript code in order to modify standard behavior if conditions involve workflow metadata (i.e. wfStepName, wfName) but what i need is doing the same based on custom metadata (i.e. xMyMetadata).
    I have been looking for some information in doc but functions like wfCurrentGet or GetValue don´t work.
    I´ve created a custom component with an html resource overwriting setup_workflow_action_popups.
    Basically is the same code that original. There´s only a little change: in the Approve Link creation section I have put this code (is stupid i know)
    +<$exec rsAppendNewRow("PopupProps")$>+
    +<$exec setValue("PopupProps", "label", lc("wwApprove"))$>+
    *<$if strEquals(dWfStepName, "TheStepName")== true$>*
    *<$exec setValue("PopupProps", "function", "javascript:{alert('Workflow Step is <$dWfStepName$>');document.Approve_<$dID$>.submit();}")$>*
    +<$else$>+
    *<$exec setValue("PopupProps", "function", "javascript:{alert('Step is not desired one but <$dWfStepName$>'); document.Approve_<$dID$>.submit();}")$>*
    +<$endif$>+
    +<$exec setValue("PopupProps", "ifClause", "AllowReview")$>+
    +<$exec setValue("PopupProps", "class", "workflow")$>+
    +<$exec setValue("PopupProps", "id", "workflowApprove")$>+
    This change works. But i need make the action depending on a custom metadata value i.e. xMyCustomMD
    *<$if strEquals(xMyCustomMD, "")== false $>*
    *<$exec setValue("PopupProps", "function", "javascript:{alert('<$xMyCustomMD$>');document.Approve_<$dID$>.submit();}")$>*
    +<$else$>+
    *<$exec setValue("PopupProps", "function", "javascript:{alert('Value not find');document.Approve_<$dID$>.submit();}")$>*
    +<$endif$>+
    I am not capable of retrieve the value of xMyCustomMD
    How can i get access in this page to this metadata?
    Thank you very much
    Edited by: user9510270 on 28-feb-2011 7:52
    Edited by: user9510270 on 28-feb-2011 7:53
    Edited by: user9510270 on 28-feb-2011 7:55
    Edited by: user9510270 on 28-feb-2011 7:56
    Edited by: user9510270 on 28-feb-2011 8:01

    Can you check what metadata you can see?
    I gathered that you have an access to dWfStepName, and dID, but not to other metadata values - sounds like the values you can see are taken from workflow temporary files and if you want to have all the metadata of the item you will have to run a search query to get them. I would suggest to follow to other workflow screens (workflow_review_frames template), because there it is possible to see all metadata and you can get an idea what needs to be done.

  • Check in Similar not populating custom metadata value set by global rule

    I have created a global rule to set the default value for custom metadata field creation date as current system date.This rule is working fine for normal check in but when i am using check in similar functionality of ucm the creation date value is getting populated from original content metadata value instead of default value set by rule.Is there any way to populate creation date as default value set by rule even in the check in similar function.
    Thanks in advance!!!
    Edited by: 906120 on Jan 5, 2012 4:42 AM

    Check-in similar does not evaluate scripts in the "use defaultvalue" field, as it has to copy metadata values. However, you can add script to the "Is derived field" as well. Just don't use dprDefaultValue but dprDerivedValue=
    This script will be evaluated before check-in operation and any value contained in the metadata field will be overwritten with value defined by script.
    Regards,
    Boris

  • Replace property metadata values with icons

    Hello everybody,
       We have created a new property metadata with specific allowed values. Then we created a new layout set to list a repository including that metadata. We are wondering if there is a way to replace the specific metadata values in the list with a set of icons to improve the look and feel.
       Best regards,
           Virgilio Ruiz

    Hi Virgilio
    Here a description how to use one of the standard property renderers that touches your needs:
    https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3648
    If it does not cover your needs, you should go for development as suggested by Robert.
    Kind regards,
    Martin Søgaard

  • Storing custom metadata values at document level

    Hi,
    I want to create a metadata to store values at document level but looks like all custom metadata values are associated with document revision level. for example i want to store Parent document id value as part of the document because if store this value at each revision level then i will have additional overhead to update every time on each versions if parent document id is getting changed.
    Please let me know Can we create custom metadata to store values at the document level?
    Thanks,
    Suresh K

    Hi Srinath,
    I am sorry I think the word document created confusion. Office documents + Desktop integration do not have details.
    I am looking like how to create a custom metadata that can be applied at content level. I had created custom metadata using Admin applets ->configuration manager ->Information fields->Add. Now this metadata is available for each and every version of the content. I could provide value for this metadata while check in the content or select the particular version and content action->update->change custom metadata value and click on submit update .This updates value for particular version.
    I don't want to provide different  value for each versions because as per our use case the value will be same across the content something like Content ID and if the value is changed then it has to be changed for entire content so is this possible to create metadata that will store value at Content level.
    Thanks,
    Suresh K

  • Can we use the metadata value of an asset without prefix

    I am using the DAM asset  (com.day.cq.dam.api.Asset;)  and reading the metadata values using the keys
       e.,g. asset.getMetadataValue("dc:format");
    Is there a way I can add a value to the metadata something like ("dummyType") or (":dummyType").
    There are already some key values in metadata e.g.  asset.getMetadataValue("Type");
    But for "Type" an empty string is returned, does any one have suggestions or a workaround for this ?
    Thanks

    Gul wrote:
    I have a variable in forms6i. I want to use the value of this variable in an alert message. How is this possible?Try
    DECLARE err_txt VARCHAR2(200) t;
    al_id ALERT;
    al_button Number;
    BEGIN
    al_id := FIND_ALERT('My_Error_Alert');
    SET_ALERT_PROPERTY(al_id, alert_message_text, 'Hello how are you mr. variable '||:variable_name );
    al_button := SHOW_ALERT( al_id );
    END; Hope it works..
    Hamid

  • User metadata values is showing as plain text in Mysites after upgrading from 2010 to 2013

    We have upgraded our Mysite from 2010 to 2013, after upgrading User metadata values is showing as plain text where
    as in 2010 it has shown as hyperlinks.
    In Mysite 2010 by clicking on user metadata for favorite sports, Favorite Movies etc...it will give the results from search containing same value for other user
    by going to search results page. After upgrading it to 2013 (with 2010 UI) and running full crawls, I am able to search by clicking on any user property.
    After upgrading look and feel to 2013 version  these fields showing as plain text. Can anyone suggest how can we get hyperlinks and how can we make user
    metadata searchable directly by clicking on Property value from Mysite. Below screen print explain you the difference clearly.
    Santosh

    Hi Inderjeet, thanks for the update.
    I am running with SP1 + july2014 CU.
    Search is working fine, I am able to get search results from search page, here the problem is I cannot go to search results by directly clicking on a property.
    In SP 2010, If I click on favourite sports team, (Chelsea football) it will open search results page with all users who have given this team name.
    Where as in SP 2013, this data is appearing as plain text in mysites(Please note before UI upgrade, I am able to search as in SP 2010). You can notice the difference in my above screenshot.
    Is this default behaviour in SP 2013? Has anything changed or am I missing something.
    Santosh

  • Force all metadata into sidecar files?

    Is there a way to force all metadata (such as markers) into sidecar files? I would like to share project files between multiple Premiere CC editing suites without having to copy the original media multiple times. We will be using markers extensively to log the footage but I understand that the marker data only lives in the original media files, meaning that the original media files will also have to be copied whenever we exchange project files.
    Thanks.

    Go to Edit>Preferences>Media... and see if those options will provide the desired functionality.

  • [CS3 JS] How to force XMP metadata update for a thumbnail?

    Hi Folks,
    In a JavaScript in Bridge CS3, I'm updating a value in the XMP metadata for a Thumbnail. Later in the script I want to read the updated XMP metadata information from the Thumbnail, but often Bridge hasn't updated the metadata by the time I read it. In other words, my script reads the value prior to the update. I'm guessing there's a caching issue going on.
    I'm new to Bridge scripting, and I am hoping someone here can offer suggestions on how I can (or, even *if* I can) force Bridge to update the XMP metadata cache for a file so that when I read it later in the script it will reflect the recent changes. I've tried using Thumbnail.refresh(), but that doesn't seem to do the trick. I don't mind a slower script, I just want to be able to read the correct value.
    Thanks in advance for any help!
    -- Jim

    Hi David,
    I'm running this script on a MacBook Pro, 2.5GHz, 4GB RAM.
    Here is a sample JSX that shows the issue I'm having:
    #target "bridge-2.0"
    main();
    function main() {
        if( xmpLib == undefined ) {
            var pathToLib = Folder.startup.fsName + "/AdobeXMPScript.framework";
            var libfile = new File( pathToLib );
            var xmpLib = new ExternalObject("lib:" + pathToLib );
        var myValue = "Headline Test";
        var myFilePath = "~/Desktop/TestFile.tif";
        var curHeadlineStr = XMPGetHeadline(myFilePath);
        $.writeln("Headline value: \"" +  curHeadlineStr + "\"");
        XMPWriteHeadline(myFilePath, myValue);
        // *** I would like to refresh the cache here ***
        curHeadlineStr = XMPGetHeadline(myFilePath);
        $.writeln("Headline value: \"" +  curHeadlineStr + "\"");
    function XMPGetHeadline(theFilePath) {
        var thumb = new Thumbnail(File (theFilePath) );
        md = thumb.synchronousMetadata;   
        xmp = new XMPMeta(md.serialize());
        var myHeadlineXMPProp = xmp.getProperty
            (XMPConst.NS_PHOTOSHOP, "Headline", XMPConst.STRING);
        return myHeadlineXMPProp;
    function XMPWriteHeadline(theFilePath, theTextStr){
        var thumb = new Thumbnail(File (theFilePath) );
        md = thumb.synchronousMetadata;   
        xmp = new XMPMeta(md.serialize());
        var myOrigHeadlineXMPProp = xmp.getProperty
            (XMPConst.NS_PHOTOSHOP, "Headline", XMPConst.STRING);
        xmp.deleteProperty(XMPConst.NS_PHOTOSHOP, "Headline");
        xmp.setProperty(XMPConst.NS_PHOTOSHOP, "Headline", theTextStr, 0, XMPConst.STRING);
        var updatedPacket = xmp.serialize
            (XMPConst.SERIALIZE_OMIT_PACKET_WRAPPER | XMPConst.SERIALIZE_USE_COMPACT_FORMAT);
        thumb.metadata = new Metadata(updatedPacket);
    To run this script, in main(), set the myFilePath variable to the path of a file that has an "IPTC Code" "Headline" property.
    This script, when run, sets the "Headline" property value to the value of myValue. After runing the script for the first time, take a look at the console log. You should see that Headline value displayed does not change between the two console entries. My log looks like this after the first run:
      Headline value: "undefined"
      Headline value: "undefined"
    The thing is, the second entry in the console listing, above, was created after the Headline value was set by XMPWriteHeadline(). The two values should be different between the two console entries.
    If you run the script a second time against the same file, you will see that the Headline value does contain the value that was written in the first run of the script--it just took some time to update the cache, I'm guessing. Here's the second run's log:
      Headline value: "Headline Test"
       Headline value: "Headline Test"
    So, what I'm looking for is a way to insert code (where the comment line "//*** I would like to refresh the cache here ***" appears), to force Bridge CS3 to refresh its cache so that when I call XMPGetHeadline() after calling XMPWriteHeadline(), the Headline value will return the value that was just written.
    I hope this is clear enough...
    Thanks!!!!
    -- Jim

  • Copy a metadata value from one field to another

    Hi
    I'm trying to write a rule to copy the value of custom metadata field xdocument and to ddoctile field.
    Can anyone point in the right direction. I'm created a rule with rule activation checking selected and checkin new then use the derived value and this does not work
    Thank you
    Cj

    You should be able to trace what's being sent from the screen, and what command is to be performed by the database.
    Turn on system tracing ( http://docs.oracle.com/cd/E21764_01/doc.1111/e10792/c02_processes.htm#CSMSP535 ) for requestaudit and systemdatabase
    If you confirm that the value for dDocTitle is indeed blank, check your script again (there can be a typo, or anything). I'd go with Boris's other recommendation and add a constant suffix, so that you can get rid of the constraint violation error and then fine tune everything else.
    P.S. actually, it's not a constraint violation, but a feature - see here http://ora-01400.ora-code.com/
    Edited by: jiri.machotka on Feb 3, 2012 3:04 PM

Maybe you are looking for