Metadata Properties in EP 7

Hi All,
This is in reference to the metadata properties in KM of EP 7,
i have to create the dependent properties in system group of Property metadata.
As an eg:
One Property will be Books, the dependent prop will be the categories of the books like Fiction, Non Fiction etc and so on...
this i have done in EP 6 but the same is not working in EP7.
This should come when somebody is trying to upload some document and he can then index the documents as above said categories....
Kindly Guide...
Thanks in advance...
Regards
Piyush B

-

Similar Messages

  • Add dropdown column in Metadata properties in Search SharePoint2010

    Hi all,
    i have some drop-down columns in library and i need to add these column in metadata properties in search. and dose dropdown column support in search refinement panel and in advance search page xml ? also i
    need to add library dropdown column in search center for filter the data on search page. is there any out of the box way to do this. 
    BestRegards|SharePoint Techies

    Hi  ,
    According to your description, my understanding is that you want to create  custom SharePoint 2010 Search Refiners for some drop-down columns  in library.
    For achieving your demand, you can refer to  the blog:
    http://blogs.msdn.com/b/spnext/archive/2010/08/09/customising-sharepoint-2010-search-refiners.aspx
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Eric Tao
    TechNet Community Support

  • Updating KM Metadata properties using KM API

    Hi All,
    We are tring to update the custom Metadata properties using KM API from the Abstract Portal Component.
    We have written the below code for updating the metadata.
    We have checkbox called "Region" which has multiple option values like "Asia,America,Europe". I was able to update this property with single value. But when i try to update with multiple value it is not working. I tried with comma seperated but it didn't work.
    Can somebody through light on this. How to update multiple values?
    Code snippet
    IUserManagementService service=(IUserManagementService)PortalRuntime.getRuntimeResources().getService(IUserManagementService.KEY);
              com.sapportals.portal.security.usermanagement.IUser user =null;
                   user= service.getDefaultFactory().getEP5User(request.getUser());
    IResourceContext context = new ResourceContext(user);
    RID path = RID.getRID("/documents/src/ex1.doc");
                        IResource res = ResourceFactory.getInstance().getResource(path,context);
                        IPropertyName propName = new PropertyName("http://ars.com/xmlns/cm","Region");
                        IMutablePropertyMap map = new MutablePropertyMap();
                        IProperty property = new Property(propName,"Asia");//How to pass multiple Values?
                        map.put(property);
                        res.setProperty(property);
    Helpful answer would be appreciated and Rewarded....
    Regards,
    Birla.

    Hi Birla,
    try this:
    IResource res = ResourceFactory.getInstance().getResource(path,context);
    IPropertyName propName = new PropertyName("http://ars.com/xmlns/cm","Region");
    java.util.List values = new List();
    values.add("Asia");
    values.add("America");
    values.add("Muenster, Germany");
    IProperty property = new Property(propName, PropertyType.STRING, values);
    res.setProperty(property);
    Best regards,
    Michael

  • Metadata Properties and XML Form

    Hello,
    I have two metadata properties, Country and City, City is a dependent properties, when I select a Country the City change according to the value of Country. I put  in the XML form two combo box associated with Country and City properties, the Country is filling correctly, but the City is filled with numbers instead of the name of the City, and it don’t change according to the Country. If I see the properties in the details of the Xml Forms this two properties work fine. What is wrong? It is possible to include a dependent property in a XML Form or there is another way to do that?
    Thanks in advance for your help
    Maria Teresa

    Hello,
    Thanks for your help, but I read this document and I create the properties Country and City, they work fine if I check this in the Details of a document, but when I put this two properties in the XML Form, the Country property works fine, but the City property isn't filled with the valued I configured. What is wrong, how can I put a dependent property in a XML Form?
    Thanks
    Maria Teresa

  • Automated process to set metadata properties of documents in KM

    Hi,
    I want to upload about thousand files in KM and set their metadata properties. There are five metadata properties among which two are links, one is thumbnail, and two are multivalued check boxes.
    Is there any tool/process available so that I can set these properties automatically?

    Hi Deepti,
    with NW04 SPS18, NW04s SPS09 you have a new KM Report "<a href="http://help.sap.com/saphelp_nw04/helpdata/en/44/8d6f90d85c6572e10000000a11466f/content.htm">Propagation of Properties</a>.
    It should help you achieve what you need.
    Best regards,
    Robert
    PS: Please consider reading the <a href="https://forums.sdn.sap.com/thread.jspa?threadID=117176">Rules of Engagement</a> by Craig Cmehil and reward the time people are spending answering your questions here on SDN. Thanks a lot!!!

  • Metadata properties in collaboration rooms

    Hi all,
    I want to define different metadata properties in different collaboration rooms.
    Is it possible? (We are using SP14).
    Regards,
    Inna

    Hi Inna,
    it's like you said, under .../workspaces/documents/ you have one folder for every room with documents iView.
    So it's not the same (sub)folder in each room.
    You can turn on the debugging settings to find out the path to the documents in one specific room. Should be something like you stated above .../workspaces/documents/<ROOMID>.
    Use this Path for the property restrictions.
    Hope this is clear now,
    Robert
    PS: Just an example:
    Property1 has the "Document Validity Patterns" = "/room_extension/cm_stores/documents/workspaces/documents/e32newddw323423423423/**"
    Property2 has the "Document Validity Patterns" = "/room_extension/cm_stores/documents/workspaces/documents/d34sdsd34dsd323423423/**"

  • Custom metadata properties give no results after upgrade from 2010

    Hi,
    Although I see my custom managed properties in my Search Schema in Central Admin, I am unable to find results using them e.g. 'VendorName:Marcel'. I have tried changing the column value in a document and performed a full crawl, but still no results. General
    searches such as 'Marcel' work fine and even something like 'author:marcel' (which is a built in managed property) works too. What am I missing? How can I determine the issue? Nothing stands out in the ULS logs.
    Background:
    I recently upgraded my managed metadata service and search service from 2010 to 2013.
    I then upgraded the content db holding my root site collection, and had to re-create my search service proxy to get searches to work. I then upgraded the content db which holds my content hub site collection. This includes site columns, many of which
    are also Managed Properties.
    Crawls are running with 8 errors - none of which are for the document I changed. Warnings are mainly about 'png' files.
    In 2010 I had scopes, which I no longer see in Central Admin. Although I have converted the content database without error, I have not converted the Site Collection to 2013 yet.
    macrel

    I had to set each metadata property 'queryable' property and then run a full crawl after which the results were returned. I am surprised that this did not come over from the upgrade of the search service.
    macrel

  • Multiselect  metadata propert in xml form

    Hi,
    I have created an xml form to create news items for our company. I would like to add a custom metadata property that i have created that is multiselect.
    Eg I have created a multi valued property named “sls_region” with allowed values All, America, Europe. I have assigned this property in custom parameter section of Editxsl file of xml form.
    I have created a filter with “sls_region “property with all allowed values for property available in dropdown.
    While uploading news whatever value is selected in dropdown of filter gets assigned to custom property of the form.
    To make it more clear
    sls_region has value All, America, Europe
    If in filter dropdown America is selected …..custom property has value set as America
    If in filter dropdown Europe is selected …..Custom property has value set as Europe
    If in filter dropdown All is selected …..Custom property has value set as All
    This is working fine .Code which I am using for this is
    <xsl:param name="ext_mars:sls_region" />(Defined in custom parameters section)
    <input size="30" type="hidden"> 
    <xsl:attribute name="name">wcmprop.mars:sls_region</xsl:attribute>
    <xsl:if test="$ext_mars:sls_region=' '">
                     <xsl:attribute name="value" /> </xsl:attribute>
                </xsl:if>
                 <xsl:if test="$ext_mars:sls_region!=' '">
                   <xsl:attribute name="value">
    <xsl:value-of select="$ext_mars:sls_region"/></xsl:attribute>
                </xsl:if>
    </input>
    But I need to change functionality like when user select All in dropdown of filter, all available values for that custom property get sets in form.
    If in filter dropdown All is selected …..Custom property should have value set as All, America, Europe
    Please guide me how to modify above code to achieve this.
    Regards,
    Madhvika

    Thanks for responding
    sls_region is a multi value  property with values ALL , America, Europe.
    My current code which is working fine is like …whatever I select in my filter (a sender iview, custom developed component with multi value properties sls_region appearing as dropdown) get passed to receiver iview (basic search iview with a modified epcf receiver as collection renderer).
    Receiver iview is used for both uploading news and searching news. To upload news I am using xml form. I have modified edit xsl of form ….by adding code as mentioned above in my thread in detail
    So if in filter if I select America as region …..Uploaded news will have sls_region property set to America.
    If All is selected uploaded news has sls_region set to All.
    Code mentioned in my thread is working fine but now I need to modify it like ….
    If I Select All in filter...Uploaded news should be set with all allowed values of  sls_region property i.e.  All, America, Europe.
    To make it more clear if you look at my code above I want to add logic like
    if (test="$ext_mars:sls_region=' '")
    <xsl:attribute name="value" /> </xsl:attribute>
    Else {
    If (test="$ext_mars:sls_region = ‘All’)
    Value of select = “All” and “America” and “Europe” means news  get uploaded with            available values of  sls_region
    Else
    <xsl:value-of select="$ext_mars:sls_region"/></xsl:attribute> only with what is selected in filter either America or Europe.
    I want to set all allowed values of property sls_region in case when ‘”All” is selected in filter.
    Hope this will help you to have a clear understanding of my problem.

  • Metadata properties - automatically set KM document properties

    Hi,
    I'm trying to set custom properties based on other custom properties.  I understand how the dependOn works for the "Allowed Values" and "Additional Metadata", but it does not quite cover my needs.
    Say I select one value from a dropdown list - I want the next property to be set to a fixed value the user can not edit.  This second property should be updated if another value is selected from the dropdown list.  There is not a 1-to-1 reference between the two properties, more of a n-to-1.
    Would the easiest thing be to write a service that would update the document properties?
    Hope someone understands my needs, and has the answer to them.

    Hi Bjorn,
    the easiest thing is to write an own metadata property extension. See more inforation in this SDN article:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/kmc/implementing a metadata extension for kmc properties.article
    Regards,
    Thilo

  • Customizing metadata properties in DAM

    Hi all,
    I have been looking into leveraging the DAM to allow for content providers to attach specific global meta data to particular assets. Perhaps I am thinking incorrectly on a strategic level, so any alternate approaches are appreciated as well.
    The problem is, we have a set of affiliates which are listed out in the dam, containing a prescribed set of images/assets/links. These providers can be viewed via pages in CQ5, but also within a set of mobile apps for droid and iPhone.
    The iPhone and droid crews are currently accessing a set of JSON files to get the required metadata, which is placed within the DAM. I think is a very nasty solution, as this data will not be filled in by developers, but rather an affiliate on ramp team. (Essentially a team of Sales staff).
    What I am looking into now, is to store the additional metadata on an affiliate folder as JCR metadata, which I have successfully done, but only by generically customizing the properties for folders/images. Ie, for folders, right click -> properties.
    You can add additional items to the basic properties tab by adding the relevant component nodes to /libs/foundation/components/primary/sling/OrderedFolder/tab_basic/items, even add entirely new tabs by creating a new node at the /libs/foundation/components/primary/sling/OrderedFolder level (i.e. myTab) and then specifying it in the dialog /libs/foundation/components/primary/sling/OrderedFolder/dialog/items/tabs/items
    The problem is that the tab/extra question fields will be universally displayed, and are not folder dependant, so they appear in every folder context.
    What I would love to do, is to have it so that if you access http://localhost:4502/damadmin#/content/dam/affiliate/affiliateA you get your newly customized options/panels etc, but if you were to view properties on http://localhost:4502/damadmin#/content/dam/affiliate you would not get any additional questions being asked.
    Any help would be greatly appreciated.

    Recently there was a similar discussion internally & suggestion came from group was
    1.    Create & confiure an acl.
    OR
    2.    using Listener on the particular field you want to hide and then hide the field based on the path. To do this, create a listeners node of type nt:unstructured under the field  (e.g. /apps/dam/content/asseteditors/image/jpeg/formitems/person/listeners) and set the beforeloadcontent property to [1]. This will hide this field for assets under /content/dam/geometrixx. You could adjust this to meet other requirements.
    Verify 2 & let us know how it goes.
    [1]  function(f, r, p) { if (p.indexOf("/content/dam/geometrixx/") == 0) { f.hide(); } return true; }

  • Multivalued metadata properties in XML Form Builder

    I have created some multi-valued properties in KM having their own namespace. When I assign these properties to the XML FB, the values are loaded only if I use a combobox. But my requirement is to selct multiple values, so if I associate a checkbox as the data type, I find none of values are loaded into XML project. Have anyone tried this out? Is it a bug? I am using SPS14.
    Kind Regards,
    Tridib

    Hi Detlev,
    I tried the workaround you described. Defined the allowed values, checked the declared property as "Multi-Valued", selected "allowedvalues_multivalued" as property renderer, refreshed the properties inside of the XML Forms workbench and wired this property to the checkboxes whose captions and values correspond to the allowed values just created and so on.
    When I generate the XSL template, click on the checkboxes inside of my HTML output and click on "Save" only the first value of those I have checked will be saved. (as to be seen in the details of the generated document)
    Although it seems that I have done everything all right, obviously I haven't.
    When I look into the generated XSL document I can see why this happens because several checkboxes with the name will be rendered.
    What did I wrong? Any help would be appreciated.
    (we run EP 6.0 SP 13)
    Thanks in advance
    Ralf

  • Property Metadata - Properties (Type User Group)

    Dear All,
    I want to have a custom property in KM where i am able pick "User Groups" created in User Administration as value of that property.
    In KM property we can define property type as "User" but i want is "User Group", Is there any option i can make this happen
    Regards,
    Tushar Dave

    Hi Prem,
    in order to see your property, you need to integrate it in a Property (Structure) Group and not only in a Property (Metadata) Group. You can create this group under "Global Services" -> "Property Structures" -> "Property Groups" and add your property to the "Group Items". Afterwards you need to add the just created group to the "Group Items" of the Property (Structure) Group "all_groups". By that you will have a new tab with your property in it.
    Alternatively, if you use the Property (Metadata) Group "default" in your property definition (and not your own group, you should be able to see your property in the "Miscellaneous" tab, without having to add it to a Property (Structure) Group.
    Hope this helps,
    Robert
    PS: Check again all parameters, to be correct, as mentioned in SAPHelp. For example the entry for "Document Validity Patterns (csv)" must be "<b>/</b>documents/<YOUR_FOLDER>/".

  • Set the values of metadata properties from java

    Hi everybody,
    I created a metadata property "Category" in System Admin - System Config - KM - Global Services - Property Metadata.
    My requirements:
    When a user creates a document (upload or new txt file, etc.) in folder X the value of this metadata propery should also automatically be set to value X. So that the user doesn't need to set this value himself.
    This way we can have more reliability on the accuracy of the metadata of this field.
    Can anybody help me on how to set this property automatically in the screen for the creation of upload of a new file?
    Thanks
    Kind regards
    Wouter

    Hi Robert,
    It's been a while but I'm back
    We finally decided which way to go for this development (as it was on hold untill now) and we decided to go with the KM Repository service.
    I already started implementing this service and So far it reacts on the creation of new documents (CREATE_CHILD event).
    public void received(IEvent event)
       try{
           if(event instanceof IResourceEvent)
              IResourceEvent resevent = (IResourceEvent)event;
              switch(resevent.getType())
                 case ResourceEvent.CREATE_CHILD:
                         IResource res = resevent.getResource();
                         break;
    The resource (res) I get from the resourceEvent (resevent) is the parrent resource of the newly created resource. What I need is the newly created resoruce itself.
    Do you happen to know if there is an interface or method somewhere through which I can get access to this new resource?
    Otherwise the only way to do this would be to loop over the children of the parent folder and get the newest one. But this would just kill the performance as the folders keep on growing...

  • Use Filename as Basis to Set Various Metadata Properties

    Hi,
    I have folders full of images. The filenames will be in the form of
    ARTIST#EVENT#PHOTOGRAPHER#RANDOMNUMBER.jpg but could also potentially be
    ARTIST at EVENT by PHOTOGRAPHER - RANDOMNUMBER.jpg. I'm happy to use whichever is easier. Basically I can set any delimiter I want and vary it up if needed
    I have seen a few examples where the filename is set to the title, description etc but I'm having no luck editing the files to what I need. Ideally I'd like
    Document Title: Artist at Event by Photographer
    Author: Photographer
    Description: Artist at Event by Photographer courtesy of Company Name
    Keywords: Artist, Event, Photographer, Company Name
    I presume this is possible but was hoping some kind soul out there could help!
    Thanks in advance,
    JJ

    I'm now using Adobe CC and the script doesn't seem to work anymore
    i select the images, click on the option under "tools" and nothing happens. It just goes back to view the desktop. This is my file in full
    #target bridge  
    if( BridgeTalk.appName == "bridge" ) { 
    var vfRename = new MenuElement( "command", "VF Rename", "at the end of Tools" , "vfRename01" );
    vfRename.onSelect = function () {
    app.document.deselectAll();
    var thumbs = app.document.getSelection("jpg");
    for(var a in thumbs){
    var f =thumbs[a].spec;
    var parts = decodeURI(f.name).replace(/- \d+.jpg$/i,'').split('#');
    if(parts.length == 3){
    setMetadata( File(f), parts )
    function setMetadata( file, parts ){
    var Title = parts[0].toString() + " at " + parts[1].toString() + " by " + parts[2].toString();
    var Desc = parts[0].toString() + " at " + parts[1].toString() + " by " + parts[2].toString();
    var Author = parts[2].toString();
    if ( !ExternalObject.AdobeXMPScript ) ExternalObject.AdobeXMPScript = new ExternalObject('lib:AdobeXMPScript');
            var xmpf = new XMPFile( File(file).fsName, XMPConst.UNKNOWN, XMPConst.OPEN_FOR_UPDATE );
            var xmp = xmpf.getXMP();
            xmp.deleteProperty(XMPConst.NS_DC, "title");
            xmp.appendArrayItem(XMPConst.NS_DC, "title", Title, 0, XMPConst.ALIAS_TO_ALT_TEXT);
            xmp.setQualifier(XMPConst.NS_DC, "title[1]", "http://www.w3.org/XML/1998/namespace", "lang", "x-default");
            xmp.deleteProperty(XMPConst.NS_DC, "description");
            xmp.setLocalizedText( XMPConst.NS_DC, "description", null, "x-default", Desc );
            xmp.deleteProperty(XMPConst.NS_DC, "creator");
             xmp.appendArrayItem(XMPConst.NS_DC, "creator", Author, 0, XMPConst.ARRAY_IS_ORDERED);
            for(var s in parts){
            xmp.appendArrayItem(XMPConst.NS_DC, "subject", parts[s], 0,XMPConst.PROP_IS_ARRAY);
          if (xmpf.canPutXMP( xmp )) {
             xmpf.putXMP( xmp );
          xmpf.closeFile( XMPConst.CLOSE_UPDATE_SAFELY );

  • How to use Properties Metadata global service using KM API's

    Hi,
    I have a requirement where I need to get the list of property Namespaces configured in the KM Portal and also all property Names associated with each Namespace.
    I was able to see the list of Namespaces in KM portal at "ContentManagement --> Global Services --> Property Metadata --> Namespaces"
    Is there any way to access the Property Metadata service and get the list of Namespaces?
    I have seen few posts using the IPropertyConfigurationService as below:
    IPropertyConfigurationService configService;
    try {
    configService =
    (IPropertyConfigurationService) ResourceFactory
    .getInstance()
    .getServiceFactory()
    .getService("PropertyConfigurationService");
    } catch (PropertyConfigurationServiceException e) {
    e.printStackTrace();
    I am not sure if IPropertyConfigurationService has API's to give the list of Namespaces as I was not able to figure out the jar file in which API's related to IPropertyConfigurationService exists.
    Will the IPropertyConfigurationService be useful to fetch all the configured Namespaces? If so, which jar file should I place in my build and class path?
    Also, Can I get the property names associated with each namespace?
    Any help or hint is greatly appreciated.
    Thanks,
    Suresh.

    Hi Praveen,
    Thanks for the information on km.shared.service.propertyconfig_api.jar file. I have located the file in the mentioned location and was using it sucessfully.
    I was able to use IPropertyConfigurationService  and fetch the MetaData properties in the Portal application.
    But, when I place the same code on WebDynpro application it doesn't work.
    I have placed the km.shared.service.propertyconfig_api.jar in lib folder of the WebDynpro project, but on runtime I get ClassNotFound exceptions of various classes.
    I was wondering if there is any configuration that need to be mentioned for accessing KM Portal applications in WebDynpro.
    I have found one post related to this which was talking about using IPropertyConfigurationService in WebDynpro, but not directly, using EJB
    Link:[https://www.sdn.sap.com/irj/sdn/thread?threadID=338383]
    Can you throw some hints on how to go about this issue.
    Thanks,
    Suresh.

Maybe you are looking for

  • How do I install Mountain Lion on FileVault2 encrypted System disk

    So I got a Mountain Lion installation DVD from our system administrator at work to upgrade my 2010 MacBook Pro. I run the installer from the disk under Lion and it copis stuff to /OS X Install Data and reboots. Now, it just displays the "Lion" passph

  • Convert Line2 To regular line

    Hey all, I was just curious if there are any ways to convert my mic signal from my line2 jack to my line in jack on the back of the sound card without actually plugging it in back there?The problem is that games with built in voice, CSS, BF242 for ex

  • HT5704 how can i use this new software

    hi apple company my name is Ibrahim who have Iphone 4 and i saw attention to uptodate software so i don't have any idea about this software is iOS 6.1.3 could you help me how can i use this software

  • HT1212 My iPad is disabled and I am unable to get help

    I had originally forgot password on iPad after many tries system locked me out now it's giving a message disabled

  • IMessage cannot login, spinning forever

    Recently I'm facing a problem on my macbook pro. My iMessage suddenly failed to log in. The wheel just kept on going for ever. However, if I don't log in, but click on log in later, I can open the chat window and all my old messages are there. If you