Sitemap

Amicuk Programming Answers

Get a list of all available Property MetaData through API

-0001-11-30   Views:0

Advertisement

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

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

The replay answer
Advertisement
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

Go to See the other 4 answers

Get a list of all available Property MetaData through API

Category:DefaultRelease time:-0001-11-30Views:130

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[More]

How to insert a space-bar in the Muse CC master slide page property metadata

Category:DefaultRelease time:2015-10-11Views:130

I'm using the latest version of Muse CC and need to know how to insert a space-bar in the master slide page property metadata page title suffix areaI found it.  If anyone else has this problem press the shift and \ at the same time on a standard wind[More]

Icon for Property Metadata

Category:DefaultRelease time:2015-10-11Views:130

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 pos[More]

Replace property metadata values with icons

Category:DefaultRelease time:-0001-11-30Views:130

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[More]

Property Metadata don't change when deploying project

Category:DefaultRelease time:-0001-11-30Views:130

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 => Knowl[More]

Exporting Property Metadata

Category:DefaultRelease time:-0001-11-30Views:130

Hi, does anybody know how to export and import property metadata from one system to another? I have created some properties through System Configuration>Content Management>Global Services>Property Metadata>Properties. Now I want to export this[More]

Rename property metadata and keep values

Category:DefaultRelease time:-0001-11-30Views:130

Hello, I tried to rename a property metadata by changing the property id. Then I saw that the values of the changed property will not be shown. Is there a way to keep the values and to change the property id? Regards MarcoHi, i've created a WebDynpro[More]

Adding Property MetaData to Upload screen

Category:DefaultRelease time:-0001-11-30Views:130

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, ne[More]

Property metadata

Category:DefaultRelease time:-0001-11-30Views:130

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 f[More]

Sorting for property metadata

Category:DefaultRelease time:-0001-11-30Views:130

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 pr[More]

Property Metadata - Properties (Type User Group)

Category:DefaultRelease time:-0001-11-30Views:130

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[More]

Hot
Hi there, I just setup the last version of flash player 10 (10.045.2) and it doesn't work at all. I have a PPC G5 Dual 2Ghz 2.5Gb Ram running Leopard 10.5.8 I was running the version 10 of flkash player when I download this new one and everything jus [More]
Hi. I'm new to the awt and administration of java. I've read serveral postings telling me to set headless state by doing the -Djava.awt.headless=true but I'm not sure where to put that statement. I don't have a catalina.sh file. I'm not sure what to [More]
I am considering getting and Apple TV and the new wireless base station. My question is this: Can I use the wireless base station and connect a 250gb LaCie HD to it for media storage and back up and then have Apple TV connect to that hard drive to ge [More]
My daughter dropped her macbook from about 3 feet. Since then, the lcd lights up uniformly but is just blank. The computer drives an external display and otherwise seems to function normally. How do you troubleshoot the source of the problem? LCD, in [More]
I had done all the steps to do for deleting my account . What else i do for the delete ?Hi, Konmakro, Apologies the instructions are not clear ... Skype Customer Services uses a web form; when we complete the various stages, we will see a box where w [More]
We are seeing an issue with an ipad connecting to a WLAN configured for EAP-TLS using ISE 1.2, getting disconnected.  The ipad will hop top another SSID.  It will connect back to the other ssid when selected.  Any ideas? I have a debug client for whe [More]
Hi, I recently upgraded to OS10.4.4 (combo) from 10.3.9 Mail presented as a problem even then. I got some help by searching these sites. (Deleted my Plist, re-entered all account info) Got it working - though it had refused to import/transfer all my [More]
Hello All, Can i set site page as New/ Edit form of SharePoint list. I know this can be done if i create Application page, but can i set site page as SharePoint list form. If yes, then how? Also in any case is it possible to set New/Edit form of alre [More]
I've had this on the GUI forum all day but have not had any help. (sorry) I have a form that loads empty. I then grab data from the DB and populate the form. I have 3 radio buttons that are part of the radio group. I set one of these after gathering [More]
Hi, How to write below MYSQL query in Oracle 10g : CREATE TABLE example_timestamp ( Id number(10) NOT NULL PRIMARY KEY, Data VARCHAR(100),      Date_time TIMESTAMP DEFAULT current_timestamp on update current_timestamp I need to auto update the Date_T [More]