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
My iphone 4s ringtones are all the same and there is no real volume from the phone. It will not let me play videos and my alarm tune does not go off. I have been advised to restore my phone but need to back up all my contacts telephone numbers first. [More]
hi, it returns "Unable to process your transaction. The operating unit is either invalid or it cannot be derived. Please verify your Multi-Org profile options." i check the forum and the solution is to mo_global.set_policy_context('S',122); but [More]
Hi, Nowadays, I'm working with Oracle Data Integrator 11.1.1.7  and I have to do a downgrade to Oracle Data Integrator 11.1.1.6. So, the problem is that I don't know what are the differences between this two releases. Please, Could anyone help me wit [More]
On November 17, I called Verizon to add hotspot functionality to my iPhone. The customer service representation (CSR) gave me his first name and recited a cost plan and then said he had another option for me.  He quoted the price I currently paid bef [More]
Hello friends, I have a question on soap adapter. I am trying to convert an IDoc into an XML and then using SOAP adapter i want to post that XML into a web service. I searched many threads but without much help. Can anyone of you guide me as to how t [More]
Hi, I have installed OBIEE 11g. For some purpose I tried to stop the Oracle Process Manager(Instances) in services.msc. But it not get stopped its keep showing as stopping. Is there any command to force shutdown this serives or is there any other way [More]
The screen is black with the little spinning wheel in the center. I can't turn it off or on.  Any suggestions?Have you attempted a hard reset yet?  To do this, press and hold both the Sleep/Wake and Home buttons together long enough for the Apple log [More]
When I sign into Facebook, it doesn't bring up the whole page. It only has things on the left side that say messages, Log Out, and a few other things. It won't go into Facebook as it should. When I try to go to my e-mail, it won't go there. It says I [More]
Hello everyone, I've used for a long time Mobiola WEBCAM (app that turns one's iPhone/iPad into a webcam via WIFI) in Skype/Viber and video chat sites like Omegle (all done through GOOGLE CHROME), up until yesterday. As of today, any of my browsers o [More]
Safari is adding a tab for each page visited--how to stop or clear?Each tab, when selected, has a small x on it for deleting--Apple StoreRead other 2 answers [More]