Icon for Property Metadata

Hello everyone,
I want to assign an icon to every Property Metadata that i define.
When you create a new property, you can enter property metadata values in csv format. Is it possible to associate an Icon  as well with the MetaData Property ?
Its possible to enter MIME types as well in csv format. I am trying to use it but the tab is not displayed if I use any property renderer related to image. If I set "property renderer" to "Not set" then I can see my MetaData values but no Icons / Images.
I believe, diplaying images as property metadata should be possible. Has anyone tried it? I am not using the correct combination of property and property renderer I guess.
Help me out in this case ..
Cheers!!
Ashutosh

Hi Ashutosh,
Form my understanding of the <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/1a/9a4a3b80f2ec40aa7456bc87a94259/content.htm">OnlineHelp</a>, I do not see how to do what you want without programming.
The MIME types we can enter in CSV format, refer to a list of document types to property apply.
As the allowed values are "text", I do not expect it is possible to associate images to these texts.
Sorry not to have better news
Vincent

Similar Messages

  • Sorting for property metadata

    Hi All
    I have created a custom metadata and KM navigation iview. This custom metadata property
    is displayed in the iview using layout set. I am getting the option to sort by this property. Is there any way to remove the sorting option for metadata properties?
    Points will be awarded for useful answers.
    Regards,
    Yoga

    That's it!
    To change the data type of a property you have to change it on database.
    So you'll first change the type-attribute of your property (in the "Property Metadata") into the used type.
    Then you open the "Enterprise Manager Console" as standalone to edit the database. Enter the network => Databases => DATABASE.world and login as sysdba => enter scheme => sapDATABASEdb => tables => kmc_dbrm_names. Here you can have a look for your property (show content). The ID belongs to you'd notice.
    After that you're changing to database kmc_dbrm_props (show content). Select (by SQL-Statement) the localnameid by the noticed number. By changing the column "typ" or "type" you can change the datas type.
    1 stands for string
    3 stands for integer
    5 stands for date
    All of the type-numbers you can find in the table kmc_dbrm_props. The content it belongs to you'll have to find out on your own. By using SQL-Statement you can change all entries you want.
    Good Luck ;-D
    Janko Mühling

  • 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

  • Get a list of all available Property MetaData through API

    Hello,
    We have create some custom Property MetaData and assigned them to an new group.
    Now I need to be able to get a list of all the Property MetaData in this new group using a SAP portal API.
    But the only code snippets I've found requires at least the name if the property metadata.
    In other cases a KM IResource object is needed but then you only have the property metadata that's applicable on that IResource.
    Is it possible to do what I have in mind?
    If so can you point me into the correct direction, or provide a code example.
    I've been looking at the IMetaModel, IMetaGroupListIterator, IMetaGroup etc but I've not found any solution.
    Thanks a lot!
    Kind regards,
    Dries

    Hi
    Try this:     
      IConfigurationAccess icAccess = Configuration.getInstance();
      IWDClientUser wdcu = WDClientUser.getCurrentUser();
       com.sap.security.api.IUser sapUser = wdcu.getSAPUser();
      IUser user = WPUMFactory.getUserFactory().getEP5User(sapUser);
      IConfigClientContext confContext = IConfigClientContext.createContext(user);
    IConfigManager icManager = icAccess.getConfigManager(confContext);
      IConfigPlugin icPlugin = icManager.getConfigPlugin(ConfigurationProxy.CFG_PLUGIN_CM_SERVICES_PROPERTIES_METADATA);
    IMutableConfigurable[] mcs = icPlugin.getConfigurables();
    this mcs object will give you list of all meta data property for this user.
    Hope this helps
    Regards
    Puneet

  • How to set an icon for a JLabel with Advanced Synth

    Hello,
    Do you know how to define an icon for a JLabel components with Advanced Synth (with a XML file) ? I have tried this :
    <style id="jLabelNotes">
            <imageIcon id="iconNotes" path="images/note.png" />
            <property key="Label.icon" value="iconNotes" />              
    </style>
    <bind style="defaultLabel" type="name" key="jLabelNotes" />But nothing append.
    Thanks.

    Try Sound Menu

  • Property Metadata don't change when deploying project

    Hi,
    1.) I used this help http://help.sap.com/saphelp_nw2004s/helpdata/en/44/2dff5a13363f0ae10000000a114a6b/content.htm
    to create my own commands, uicommands, etc.
    2.) I also created manually in: System Administration => System Configuration => Knowledge Management => Content Management => Global Services => Property Metadata my own properties to extend the userdetails like described in http://help.sap.com/bp_epv170/EP_US/Documentation/How-to/KM/Extending_User_Details.pdf
    This all works perfectly.
    Instead of creating and exporting all my Property Metadata manually I exported them (I have now a XML) and integrated them into my Project => see 1.)
    I also found this post: https://www.sdn.sap.com/irj/sdn/message?messageID=3533233
    So, when I deploy my project and the properties aren't existing the are created immediately. BUT when I change something in the property metadata XML in my project and I redeploy the project the existing property doesn't change.
    I don't want to delete everytime all my properties to make changes active.
    With uicommands I don't have this problems. When I change there something I can deploy the project, new uicommands will be added and existing ones will be updated. Unfortunately not by property metadata.
    Do you have any ideas why this happens?
    Regards,
    Stefan

    Hello Stefan,
    you might have a versioning problem when merging the new KM configuration from your project with the existing configuration in KM. That would explain why everything works fine if you delete the existing settings first but it won't if you try to overwrite the existing settings!
    KM merges the configuration when you deploy a PAR file with configuration. You need to tell the system that the settings in the PAR file should replace the existing settings. This can be done by including the file export_cm_mapping.xml into your project. (At least that is the name of the file in NW04). You can get this file by exporting some configuration from your KM system with the KM export functionality and unzip the resulting configarchive file. It should contain the correct export_cm_mapping.xml file. Just take this file and put it into the src.config directory in the same path. (For NW04 that is: src.config/install/data/system/command/export_cm_mapping.xml.)
    Hope this helps,
    Martin

  • Icon for file created by an app

    I have an app, created with XDroplets, that launches IDLE to create Python scripts and the app has an icon that's different from IDLE's icon. I would like for the scripts created with IDLE *launched with this particular app* to have an icon that's different from the default system wide Python source file icon. How can I do this?

    I think the answer lies buried deep inside some plist
    file associated with the application.
    You're right. Icons for document types created by an application can be specified in the Info.plist found in the application bundle. Xcode gives you a GUI for setting up the Info.plist entries but I suppose you could edit the Info.plist file directly.
    See the Property List Key Reference that describes Info.plist entries. In particular you'll want to look at the CFBundleDocumentTypes array and the description of the keys contained within it.
    For a "real life" example you may also want to look inside another application bundle to see how it's Info.plist is set up. TextEdit, for example, defines several document types in it's Info.plist.
    Steve
    20" iMac G5   Mac OS X (10.4.9)  

  • Adding Property MetaData to Upload screen

    Hi,
    I would like to add some Property Metadata for documents that I upload to the KM.
    I have managed to created a new tab with all my properties, but I would like to have some of these properties on the first screen of the upload process, meening, near the name & description of the file - and not inside a different tab.
    Any suggestions how to add properties near the name and description of the file.
    Thanks in advance,
    Aviad

    Hi Avaid and Kiran,
    <b>Creation of Property Metadata:</b>
    navigate to: System Administration -> System Configuration -> Knowledge Management -> Content Management -> Global Services -> Property Metadata.
    This would give you all the properties that are linked with content management.
    When you check Details of any document, the properties (modified date, created date, etc) all exist in the above mentioned Property Metadata.
    If exists, you can use the property.
    Read more:
    http://help.sap.com/saphelp_nw04/helpdata/en/75/e000861cb8ad4b8e4f19dd6416346d/frameset.htm
    Assuming that it does exist then how should you add this property such that its visible/accessing in Document details:
    Navigate to => System Administration -> System Configuration -> Knowledge Management -> Content Management -> Global Services -> Property Structures.
    The tabs that you see in Document details are all placed in tabs.
    If you want your property to be placed in a different one, then create your tab, add your property and add this tab in the all_groups tab.
    The link given above contains all details.
    Please check these documents:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/kmc/how to configure predefined properties with dependent values.pdf
    and https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/kmc/working with metadata properties in km.pdf
    All the best!
    Warm Regards,
    Ritu R Hunjan

  • Property metadata

    In Global services, I've created a group in property metadata.
    Then I clicked on the property option, and created a property with:
    Namespace alias-default
    Type-String
    Group-"The one I created above"
    Allowed values csv-a, b, c
    documents/<The folder in which i had created a .txt file before>
    Clicked OK.
    I navigated to Content Admin-> KM Content -> /documents/<myfolder>, Clicked on a text file within that -> Details -> Settings -> Properties.
    There I do not see My Property
    Any idea if Im missing something here

    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>/".

  • Icon for FormItem

    Hi ,
    am trying to put the icon for FormItem in the form. Am not
    getting any errors but the icon is not displaying
    can any one help me?
    Here is the code ................

    "sankar83" <[email protected]> wrote in
    message
    news:glrfh4$sjv$[email protected]..
    > Hi ,
    >
    > am trying to put the icon for FormItem in the form. Am
    not getting any
    > errors but the icon is not displaying
    >
    > can any one help me?
    >
    > Here is the code ................
    >
    > <?xml version="1.0" encoding="utf-8"?>
    > <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    > layout="absolute">
    >
    > <mx:Form width="100%" height="100%">
    > <mx:FormItem
    icon="@Embed('resources/images/todo.png')" label="First
    > Name">
    > <mx:TextInput/>
    > </mx:FormItem>
    > <mx:FormItem label="Last Name">
    > <mx:TextInput/>
    > </mx:FormItem>
    > </mx:Form>
    >
    > </mx:Application>
    I don't see an icon property or style on FormItem
    http://www.adobe.com/livedocs/flex/3/langref/mx/containers/FormItem.html
    Could you point out to me where you saw something that led
    you to believe
    this was possible?

  • 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>/".

  • Displaying property metadata in KM folder/docs presentation?

    I have created my own property metadata to categorize documents in certain folders in KM.
    I would like to display these metadata values in columns in the layout set chosen for the folder. Is there a simple way to fix this or do I have to write my own custom renderer?
    Henning

    Hi Henning,
    Yes, there is an easy way to display your own property metadata. You need to make a copy of the layout set you are using now and go edit the collection renderer.
    In the collection renderer, you should enter the name of your property in the setting "displayed properties". Beware that you might need to include the property's namespace.
    I suggest you read this document:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a429b090-0201-0010-e79d-f67708936549
    Even though it is a fairly old document (2003), it gives you a good introduction to your flexible user interface options.
    Best regards,
    Martin

  • Record put for property "***" must have an assignment in property "mdex-pro

    Hi all,
    I met a problem for the EID2.3, when i follow the video step by step, which provided by the OTN
    Getting started with Endeca Information Discovery , Part 2 :Loading and Viewing Data, 2.2 - Load one Data Source via Integrator
    I met a error after run the graph.
    Could anyone tell me what does this mean?
    *ERROR [SocketReader] - Received error message from server: Record put for property "FactSales_OrderQuantity" must have an assignment in property "mdex-property_Type"*_
    Thanks in advance!
    Best Regards,
    Bruce Lin
    I post all the logs as below:
    INFO [main] - *** CloverETL framework/transformation graph, (c) 2002-2012 Javlin a.s, released under GNU Lesser General Public License ***
    INFO [main] - Running with CloverETL library version 3.2.1 build#63 compiled 04/01/2012 12:53:21
    INFO [main] - Running on 4 CPU(s), OS Linux, architecture amd64, Java version 1.6.0_20, max available memory for JVM 882944 KB
    INFO [main] - Loading default properties from: defaultProperties
    INFO [main] - Graph definition file: graph/Test.grf
    INFO [main] - Graph revision: 1.7 Modified by: endeca Modified: Wed Jul 11 16:26:18 SGT 2012
    INFO [main] - Checking graph configuration...
    INFO [main] - Graph configuration is valid.
    INFO [main] - Graph initialization (Test)
    INFO [main] - Initializing connection:
    INFO [main] - [Clover] Initializing phase: 0
    INFO [main] - [Clover] phase: 0 initialized successfully.
    INFO [main] - register MBean with name:org.jetel.graph.runtime:type=CLOVERJMX_1341992445224_0
    INFO [WatchDog] - Pre-execute initialization of connection:
    INFO [WatchDog] - DBConnection driver[org.jetel.connection.jdbc.driver.JdbcDriver@1624e801]:jndi[null]
    INFO [WatchDog] - Starting up all nodes in phase [0]
    INFO [WatchDog] - Successfully started all nodes in phase!
    INFO [WatchDog] - ---------------------** Start of tracking Log for phase [0] **-------------------
    INFO [WatchDog] - Time: 11/07/12 16:26:49
    INFO [WatchDog] - Node ID Port #Records #KB Rec/s KB/s
    INFO [WatchDog] - ---------------------------------------------------------------------------------
    INFO [WatchDog] - Sales Facts SALES_FACTS RUNNING
    INFO [WatchDog] - %cpu:0.17 Out:0 29281 5317 0 0
    INFO [WatchDog] - Create Spec CREATE_SPEC RUNNING
    INFO [WatchDog] - %cpu:0.12 In:0 29281 5317 0 0
    INFO [WatchDog] - Out:0 27705 5576 0 0
    INFO [WatchDog] - Bulk Load to Data StoreBULK_LOAD_TO_DATA_STORE RUNNING
    INFO [WatchDog] - %cpu:0.01 In:0 27705 5576 0 0
    INFO [WatchDog] - Reset Data Store ENDECA_RESET_DATA_STORE0 RUNNING
    INFO [WatchDog] - %cpu:..
    INFO [WatchDog] - ---------------------------------** End of Log **--------------------------------
    INFO [WatchDog] - ---------------------** Start of tracking Log for phase [0] **-------------------
    INFO [WatchDog] - Time: 11/07/12 16:26:54
    INFO [WatchDog] - Node ID Port #Records #KB Rec/s KB/s
    INFO [WatchDog] - ---------------------------------------------------------------------------------
    INFO [WatchDog] - Sales Facts SALES_FACTS RUNNING
    INFO [WatchDog] - %cpu:0.10 Out:0 40745 7398 2270 412
    INFO [WatchDog] - Create Spec CREATE_SPEC RUNNING
    INFO [WatchDog] - %cpu:0.07 In:0 40745 7398 2270 412
    INFO [WatchDog] - Out:0 40436 8140 2521 507
    INFO [WatchDog] - Bulk Load to Data StoreBULK_LOAD_TO_DATA_STORE RUNNING
    INFO [WatchDog] - %cpu:.. In:0 40436 8140 2521 507
    INFO [WatchDog] - Reset Data Store ENDECA_RESET_DATA_STORE0 RUNNING
    INFO [WatchDog] - %cpu:..
    INFO [WatchDog] - ---------------------------------** End of Log **--------------------------------
    INFO [WatchDog] - ---------------------** Start of tracking Log for phase [0] **-------------------
    INFO [WatchDog] - Time: 11/07/12 16:27:03
    INFO [WatchDog] - Node ID Port #Records #KB Rec/s KB/s
    INFO [WatchDog] - ---------------------------------------------------------------------------------
    INFO [WatchDog] - Sales Facts SALES_FACTS FINISHED_OK
    INFO [WatchDog] - %cpu:0.05 Out:0 60855 11049 2355 427
    INFO [WatchDog] - Create Spec CREATE_SPEC FINISHED_OK
    INFO [WatchDog] - %cpu:0.04 In:0 60855 11049 2355 427
    INFO [WatchDog] - Out:0 60855 12251 2391 481
    INFO [WatchDog] - Bulk Load to Data StoreBULK_LOAD_TO_DATA_STORE RUNNING
    INFO [WatchDog] - %cpu:.. In:0 60855 12251 2391 481
    INFO [WatchDog] - Reset Data Store ENDECA_RESET_DATA_STORE0 RUNNING
    INFO [WatchDog] - %cpu:..
    INFO [WatchDog] - ---------------------------------** End of Log **--------------------------------
    ERROR [SocketReader] - Received error message from server: Record put for property "FactSales_OrderQuantity" must have an assignment in property "mdex-property_Type"
    ERROR [WatchDog] - Graph execution finished with error
    ERROR [WatchDog] - Node BULK_LOAD_TO_DATA_STORE finished with status: ERROR
    ERROR [WatchDog] - Node BULK_LOAD_TO_DATA_STORE error details:
    INFO [WatchDog] - [Clover] Post-execute phase finalization: 0
    INFO [WatchDog] - [Clover] phase: 0 post-execute finalization successfully.
    INFO [WatchDog] - Execution of phase [0] finished with error - elapsed time(sec): 20
    ERROR [WatchDog] - !!! Phase finished with error - stopping graph run !!!
    INFO [WatchDog] - Post-execute finalization of connection:
    INFO [WatchDog] - -----------------------** Summary of Phases execution **---------------------
    INFO [WatchDog] - Phase# Finished Status RunTime(sec) MemoryAllocation(KB)
    INFO [WatchDog] - 0 ERROR 20 138827
    INFO [WatchDog] - ------------------------------** End of Summary **---------------------------
    INFO [WatchDog] - WatchDog thread finished - total execution time: 25 (sec)
    INFO [main] - Freeing graph resources.
    ERROR [main] - Execution of graph failed !
    Edited by: 943609 on Aug 1, 2012 7:34 PM
    Edited by: 943609 on Aug 1, 2012 7:45 PM

    This error is saying that a user create attribute "FactSales_OrderQuantity" is missing a system property "mdex-property_Type". These system properties are how the index defines the user attributes and when one is missing, in this case the type, the mdex does not know how to handle the incoming data for the attribute. In this case I believe the problem is cause by having the "Reset Data Store" component in the same phase as the "Bulk Load to Data Store". The Reset data store tells the index to delete all records and to clear all the attribute's metadata (properties). Since this graph is also trying to load data via the bulk load while at the same time resetting the index and all the system properties.
    To resolve this issue you should have the reset component in a separate phase, or a graph all to itself so it always executes in isolation.
    Pete

  • ARB Issue: SDK Property Metadata

    Posted today:
    SDK Property Metadata
    Please comment by tomorrow morning, Friday May 1st. Thanks!

    Hi
    I think dbms_metadata.session_transform is for functions GET_DDL, GET_DEPENDENT_DDL, and GET_GRANTED_DDL only.
    You need to use set_transform_param on htransddl handle. Add this after line 65:
          dbms_metadata.set_transform_param (htransddl, 'PRETTY', true);
          dbms_metadata.set_transform_param (htransddl, 'SQLTERMINATOR', true);
    Other transform attributes like TABLESPACE and STORAGE should also be applied to htransddl so lines 40-45 can be removed.
    You must also add some logic when setting this transform parameters as STORAGE and TABLESPACE for example can not be applied to PACKAGE object type.
    Regards,
    Mitja

  • Changed Icon for my InputListOfValues

    Well my problem is that I want to changed the search icon of my InputListOfValues but just for one!..
    Well my css looks like this:
    /* definition of the alias*/
    .StyleLov1:alias
    {-tr-inhibit: background-image;
    font-size: 11px;
    padding: 1px 3px;
    text-decoration: none;
    vertical-align: 0%;}
    /* referencing the alias in the StyleLov1*/
    af|inputListOfValues.StyleLov1::search-icon-style
    -tr-rule-ref:selector(".StyleLov1:alias");
    /* definition of the alias*/
    .StyleLov2_alias
    { content: url("../images/activar.png");}
    /* referencing the alias in the StyleLov2*/
    af|inputListOfValues.StyleLov2::search-icon
    -tr-rule-ref:selector(".StyleLov2:alias");
    And in my component looks like this:
    <af:inputListOfValues label="Label 1"
    popupTitle="Search and Result Dialog"
    binding="#{backingBeanScope.backing_lovsample_test.ilov1}"
    id="ilov1"
    styleClass="StyleLov1 StyleLov2"/>
    The first style "StyleLov1" works but the second don't works I don't know what is the error.
    Thanks
    Edmaral

    Thanks now it works fine!!!....but in my general CSS file I define global selectors por InputListOfValues like this:
    GLOBAL DEFINITION
    af|inputListOfValues::search-icon-style { -tr-inhibit: background-image; padding: 0px 0px; text-decoration: none;vertical-align:-3px; }
    af|inputComboboxListOfValues::dynamic-help-icon {content: ‘?’; color: black}
    af|inputListOfValues::search-icon {content : url("../images/lovMenuEnabled.png"); position: relative;  left: -3px; top: 1px; }
    af|inputListOfValues::search-disabled-icon {content: url("../images/lovMenuDisabled.png"); font-weight: bold;}
    af|inputListOfValues::search-icon-style:disabled { -tr-inhibit: background-image; padding: 0px 0px; text-decoration: none;vertical-align:-3px; }
    DEFINITION FOR SPECIFIC SELECTOR
    /* definition of the alias*/
    .StyleLov2:alias{ /* notice .StyleLov2:alias instead of .StyleLov2_alias */
    background-image: url("../images/activar.png"); /* notice background-image instead of content */
    /* referencing the alias in the StyleLov2 */
    af|inputListOfValues.StyleLov2::search-icon-style{ /* notice search-icon-style instead of search-icon */
    -tr-rule-ref:selector(".StyleLov2:alias");
    Changing all icons for this component but I want to change the icon just in one component but the global property is apply for all components. I change the
    style class with de name of my selector alias in my component but is not being recognized just recognized the global selector. I dont know how to
    inhibit these global properties.
    Thanks.....
    Edmaral
    Edited by: Edmaral on 17-may-2010 13:12

Maybe you are looking for