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

Similar Messages

  • How to get the list of all formtypes in SBO?

    Hello,
    How can i get the list of all available formtype in SBO?
    Each SAP Business One form has a unique type to support multiple instances of the same form. For example, the type of the Purchase Order form is 142, Form=139 for Sales Order.
    Is this information stored anywhere?
    Thanks and Regards,
    Sheetal

    Hi Juha / Sheetal,
    Activating the menus will only help to get the forms which are "directly" accessible...
    ...but there are forms that come up only when clicking some button - or double-clicking - or activating a menu item in the (dynamic!) "Goto" menu etc.
    In 2005 SP01 a new function was introduced (and documented in the SDK Helpcenter) that can be used to iterate over all integer IDs (note there are a lot of gaps) up to 65535 and get information about the form and items on it (specifically the databinding!).
    Please take a look at the ResourceData property of the Application object in UI API!
    Gaps (in A version today - to my best knowledge): 10.000 - 20.000; 21.000 - 40.000; 41.000 - 50.000; 51.000 - 60.000...
    Regards,
    Frank
    <i>Visit the WiKi-FAQ at: https://wiki.sdn.sap.com/wiki/display/HOME/BusinessOneFAQ</i>
    BTW: What do you need that information on "all forms" for?
    Message was edited by:
            Frank Moebius

  • How can I get a list of all channels of a device?

    I'm writing a software for use in a couple of our labs to be run as an executable i.e. without LabView being installed on all machines.
    Now there's also a couple of different daq hardwares in use. So I planned to have a config tool where the user can choose the appropriate - physical, not virtual - daq devices and channels like: temperature 1 measured by device 1, analog input 2.
    Therefore I'd need a list of all available daq devices (which is somewhat possible) together with a list of all channels of a particular device. Is there any way to get this?
    Unfortunately I don't want to use virtual channels since I don't want to bother the user with configuring them and btw I don't know if virtual channels work wit
    h the pure run-time module of an executable.
    Thanks!
    Daniel

    Hello Daniel,
    You can use virtual channels with executables and there is actually a way to transfer the virtual channel configurations to the target computers so your users would never need to mess with configuring virtual channels. Once you have configured virtual channels, you can save the configuration within a .daq file. You can then include that .daq file as a support file of the executable and programmatically set the configuration of the target machine. The linked document below illustrates how to accomplish this.
    How Do I Port a DAQ Configuration File With an Executable?
    http://digital.ni.com/public.nsf/websearch/CB83B101E19EF83086256A3E0054206C
    If you do not want to use virtual channels, the only other thing I can think of is to use the Get_D
    AQ_Device_Info VI or function call. You can get a device code when using this VI or call and each code is associated with a specific instrument. You would then have to know (use the device's user manual) to determine how many channels the corresponding device has. Without virtual channels, you would have to use a channel number (0,1,2,...etc) and would not be able to use a string ("temperature 1 measured by device 1").
    So, I think using virtual channels and transferring the .daq file to the target machines with the executable will be the best option. I hope this helps.
    Regards,
    Todd D.
    NI Applications Engineer

  • How to get the list of all process order which are settled?

    Hello Friends,
    Is there any  standard report available to get the list of all settled  Process Order or  Production order?
    Thanking all of you in advance.
    Regards,
    Jitendra

    Hi,
    You can the below standardreports for knowing the list of Settled Process Orders :
    1. Use Tcode : COOIS and in the selection fields provide the Process Order Type, Plant and System Status As " SETT" and execute the same . System will list all the Process Orders which were settled so far.
    2. Use Tcode : CO26 with selection fields as above.
    Hope this will suffice your reqt.
    Regards
    radhak mk

  • How do i get a list of all objects in a combo box

    I want to get the list of all Objects in a JComboBox. I appreciate your help! Thanks!

    I already know the solution with getItemCount and
    then the for loop with getItemAt. I'm curios if there
    exist somethig like Object[] getAllItems()If it's not in the API, then it's not available. You can create your own ComboBoxModel that will return an Object[] of elements and call setModel on your combobox.

  • How do i get a list of all the apps i have purchased this year

    how do i get a list of all the apps  have purchased this year and how much each app was

    Check your iTunes purchase history (click your email address in the upper right corner in the iTunes App Store-> log in -> click Purchase History).  This gives you a comprehensive list of apps you've purchased.
     Cheers, Tom

  • How can I get a list of all my apple ids

    I would like to get a list of all my apple ids ..
    as ive had many macs over the years i have one which i can remeber & i cannot use app store ?

    Hi there darryl53,
    You may find the information in the article below helpful.
    Apple ID: How to find your Apple ID
    http://support.apple.com/kb/HT5625
    -Griff W. 

  • How do i get a list of all Roles defubed under a particular OrganizationalUnit? How can i use LDAPConnection.search method for this?

     

    Sorry for the typographical mistake.
    Please read the question as:"How do i get a list of all Roles defined under a particular OrganizationalUnit? How can i use LDAPConnection.search method for this?"

  • Hi ,How can I get a list of all laptops or users with folder direction enabled or offline files enabled, be it sccm or poerwshell . i have struggled for a week.

    Hi ,how can I get a list of all laptops or users with folder direction enabled or offline files enabled, be it sccm
    or poerwshell . i have struggled for a week
    tchocr

    Hi,
    There is no such PowerShell command can achiev this. Maybe you can use a script to get the user name with folder redirection enabled. However, I am not familiar with writing script, and it would be better for you to ask in script forum below for professional
    assistance:
    http://social.technet.microsoft.com/Forums/en-US/home?forum=ITCG&filter=alltypes&sort=lastpostdesc
    Best Regards,
    Mandy
    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]

  • How can I get a list of all workbooks

    Can anybody please tell me how can I get a list of all my workbooks that are on my Oracle Discoverer database without having to manually write them down? I am using Oracle Database 10g Enterprise Edition.

    Hi,
    To implement the EUL Management BA follow metalink NOTE:556932.1
    there are very simple steps you need to perform in order to use it

  • How can I get a list of all my annotations to send to someone else, listed by PAGE #, not order.

    How can I get a list of all my annotations to send to someone else, listed by PAGE #, not order??

    The comments list is sorted by page by default. If it's not for some reason, click the "Sort comments" button and select that option. It looks like this:

  • How can I get a list of all laptops or users with folder direction enabled or offline files enabled, be it sccm or poerwshell . i have struggled for a week.

    How can I get a list of all laptops or users with folder direction enabled or offline files enabled, be it sccm or poerwshell . i have struggled for a week.

    Hi,
    There is no such PowerShell command can achiev this. Maybe you can use a script to get the user name with folder redirection enabled. However, I am not familiar with writing script, and it would be better for you to ask in script forum below for professional
    assistance:
    http://social.technet.microsoft.com/Forums/en-US/home?forum=ITCG&filter=alltypes&sort=lastpostdesc
    Best Regards,
    Mandy
    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]

  • I upgraded to ios 7.1 and even after i updated to this version in the calendar view i could get a list of all of appointments and now i have half screen of calendar and then appointments is their any way to go full screen of appointmetns

    I upgraded to ios 7.1 and even after i updated to this new version in the calendar view i could get a list of all appointments and now i have done something and i get a half scrren of calendar and half screen of appointments.  is their anyway to get full screen of appointments with the 7.1 version

    Tap on any give date in the monthly view and you will be taken a list of event, the default position being the date you tapped.
    The icon just to the left of the search icon provides a master list view of events.
    http://help.apple.com/iphone/7/#/iph3d110f84

  • In iTunes 10, I could type "Sinatra" in the search file, and would get a list of all tracks with "Sinatra" in any field.   In iTunes 11 I get these clever little windows, with nice arrows, but no lists to view.   What am I missing?

    In iTunes 10, I could type "Sinatra" in the search file, and would get a list of all tracks with "Sinatra" in any field.   In iTunes 11 I get these clever little windows, with nice arrows, but no lists to view.   What am I missing?

    Thanks for chipping in.   I discovered something after trying what you suggested.   I have quite a few collections of hits by year from Time Life and Billboard.  I've eliminated duplicate tracks that appear in both collections (or other CDs for that matter), but cross-reference the CD where I deleted the track and placed in in the comments section of the CD track I retained.   If I "search" by song name, only the remaining track appears.   But if I want to hear for example Classic Rock 1964, only those tracks remaining would be there when I pull up that CD.   So, I type "Classic Rock 1964,"  in the search field.  First the boxes on the right of the screen open up showing album icons.  Showing four tracks by album with a button to view 10 more, then four songs with an option to vies 18 more.   I finally noticed that at the top of the boxes is a blue band that reads, :Show Classic Rock 1964 in Music.  When I double click on this blue band, all 24 tracks from the original CD appear in the song list format even though I had deleted two of them because they appeard in a Beach Boys CD.   On those tracks, I had referenced Classic Rock 1964 in the comments field.    So, bottom line, Search will also look in the comments field if you click "filter by all" in the magnifying glass to the left of the search field.   And you can move all tracks that if finds into a song list by double clicking on the blue band.

  • How can i get the list of all users present in the LDAP

    Hi Experts,
    How can i get the list of all users present in the LDAP ?
    Is there any API or function Code to get all user list??
    Please help me out!!!
    Help will be rewarded

    Well it will depend on exactly where your UME configuration points to in the LDAP tree but yes, it is possible to get all users.  Something like the following should do it:
    import com.sap.security.api.*;
    import com.sapportals.portal.prt.component.*;
    IUserFactory iuf;
    ISearchResult isr;
    IUser user
    String userid;
    iuf = UMFactory.getUserFactory();
    isr = iuf.getUniqueIDs();
    you will need to iterate the ISearchResult object but you can get IUser objects by
    userid = (String)isr.next();
    user = iuf.getUser(userid);
    then you can imanipulate / identify / or whatever you need with the user object
    Haydn

Maybe you are looking for

  • Links in an email suddenly don't work.

    Suddenly the links in an email don't work. The URL shows when I put the curser on the link but it doesn't open the browser and nothing happens when I click on it.

  • Expand the Ad-Hoc Query

    Dear all, Can anyone tell me the steps in detail on how to add extra infotypes (which is not in the standard selection area, of course) in the ad-hoc query selection area? In my case, I need to search an employee's personnel number by alternative nam

  • Unvisible tables in the operating mode (MAC)

    hi everyone a customer did install the contribute cs4 for macintosh. i know contribute only for windows. is it possible that he doesn't see the tables in the operating mode? i can't overtake his screen to see it. thanks

  • HT203128 new version of iTunes freezes my computer!

    Every time I open up the new version of iTunes, my computer freezes the entire time the app is open. How can I fix that?

  • Scope of instance variables clarification requested

    under the topic "Scope of instance variables" in the class notes for the course i'm doing it is stated: inside the class definition, the name can be prefixed by the keyword "this". e.g. available = this.balance + overdraft; in simple words, please ex