Adding Custom Property to Files

I am trying to add a custom property to file in a repository and I am apparently missing something.
I have created a custom property and and metadata extension for the language files. I add the property to the property group custom. I added the custom property to the folder display under presentations fine.
The issue is when I hit the details of the files I can not find anywhere where my customer property show up...
Any ideas??
D.

Hi Derek,
     Looks like you have done everything correctly. The property should show up under custom tab. I would recommend going through the following PDF and see if you missed anything.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/working with metadata properties in km.pdf

Similar Messages

  • Adding Custom Property to all documents

    Hi Experts,
      I have requirement to add custom property for documents. This property should be displayed under custom Tab of all documents. How can i achieve this?  Please help me regarding this.
    Regards,
    Kumar.

    Hi Kumar,
    Make all the properties, indexable.
    This u can do in the configuration of properties.
    Then these props will be searchable
    U need to come up with how u want to search these docs
    Probably a search iview and its search options and search components will be reqd.
    Mention the requirements in that way. U can start a new thread for searching rather
    than continuing with this thread as the subject is adding custom property.
    Regards
    BP

  • Adding Custom Property in Catalog

    Hi all,
    trying to add a new property in the product and SKU level. I have added the below code in custom catalog.xml.
    And the below SQL script, i have got by invoking the following like in . In dyn/admin , atg/commerce/catalog/productcatalog , generate SQL link...
    but i am getting the following error when executing the SQL script.
    Pls let me know the best way to add a custom property in catalog, n generate SQL for same
    <item-descriptor name="product" id-space-name="product" xml-combine="append">
    <table name="abc_product" type="auxiliary" id-column-name="product_id">
    <property name="isABC" data-type="boolean" default="false" column-name="abc"
    category-resource="SIM" display-name-resource="abc">
    <attribute name="propertySortPriority" value="-1"/>
    </property>
    </table>
    </item-descriptor>
    -------------------------------------------------------Error when executing script----------------------
    Error starting at line 1 in command:
    CREATE TABLE abc_product (
         product_id           varchar2(254)     NOT NULL REFERENCES dcs_product(product_id),
         abc           number(1)     NULL,
         CHECK (abc IN (0, 1)),
         PRIMARY KEY(product_id)
    Error at Command Line:2 Column:61
    Error report:
    SQL Error: ORA-02270: no matching unique or primary key for this column-list
    02270. 00000 - "no matching unique or primary key for this column-list"
    *Cause:    A REFERENCES clause in a CREATE/ALTER TABLE statement
    gives a column-list for which there is no matching unique or primary
    key constraint in the referenced table.
    *Action:   Find the correct column names using the ALL_CONS_COLUMNS
    catalog view

    @Gurvinder,
    I changed the DDL/SQL script. this script worked in CATAA/CATAB schema, But failed in Publishing schema. Find the problem below in publishing schema.
    CREATE TABLE abc_product (
    product_id varchar2(254) NOT NULL,
    abc_uin number(1) NULL
    ,constraint sim_product_pk primary key (product_id)
    ,constraint sim_product_f1 foreign key (product_id) references dcs_product (product_id));
    -----------------------CATA Schema-------
    CONSTRAINT "DCS_PRODUCT_C" CHECK (nonreturnable in (0,1)) ENABLE,
         CONSTRAINT "DCS_PRODUCT1_C" CHECK (disallow_recommend in (0,1)) ENABLE,
         CONSTRAINT "DCS_PRODUCT_P" PRIMARY KEY ("PRODUCT_ID") // there there is only one primary key
    ------Publishing Schema----------------------------------
    CREATE TABLE "ATGSIMPUB"."DCS_PRODUCT"
    (     "ASSET_VERSION" NUMBER(19,0) NOT NULL ENABLE,
         "WORKSPACE_ID" VARCHAR2(40 BYTE) NOT NULL ENABLE,
         "BRANCH_ID" VARCHAR2(40 BYTE) NOT NULL ENABLE,
         "IS_HEAD" NUMBER(1,0) NOT NULL ENABLE,
         "VERSION_DELETED" NUMBER(1,0) NOT NULL ENABLE,
         "VERSION_EDITABLE" NUMBER(1,0) NOT NULL ENABLE,
         "PRED_VERSION" NUMBER(19,0),
         "CHECKIN_DATE" TIMESTAMP (6),
         "PRODUCT_ID" VARCHAR2(40 BYTE) NOT NULL ENABLE,
         "VERSION" NUMBER(*,0) NOT NULL ENABLE,
         "CREATION_DATE" TIMESTAMP (6),
         "START_DATE" TIMESTAMP (6),
         "END_DATE" TIMESTAMP (6),
         "DISPLAY_NAME" VARCHAR2(254 BYTE),
         "DESCRIPTION" VARCHAR2(254 BYTE),
         "LONG_DESCRIPTION" CLOB,
         "PARENT_CAT_ID" VARCHAR2(40 BYTE),
         "PRODUCT_TYPE" NUMBER(*,0),
         "ADMIN_DISPLAY" VARCHAR2(254 BYTE),
         "NONRETURNABLE" NUMBER(1,0),
         "BRAND" VARCHAR2(254 BYTE),
         "DISALLOW_RECOMMEND" NUMBER(1,0),
         "MANUFACTURER" VARCHAR2(40 BYTE),
         CONSTRAINT "DCS_PRODUCT_C" CHECK (nonreturnable in (0,1)) ENABLE,
         CONSTRAINT "DCS_PRODUCT1_C" CHECK (disallow_recommend in (0,1)) ENABLE,
         CONSTRAINT "DCS_PRODUCT_P" PRIMARY KEY ("PRODUCT_ID", "ASSET_VERSION") //there is two primary keys
    Regards
    Edited by: Bravo on Apr 22, 2013 5:23 AM

  • Custom property for file in File System Repository

    Hi,
    I have create a folder on KM using File system Repository access a network path, but facing a problems that the folder can't support custom property and can't classifiable.

    hi
    http://help.sap.com/saphelp_nw04/helpdata/en/69/d96b83a84611d5993600508b6b8b11/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/43/2e6868c6ce72408d982213e314fda1/content.htm.<b>please don,t forget points</b>
    with regards
    subrato kundu

  • How to access custom property for attribute and control in .vm file?

    Hi,
    I have created custom properties in OPM for attribute and apply also that properties to attribute.
    But if how to access that value in .vm file?
    I accessed using
    $attribute.getProperty("ScreenProp", "default value")
    but it's not working but same is worked for screen custom property

    $control.getProperties().get("PropertyName") works for custom properties on a control
    If you output $control and $control.getProperties() to the html you can lookup the API for the used classes.
    I can't give an example of the html because it's stripped in this forum
    Edited by: Peter van de Riet on 20-mei-2011 14:18

  • How can I add a custom property to an object, like a paragraph?

    Hi,
    We have a merge process that combine multiple document into one and I need to store the filename of the imported file at the beginning of each merge point.   Each document that we merge contains a Title paragraph and I was wrongly assuming that I could set the label property of this paragraph with my value for future references, but only to find out that the paragraph object doesn't have a label property.
    I also tried setting a custom property by doing this
    paragraph.properties["myCustomProperty"] = "value";
    It doesn't crash, but if I try reading the value it is always undefined.
    I'm looking for alternative, or on how would you approach this, can you please advice?
    Your help is much appreciated.
    Thanks

    Peter Kahrel wrote:
    You could label the paragraph's parent story. Is that any good?
    Peter.
    Well I tought about it, but then I have to find a way to keep track of which paragraph this value belongs to and so far I havent found a way to uniquely identify a paragraph and I can't assume that the merged document won't be edited so I can't use the index.
    Peter Kahrel wrote:
    Otherwise use a paragraph property that you never use and that doesn't affect composition, such as .bulletsTextAfter
    P.
    It may be an alternative, but that may cause problem in the furture if they ever decide to use or change that properties.  Plus, I'm not sure if can put anything I want in there, but that would be worth the try.

  • How to reference a custom property in a vo transient attribute expr + bug

    Hi all
    I have created a transient attribute with an expression that evaluate null content to replace it by a appropriate text.
    <ViewAttribute
        Name="DescriptionUI"
        IsUpdateable="false"
        IsSelected="false"
        IsPersistent="false"
        PrecisionRule="true"
        Type="java.lang.String"
        ColumnType="VARCHAR2"
        AliasName="VIEW_ATTR"
        SQLType="VARCHAR">
        <TransientExpression><![CDATA[((Description == null) ? 'Pas de description' : Description)]]></TransientExpression>
      </ViewAttribute>I have defined a custom property for that attribute that contains the message text. I was surprised to see that the custom property was not associate with the attribute in the source file. Don't understand where the association is done
        <Properties>
          <CustomProperties>
            <Property
              Name="flex.tree.noLabel"
              ResId="flex.noDescription"/>
          </CustomProperties>
        </Properties>I had some difficulties to use the custom property editor. When creating a new related one by using an existing resource the property column value is not changed and the content 'Property' is generated. Because no relationships exists between attribute and the property, the entry is lost in the table referring custom property list for the attribute when your come back into the view object or if you save an another entry in an another attribute.
    So my first question ? Is the attribute editing part the right part to define custom property pairs if they are not related to attributes ? is it a bug ?
    My second question is : is it possible to evaluate the bundle in the expression (replacing the literal 'Pas de description' by an expression) ? What is the expression to use ? Where it is described to do such things in the help or in the documentation ?
    Thank you

    This is wrong
    ((Label == null) ? {FlexParameterModelBundle['flex.tree.noLabel']} : Label)
    What is the correct syntax to refer to the project model standard bundle in the groovy expression ?
    Thank for the help !

  • Custom Property in Microsoft Word 2010 Document Template and Sharepoint 2010 Content Type not Syncing up

    I wrote a macro in a Word 2010 template with a custom property called HeaderFooter (a Yes/No value). When the property is changed to No, the header and footer are hidden, otherwise, the header and footer are displayed.
    I added the template to a SharePoint 2010 Document library, with a content type DocInformation and a column name HeaderFooterOffOn that I want to map to the custom property HeaderFooter in the Word Document.
    The macro isn't working in SharePoint, though, because when the user clicks on the HeaderFooterOffOn in the DIP of the Word Document, the Word Custom Property (HeaderFooter) isn't changing with it.
    How do I get these two synced up, so that when the SharePoint column is changed, the Word Document's custom property simultaneously updates with it?

    Hi kevinkevinc,
    There is no direct way to run macro in SharePoint
    As a workaround, I suggest you use SharePoint Event Receiver to run some custom code when column changed.
    Here is a similiar thread for your reference:
    http://social.msdn.microsoft.com/Forums/office/en-US/249249e2-3263-4001-86fa-bda342d95f35/run-word-macro-on-newly-uploaded-sharepoint-word-documents?forum=sharepointdevelopmentlegacy
    More information:
    SharePoint Event Receiver:
    http://msdn.microsoft.com/en-us/library/ee231563.aspx
    http://msdn.microsoft.com/en-us/library/ff398052.aspx
    Best Regards
    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]
    Zhengyu Guo
    TechNet Community Support

  • Problem Adding Custom JSF Components to Oracle JDeveloper 10g (10.1.3) Prev

    I'm having a problem on Adding Custom JSF Components to Oracle JDeveloper 10g (10.1.3) Preview (http://www.oracle.com/technology/products/jdev/101/collateral/101/adffaces/howto_customcomponents.html)
    The step 1 of 5 isn't visible for me and I don't see the "Install from local file" option to select the adf-faces-bundle.zip from my file system. The OTN check for updates don't prove the ADF Faces...
    What may I do?

    And...
    If "Check for Updates Wizard" is not launched, you can try to set LANG.
    see: 10.1.3 Can't not launch Update Wizard in Japanese environment.
    10.1.3 Can't not launch Update Wizard in Japanese environment.
    Thanks.
    Takuya Ono

  • Problem in adding Custom Provider for Work Management Service

    Hello,
    I'm facing an issue in adding custom provider for work management service. As you are aware, Work management service is a Provider model and we
    can integrate with other systems by adding custom providers. So with that confidence, i have started writing a connector as mentioned below.
    Step - 1: Added new provider xml in the below path
    "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\CONFIG\WorkManagementService\Providers"
    Provider Name: provider.bizagitasklist
    Provider XML Content: 
    <Provider ProviderKey="DAA52AF3-A147-4086-8C0C-82D2F83A089D" OverrideProviderKey="" Assembly="adidas.TaskProvider, Version=1.0.0.0, Culture=neutral, PublicKeyToken=5d6f3e6be60a351b" > </Provider>
    Step -2: Added a class which inherits "IWmaTaskProvider" and implemented the override methods.
    public class BizAgiTaskListProvider : IWmaTaskProvider
    public string LocalizedProviderName
    get { return "BizAgiTaskListProvider"; }
    public string ProviderName
    get { return "BizAgiTaskListProvider"; }
    public Microsoft.Office.Server.WorkManagement.CalloutInfo GetCalloutInfo(IWmaTaskContext context, string taskExternalKey, string locationExternalKey)
    return null;
    public DashboardExtensionInfo GetDashboardExtensionInfo(IWmaBasicProviderContext context)
    return new DashboardExtensionInfo { ClassName = "SP.UI.SharePointExtension" };
    public BulkEditResult HandleBulkEdits(IWmaTaskContext context, BulkEdit updates)
    return null;
    public TaskEditResult HandleTaskEdit(IWmaTaskContext context, BaseAggregatorToProviderTaskUpdate taskUpdate)
    return null;
    public void RefreshSingleTask(IWmaTaskRefreshContext context, string externalKey)
    public void RefreshTasks(IWmaTaskRefreshContext context)
    //context.WriteProviderCustomData(
    Step – 3: Written a class to fetch the tasks from BizAgi System which has method to provide the task data.
    But I’m not able to feed those tasks in the class written in Step – 2 as I’m able to find any method which will take Tasks as Input and I’m not
    sure about the format of tasks.
    I’m able to debug the provider, and the breakpoint hitting in only one method and two properties.
    (LocalizedProviderName, ProviderName, GetDashboardExtensionInfo).
    Can you please help me to proceed further in implementing the above solution?
    Best Regards
    Mahesh

    Hi Mahesh,
    Although the implementation of work management service application is based on the provider model, I reckon the current SP 2013 RTM does not support custom providers. Only SharePoint task lists, Project server and MS Exchange are supported for now.
    Regards,
    Yatin

  • Can't filter community query by custom property

    I'm trying to search for a community through the objectManager based on a custom property value (part of a LoginPEI that redirects the user on login to a personalized community).  The Query() call is failing with the following exception:
        ParseQueryFilter error on clause #0
        (0x80070057) Invalid property ID specified (0xc8)
    where 0xc8 is the ID of the property I'm filtering by.
    The same code works correctly if I filter by PT_PROPIDS.PT_PROPID_NAME instead, making me think it's something about either that property in particular, or just filtering managed objects by extended props in general.   I've confirmed that the property has been added to the community object through the Global Object Property tool.
    Code shown below (and, yes, I'm aware that the results if there are more than one matching object are undefined).  Any advice appreciated.
    Thanks,
    Pete
        private int lookupObjectBySingleProperty(IPTSession session, int classId, int propertyId, Object value) {
          IPTObjectManager objectManager = session.GetObjectManagers(classId);
          Object[][] filter = {
                                new Object[] { propertyId },
                                new Object[] { PT_FILTEROPS.PT_FILTEROP_EQ },
                                new Object[] { value }
          IPTQueryResult results = objectManager.Query(
            PT_PROPIDS.PT_PROPID_OBJECTID, //Property properties
            -1, // search all folders -- might want to restrict this later
            PT_PROPIDS.PT_PROPID_OBJECTID, //sort
            0, // start at first result
            -1, // return all results
            filter); // filter
          if (results.RowCount() == 0) {
            return -1;
          return results.ItemAsInt(0, PT_PROPIDS PT_PROPID_OBJECTID);

    can you try filter this way:
    var sURI = 'http://<host>:<port>/sap/opu/odata/sap/ZTESTODATA_SRV/';
      oModel = new sap.ui.model.odata.ODataModel(sURI, false),
      sap.ui.getCore().setModel(oModel);
      var sRead = "/pdfset(customer='" + oTF.getValue() + "')"  ;
    oModel.read( sRead, null, null, true, function(oData, oResponse){
      var pdfURL = oData.url;

  • How to force updatedisplaylist in a skin when custom property changes

    Hi Folks,
    I have created a custom component based on a Spark Button.  In that custom component I have added a single, public, bindable property - let's call it Fred.
    I also have a custom skin, based on the Spark Button skin.  It's basically just like the delivered skin, just a bit different graphics stuff.  I have applied the custom skin to the custom button component.  So far, so good.  However...
    When a user action causes the Fred property to change on a custom button instance, I need my custom skin to re-draw something.  It appears that I need the skin's updateDisplayList function to fire.  Unfortunately, it appears that the only time that it fires is when "real" properties are changed, like 'left' or 'width'.  How can I get the custom skin to updateDisplayList when this fake, custom property changes?
    p.s. - the custom skin can 'read' the custom Fred property just fine.  And, if I set the Fred property and then 'mouse over' the custom button instance, the updateDisplayList fires...too late of course, but it does fire.
    I have read the docs, but there is not much written about updateDisplayList, or when it fires, or how to make it fire.
    Thanks,
    -David

    Good question...in my skin's 'creationComplete' event I call a function in the skin.  That function 'evaluates' the host component's Fred propertey, and based on what it finds, it draws some stuff:
    protected function doSpecialDrawing():void
         var hostFred:String = hostComponent.Fred;
         if (hostFred == "certain_value")
              //set some property in one of the path objects in my skin to a certain value
         else if (hostFred == "other_value")
              //set some property in one of the path objects in my skin to some other value
    When I created the skin, I did not anticipate the need to dynamically respond to setting the Fred property/value.
    I've placed a call to the 'doSpecialDrawing' function inside the skin's updateDisplayList, but unfortunately, the updateDisplayList does not seem to get called in real-time when I set the Fred property in a custom button instance.
    I'm all ears here... still a beginner/novice with Flex...
    Thanks,
    -David

  • Adding Custom URLs to the Dashboard with variable ?

    Hello Everyone,
    I can add url in the dashboard...
    refer to http://oraclebizint.wordpress.com/2008/01/31/oracle-bi-ee-101332-adding-custom-urls-to-the-dashboard/
    My Step is :
    1. Go to {OracleBI}\web\msgdb\messages and copy the file commonuitemplates.xml to {OracleBIData}\web\msgdb\customMessages (if you dont have this folder create a new one). Now open this file in a text editor
    2. Search for the web message kuiMainBarActionsTable and add the below listed lines immediately after the tr tag
    <!--
    <td class=”DashBarProductCell”><a href=”http://xxx:7777/pls/apx/f?p=104:42:::::P0_USER:[bAdministrator” target="@{target}" onclick="saw.closeChildWindows();">Log Out</td>
    -->
    I try to change "Administrator" with session variable => session.currentUser.id
    Does anyone know how to change it?

    Can you try this "session.serverVariables.VARIABLENAME"

  • Adding Custom buttons to ECL Viewer

    Hello Everyone,
    We have a requirement where I need to add a custom button on the Redlining section of the ECL Viewer. Like currenty, SAP provides tools like Drawing a line or Square or Rectangle and also Insert Image kind of functionality when doing Redlining. So, the question is in this section along with SAP buttons, can I add a custom button out there which helps to provide my own functionality like adding custom drawing tools?
    Please let me know if thats possible or does it requrie modifying some of the SAP DLL files.
    Thanks,
    Shashidhar.

    Dear Shashidhar,
    regarding your request I have to inform you that the ECL Viewer is developed by a third-party vendor company and so from SAP point of view there is no chance to enlarge the buttons for redlining in the ECL Viewer.
    Best regards,
    Christoph

  • Retrieve resources ordered by a custom property value

    Hi guys,
    I'm newbie in SAP development and I have the following problem.
    I have developed a custom Java servlet which runs in SAP Portal NetWeaver '04; now, I need to retrieve a set of files in a specific RID but, they have to be ordered by a value of a custom property: does anyone can show me the way to do that?
    Is it possible to give a kind of sorting like "descendent" or "ascendant"?
    Best regards,
    Paolo

    Hello Paolo,
    I don't think you can do sorting of KM Resources with your custom property.
    My advice would be to retrieve all the Resources (Files) and do the comparing/sorting in your servlet.
    Ofcourse you can use the standard java class Comparator to do this, check this for more:
    How do you sort on IGroup's group name?
    Greetings,
    Praveen Gudapati
    p.s Points are always welcome for helpful answers

Maybe you are looking for

  • How to add a facet to an existed project in my plug-in?

    In my plug-in on Workshop, I want to add a facet to a project dynamicly, and I try two ways, but it does't work: 1: use method "installProjectFacet" facetedProject.installProjectFacet(fv,fv.createActionConfig(Action.Type.INSTALL,project.getName()), m

  • Embedding a pdf file into a report

    Hello. I have a pdf file stored in a blob column of DB. Can I include this column (containing the pdf) in a report and shows the pdf contents in that report? How? Thanks. Rosa Paz Espinosa

  • Possible that BORIS 3D title tool has EXPIRED?

    Most peculiar.... I had been using the Boris 3D title tool in my fcp 5.0 a few weeks ago. Love it. Now that I'm back on the project and needing to use it again, it doesn't appear under my effects tab. (neither the effects drag down menu or the effect

  • Issues create quick events with GMT timezone in Calendar.

    Hi All, I have the following issue. I live The Netherlands but for my work I work with the UK. As they are in GMT and I am in CET I regularly create an event with GMT time in mind. I also use Quick Events a lot. So I click on create quick event and I

  • What to put in x3 ultrabase in the ultrabay 2000?

    I have discovered there is a blu-ray device 43n3200 but it requires an Ultrabay Enhanced to Ultrabay 2000 adapter 73P3268. Further, some say the 16mb GPU (VPU) of the x31-2672XXL will not support blu-ray well. Any thoughts? My x31 is a P-IV-M1.4 w/2g