Api to extract portal metadata?

Hi, I want to build my own Flash Menu based on the Oracle Portals content, instead of using the existing tab components. How can I extract this metadata as a XML ?
Thanks in advance,
Alessandro

I was able to get user data out of the metadata repository. Here is the procedure I use to insert the data into a table to pull out user profile info:
CREATE OR REPLACE PROCEDURE <NAME> IS
BEGIN
EXECUTE IMMEDIATE 'ALTER TABLE PM_TEAM_MEMBER disable CONSTRAINT FK_PMTM_USER_ID';
     DELETE acquisitions.closepf_person2;
     COMMIT;
          FOR i in (select id from portal.WWSEC_PERSON$)
          LOOP
     DECLARE
          l_person_ID                number     := portal.wwsec_api.person_info(p_person_id => i.id).ID;
          l_person_USER_NAME      varchar2(256) := portal.wwsec_api.person_info(p_person_id => i.id).USER_NAME;
          l_person_EMPNO                varchar2(30) := portal.wwsec_api.person_info(p_person_id => i.id).EMPNO;
          l_person_LAST_NAME           varchar2(60) := portal.wwsec_api.person_info(p_person_id => i.id).LAST_NAME;
          l_person_FIRST_NAME      varchar2(60) := portal.wwsec_api.person_info(p_person_id => i.id).FIRST_NAME;
          l_person_MIDDLE_NAME      varchar2(60) := portal.wwsec_api.person_info(p_person_id => i.id).MIDDLE_NAME;
          l_person_KNOWN_AS           varchar2(80) := portal.wwsec_api.person_info(p_person_id => i.id).KNOWN_AS;
          l_person_EMAIL                varchar2(256) := portal.wwsec_api.person_info(p_person_id => i.id).EMAIL;
          l_person_WORK_PHONE      varchar2(30) := portal.wwsec_api.person_info(p_person_id => i.id).WORK_PHONE;
          l_person_MOBILE_PHONE      varchar2(30) := portal.wwsec_api.person_info(p_person_id => i.id).MOBILE_PHONE;
          l_person_PAGER                varchar2(30) := portal.wwsec_api.person_info(p_person_id => i.id).PAGER;
          l_person_FAX                varchar2(30) := portal.wwsec_api.person_info(p_person_id => i.id).FAX;          
          l_person_OFFICE_ADDR1      varchar2(60) := portal.wwsec_api.person_info(p_person_id => i.id).OFFICE_ADDR1;
          l_person_OFFICE_ADDR2      varchar2(60) := portal.wwsec_api.person_info(p_person_id => i.id).OFFICE_ADDR2;
          l_person_OFFICE_ADDR3      varchar2(60) := portal.wwsec_api.person_info(p_person_id => i.id).OFFICE_ADDR3;
          l_person_OFFICE_CITY      varchar2(30) := portal.wwsec_api.person_info(p_person_id => i.id).OFFICE_CITY;
          l_person_OFFICE_STATE      varchar2(30) := portal.wwsec_api.person_info(p_person_id => i.id).OFFICE_STATE;
          l_person_OFFICE_ZIP      varchar2(30) := portal.wwsec_api.person_info(p_person_id => i.id).OFFICE_ZIP;
          l_person_OFFICE_COUNTRY varchar2(256) := portal.wwsec_api.person_info(p_person_id => i.id).OFFICE_COUNTRY;                                        
          l_person_TITLE               varchar2(80) := portal.wwsec_api.person_info(p_person_id => i.id).TITLE;
          l_person_MANAGER           number     := portal.wwsec_api.person_info(p_person_id => i.id).MANAGER;
          l_person_DEFAULT_GROUP      number          := portal.wwsec_api.person_info(p_person_id => i.id).DEFAULT_GROUP;
          l_person_GUID               varchar2(32);     
          CURSOR get_guid IS
               SELECT guid
               FROM orasso.wwsec_person$
               WHERE user_name = l_person_USER_NAME;
     BEGIN
          OPEN get_guid;
          FETCH get_guid INTO l_person_GUID;
          CLOSE get_guid;
          INSERT INTO acquisitions.closepf_person2 (
               id,
               user_name,
               empno,
               last_name,
               first_name,
               middle_name,
               known_as,
               email,
               work_phone,
               mobile_phone,
               pager,
               fax,
               office_addr1,
               office_addr2,
               office_addr3,
               office_city,
               office_state,
               office_zip,
               office_country,
               title,
               manager,
               default_group,
               guid)
          VALUES      (
               l_person_ID,
               l_person_USER_NAME,
               l_person_EMPNO,
               l_person_LAST_NAME,
               l_person_FIRST_NAME,
               l_person_MIDDLE_NAME,
               l_person_KNOWN_AS,
               l_person_EMAIL,
               l_person_WORK_PHONE,
               l_person_MOBILE_PHONE,
               l_person_PAGER,
               l_person_FAX,
               l_person_OFFICE_ADDR1,
               l_person_OFFICE_ADDR2,
               l_person_OFFICE_ADDR3,
               l_person_OFFICE_CITY,
               l_person_OFFICE_STATE,
               l_person_OFFICE_ZIP,
               l_person_OFFICE_COUNTRY,                                                                                                     
               l_person_TITLE,     
               l_person_MANAGER,
               l_person_DEFAULT_GROUP,
               l_person_GUID);                                                                      
               EXCEPTION WHEN NO_DATA_FOUND
                    THEN
                         EXIT;
               COMMIT;
     END;
     END LOOP;
END;
Martin

Similar Messages

  • Access content and metadata stored in VCR using SP1 api in weblogic Portal

    Hi
    I have configured Virtual Content Repository (VCR), I am able to see all the contents in VCR, that is stored in Oracle UCM. I need to know how I can get the content and metadata of the stored content using SPI api and display the metadata of contents present in a particular folder and display it in weblogic portal.
    Please provide any sample code how to acess that also helap me a lot.
    Edited by: user10934682 on Apr 19, 2011 1:39 AM

    To get started, you might want to look at the CM JSP tag library. With this tag library, it's straight forward to fetch a content Node and display the data. See the following tag lib documentation: http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14256/content/cm/tld-summary.html
    The tag doc includes some sample code showing the usage of the tags.
    For more advanced, or non-JSP usage, see the javadoc for com.bea.content.federated package. http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14255/com/bea/content/federated/package-summary.html
    Brad

  • Using VB API to Extract data

    Hi Experts
    I ahve migrated data of one database into another and need to check whether whole data is migrated successfully and correctly. I was thinking of using Excel Macros with VB APIs to extract all level 0 data into a tabular format and then compare. Is my approach correct?
    Is there any other method to compare data between two databases?
    I have never developed any API based application from scratch..and need some guidelines for the same. All sort of help welcomed

    A buddy of mine and poster to this board, Dave Farnsworth, has an Excel module that does exactly this in Excel -- he's almost got it ready for freebie release.
    If you can wait a week or so (I know, I know, you can't) I'll have his add-in up on my blog.
    Dave -- the pressure is on. See, a real world example just begging for your code. :)
    I have used a beta version of the tool -- it is freaking awesome -- you define the two databases, do a retrieve in the first sheet and the tool does the retrieve of the second database and then identifies differences. It's very, very flexible and easy to use. Yes, I am a big fan.
    Regards,
    Cameron Lackpour

  • Using portal metadata repository for portal content - performance impact?

    Oracle provides the Oracle Drive utility as a way of moving portal content directly into the portal metadata repository. The Oracle Portal Center site (http://www.oracle.com/technology/products/ias/portal/index.html) provides links to several demos and technical papers that describe the use of Oracle Drive to copy file-based content into the Portal Metadata Repository (e.g., http://www.oracle.com/technology/products/ias/portal/pdf/cm_webdav_10g_webdav_clients.pdf). My questions are: (a) is this a best practice (b) are there potential performance problems with loading up the portal metadata repository with large volumes of file-based content?

    Hello
    It depends on what you mean by "large volumes".
    I use webdav scripts to create/update my files every night and it works fine. But it's rather slow.
    Questions are :
    - is it a one-time transfer to initiate Portal, and a regular one ?
    - how large are your files ?

  • Any java API to get the metadata for a deployed bpel process in soa/bpm11g?

    Hi,
    Just wonder if this is possible, that there is some existing java api to retrieve the metadata (containing activities, isSynchrous, version information etc) for a deployed bpel process? If not, is there any other way to achieve this goal ( or example query database table directly)?
    I can only find this link for soa11g java api. I am able to invoke the bpel process using this API(direct binding) from java client.
    http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e10659/index.html?overview-tree.html
    Any help will be greatly appreciated.
    Thanks,
    Bin

    What I find so far:
    1. can get some process property values from ComponentInstance class, see its api.
    http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e10659/oracle/soa/management/facade/ComponentInstance.html
    Please refer http://blogs.oracle.com/soabpm/2009/07/soa_suite_11g_api_tricks_part.html of how to get the component instance (contain the bpel process) from a composite object
    2. in dev_soainfra database schema, the CUBE_INSTANCE table contains most of soa bpel components information. The BPM_CUBE_PROCESS table seems to contain only the process defined in a bpm application. This sounds a little confused, if we want to develop a bpel application, should it be put in soa or bpm application and what is the difference?
    Please feel free to correct any mistakes here.

  • Extract XMP metadata from specific Photoshop Layer in After Effects

    How do it extract XMP metadata from specific Photoshop Layer in After Effects?
    I am just getting my hands dirty with metadata.
    I know it is possible to attack metadata to a layer/layerset in Photoshop, but how to I get it out in After Effects.
    Here is the process.
    I create BunchaLayers.psd.
    Using the PerLayerMetaData.jsx file attached.
    I use the setCommMetadata("something") function to attacked metadata to a selected layer.
    I know that is is there because I check it using the exportLayerMetadata().
    I save and imprt BunchaLayers.psd into AE as a comp.
    Here I am lost.
    I select my layer in the project window and check the XMP metadata window.
    I can't find my comment.
    Is the XMP data actually attached to the layer I imported in AE?
    I want to be able to select the layer and see that the data is attached.  Is this possible?
    If it is will it work on layersets (comps in AE)?
    I would appreciate any layer specific XMP insight.
    Thanks for looking.
    - Josh

    John Nack on Adobe : Per-layer metadata comes to Photoshop
    This was the article that made me think this might be possible.
    There is also the preference to Create Markers From Metadata
    ["Metadata"]
              "CreateLayerMarkersFromFootageXMP" = 01
    Which made me wonder if there is a way to create the metadata in the first place that made it something AE would read and automatically change to layer markers.
    Any ideas?

  • How Portal Metadata moves into Content Server

    Hi Experts,
    Does anybody have an idea on how portal Metadata in KM can be moved to Content server ?
    What configuration steps to be done both from KM and Content server?
    And once metadata is moved to content server how the documents can be accessed in KM from this migrated metadata(Documents,content) In content server?
    Could somebody help on this.....
    Regards
    RS

    Hi, Supraja Koganti
    Can you provide me step by step procedure for transferring data into content server. Basically this scenarios which you have provided me its not gives me clear picture. So please do the needful as earliest as possible.
    Regards
    RS

  • Extract Essbase metadata

    Hello,
    I'm trying to create an interface to extract Essbase metadata. I reversed an essbase model. At the interface diagram window, I was able to drag the essbase dimension into the source area. However, i don't see the Target Datasource area where I can drop the target model into. How do I get to see the Target area?
    Thanks

    Thank you I see that. When I opened it, it showed in horizontal view. How can I switch it to Vertical view where I can see the source and the target at the same time?

  • ERROR:- ENT-09671 ERROR WHILE EXTRACTION DIMENSION METADATA FOR DIMENSION

    Hello all,
    i am working on OWB 10gR2 while i try to validate & Deploy according to the following process it was successful but as i tried to view data from dimension i am getting an error which i have mentioned below
    Source Table = CUST_MST
    Destination Table = CUSTOMER
    Dimension = CUSTOMER
    Mapping = CUSTOMER_MAP
    Validate Table CUST_MAP.
    Validate Table CUSTOMER.
    Validate Dimension CUSTOMER.
    Validate Mapping CUSTOMER_MAP.
    Deploy table CUSTOMER.
    Deploy mapping CUSTOMER_MAP.
    Deploy dimension CUSTOMER (configured => Deploy All).
    Deploy table CUSTOMER.
    Deploy sequence <CUSTOMER_SEQ>
    Deploy mapping CUSTOMER_MAP.
    Deploy dimension CUSTOMER (configured => Deploy All).
    Start mapping to load table CUSTOMER.
    After this i am getting an error while i tried to view the data in the dimension
    ERROR:- ENT-09671 ERROR WHILE EXTRACTION DIMENSION METADATA FOR DIMENSION DATAVIEWER
    Thanks & Regards
    Pratik Lakhpatwala
    Jr Oracle DBA

    Not sure if it's valid to have a dimension with 1 hierarchy and 1 level in that hierarchy. The hierarchy may have to have at least 2 levels. If you want the configuration of a dimension with 1 hierarchy and 1 level, CWM2 may want you to omit the hierarchy, thus creating the dimension with only 1 level.

  • Extracting HFM Metadata

    Hi
    I am currently researching the possibilities for extracting HFM metadata into a SQL database. I know ODI has a KM to extract the members for the dimensions.
    Could you confirm the format that these members are extracted in?
    Does it extract them in a parent/child format or just a flat list members?
    Thanks
    M

    Hi Paul,.
    I tried the script and it worked well for me, except the state/rrovince was blank.  I think it must be from the category where the city and country wer before that didn't show.
    Previously it was a very convoluted procedure for me to get the info to my Access database.  I would first enter the info in MSWorks database, because of the time saver of the fill-down and fill series that MSAccess doesn't have.  After entering all the info I would save it as a text file and import into Access after assigned the fields, some of which had to be modified slightly as one for example would such as slide # and the other slide_#,  One I couldn't change and if I changed the other in ACCESS then all the queries and reports based on it would have to redone also..  I would get the fields to coincide and then do an append query to add to the main table.
    I had only one location field when I set up the database, and not separate ones as in Bridge, so city, state and country would all be in the same field. I would only add country when it was not US which was seldom.
    In anticipation of the ability to import the different location fields, I added city, state/province and country to the database, and then I spent about 8 hours creating hundreds of update queries, for each state, city and country to have the data of 166,000 records in the respective fields.
    I did a sma run yesterday with a folder that only had a couple dozen images.  I have to reorder the fields somewhat, but this is promising to be a huge time-saver and I look forward to using it when I have some much bigger downloads to convert.
    Thanks very much for all your help with this.

  • Workflow to extract artist metadata within an mp4 movie

    When I add an mp4 file to a document library, I would like to be able to run a workflow to get the artist name out of the file and I'll set a column with that.
    I may want to get other fields at a later point, but I need to know how to start this process 

    Hi Carphuntin_god,
    According to your description, my understanding is that you want to use workflow to extract embedded metadata from a video file to SharePoint 2010.
    Per my knowledge, there is not an OOB way to achieve it. You can get the embedded metadata using programming.
    Here are some similar posts for you to take a look at:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/67c007fd-d59c-4881-bbd4-95fbc54ac0b3/pdf-file-metadata-into-sharepoint-list-while-uploading?forum=sharepointdevelopmentlegacy
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/f685caf9-8c0d-401e-b0e2-646c2c779cb2/pdf-metadata-into-a-sharepoint-column?forum=sharepointadminprevious
    Or, you can use a third party solution called Video Library to get the embedded metadata from video files.
    https://store.bamboosolutions.com/sharepoint-video-library.aspx
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Write Tray API property for Portal Favourites page.

    Hi All,
    Plz help me out for setting the "Write Tray API" property" in Portal, as when iam accessing Portal favourites tab iam getting the error "The property White Tray API of the page must be set to "TRUE"".
    Kindly help, as this is urgent.
    Thanks & Regards,
    Shailesh Nagar

    Hi,
    that link is reffered to SAP Note :1017186 i don't know why its not working suddenly i am just copying the SAP Note here
    Symptom
    When user tries to add a km document to the portal favorites iView, a pop up message appears on the screen: "The property 'Write Tray API' of the page must be set to 'true'"
    Other terms
    Add to portal favorites iView, favorites iView, Write Tray API
    Reason and Prerequisites
    NW04 - All versions.
    NW04S - All versions.
    Solution
    -Open the framework page for edit.
    -Check the Desktop Innerpage (com.sap.portal.innerpage) and choose Properties.
    -In the Property Category, switch to "Show All".
    -Set the property "Use API of Tray" = to "Yes".
    -Save your changes.

  • I'm using LR 4.4.  How do I extract the metadata from my images and export it into Excel?

    I want to extract the metadata I have added to my images and export it into an Excel spreadsheet.  Can this be done within LR4.4?  If the software doesn't have a function for this is there another way to do it?
    Thanks for any help you can offer.

    JB's ListView is the most straight-forward solution, but
    ConfidentialInformant
    allows for full customization (e.g. if you want to pick and choose custom metadata fields, or export more fields than ListView supports (10), or tweak data formats, or add intelligence...).
    Rob

  • ABAP APIs / Java APIs (MDM Extraction)

    Hi All,
    If I have to extract data out of MDM Repository without using the MDM Syndication functionality, How can I do that?
    I know there is something called ABAP APIs / Java APIs. Can this ABAP/Java APIs be used to extract data out of MDM Repositories?
    If yes, where exactly are these ABAP/Java programs written? In MDM server? Or Portal server?
    Thanks,

    You can actually do that with the help of API.
    for similar issue follow below threads.
    Data syndication using MDM Java API
    Retrieve Data using Java API
    Hope this help
    thx
    Deep

  • Any  API's to write metadata to database?

    I have this unique situation wherein I need to extract the DDL objects (procedures, packages, functions) from database. I was able to solve this by using the DBMS_METADATA.GetDDL() API.
    Now, I have another situation wherein I need to write the changes to DDL objects to database. I dont want to use TOAD to compile. The objective is to use an API to write any changes to DDL objects.
    I could not find any API's that would do the work similar to GetDDL to write back, but could not find any.
    Any help is appreciated.
    Thanks
    Ash

    Let me explain the situation. In our current setup we use TOAD to create/change our custom objects (Package, Procedure and Function). When a change is ready to be migrated to production we copy the source code from development and paste it into production Toad editor and execute the object to save in database.
    We want to get away from that and deploy the changes using command line (this idea is to use subversion to capture chanes and deploy through a script).
    Now to implement this solution, broke it down to two components
    1) Extract all custom objects' metadata and store in folders. For this I used DBMS_METADATA.getDDL() API and passed the parameter like 'PACKAGE', 'PROCEDURE' etc. I wrote a java program and ran that program from windows command line and I'm able to see all the objects retrived, saved into corresponding file names and into their respective folders.
    2)Deploy. As as developer, I would get the source code for an object from one of the folders in my windows environment and then make the necessary modifications. Lets say for eg. test1.prc is a procedure that I extracted from database and I modified the code. Now I'm ready to deploy this code change in production.
    Two ways of deploying in production 1) Use Toad to execute the changes and 2) Use SQLPlus to compile the changes.
    I'm looking at a 3rd alternative wherein if there is any API's similar to GetDDL() (I wish they had SetDDL), I would write a JAVA wrapper to send the changes back to database.
    If we do not have one, the only way I can think of is to call sqlplus through program and then compile the object. (This would be my alternative solution).
    Hope I explained it clearly.
    Thanks
    Ash

Maybe you are looking for

  • Mousepad Issues on Macbook Pro

    I have a Macbook Pro with the latest OS LION 10.7.3 The problem is with my mousepad. Sometimes the mousepad hangs on to certain elements on the screen and highlights things unnecessarily, and will also not be responsive. It also has trouble scrolling

  • Full width background with header and float

    I have been upgrading a web page to HTML5.  I would like to place a PayPal button on the right side of the screen inline with a header.  I am almost there.  See the "FreeAXP Support" line at http://home.earthlink.net/~msi1/FreeAXP_HTML5.html. What's

  • Default Standard Text Key or Standard Text to first Operation of Order

    I would like to have a standard text key or standard text defaulted for the first operation of an order created via IW31 of certain order type. For example we have an order type called CORR for corrective orders.  When ever there is a break fix, the

  • Configuring Domain (enom domain) in iWeb with MobileMe

    I have my domain set up fine in iWeb and it is redirecting but I can't get the DNS admin stuff right in enom to forward my website. Is anyone familiar with what is needed on an enom account? I purchased the domain via Google Apps. I disabled the curr

  • Printing a contact sheet in LANDSCAPE mode

    In ye olden days of iPhoto when you used the print command it would format your photos into a contact sheet in a "landscape" layout (you don't need a degree in physics to realize it makes a more efficient use of a sheet of paper!). Now, when you use