Import existing content

Hello,
I have an existing web site (~4000 documents) and I would like import this content in a Portal Page Group. The file formats are Microsoft file (Word, Excel...), PDF and HTML. Moreover I must import their names and descriptions.
Is there a script or procedure for doing this?
Thanks for any assistance.

hi christian,
I have some problems with the method add_item
I have this error when running the below code:
++++++++++++++++++++++++++++++++++++++++
Executing PL/SQL: CALL PORTAL."JDEV_TMP_PROC_2"()
ORA-06510: PL/SQL : unhandled user-defined exception
ORA-06512: à "PORTAL.WWSBR_API", line 591
ORA-06510: PL/SQL : unhandled user-defined exceptionnon traitée
ORA-06512: à "PORTAL.TESTIMPORT", line 16
ORA-06512: à "PORTAL.JDEV_TMP_PROC_2", line 3
++++++++++++++++++++++++++++++++++++++++
PROCEDURE TESTIMPORT AS
BEGIN
declare
l_new_item_master_id number;
l_caid number := 33;
l_folder_id number := 34322;
begin
dbms_output.put_line('debut');
l_new_item_master_id := portal.WWSBR_API.add_item(
p_caid => l_caid,
p_folder_id => l_folder_id,
p_display_name => 'testimport.doc',
p_type_id => portal.WWSBR_API.ITEM_TYPE_FILE,
p_type_caid => portal.WWSBR_API.SHARED_OBJECTS,
p_display_option => portal.WWSBR_API.IN_PLACE,
p_post_upload => false,
p_description => 'test description',
     p_file_filename => '/home/devportail/testimport.doc');
commit;
exception
when wwsbr_api.MISSING_ITEM_TYPE then
dbms_output.put_line('MISSING_ITEM_TYPE');
rollback;
when wwsbr_api.QUOTA_EXCEEDED then
dbms_output.put_line('QUOTA_EXCEEDED');
rollback;
when wwsbr_api.INVALID_PUBLISH_DATE_FORMAT then
dbms_output.put_line('INVALID_PUBLISH_DATE_FORMAT');
rollback;
when wwsbr_api.INVALID_PUBLISH_DATE_VALUE then
dbms_output.put_line('INVALID_PUBLISH_DATE_VALUE');
rollback;
when wwsbr_api.NULL_EXPIRE_NUMBER then
dbms_output.put_line('NULL_EXPIRE_NUMBER');
rollback;
when wwsbr_api.INVALID_EXPIRE_NUMBER then
dbms_output.put_line('INVALID_EXPIRE_NUMBER');
rollback;
when wwsbr_api.NULL_EXPIRE_DATE then
dbms_output.put_line('NULL_EXPIRE_DATE');
rollback;
when wwsbr_api.INVALID_EXPIRE_DATE then
dbms_output.put_line('INVALID_EXPIRE_DATE');
rollback;
when wwsbr_api.INVALID_EXPIRE_DATE_FORMAT then
dbms_output.put_line('INVALID_EXPIRE_DATE_FORMAT');
rollback;
when wwsbr_api.REQD_ATTR_MISSING then
dbms_output.put_line('REQD_ATTR_MISSING');
rollback;
when wwsbr_api.ITEM_CREATION_ERROR then
dbms_output.put_line('ITEM_CREATION_ERROR');
rollback;
-- process cache invalidation messages
wwpro_api_invalidation.execute_cache_invalidation;
end;
END;
regards,
xavier

Similar Messages

  • Import existing web content.

    Hello,
    We have an existing internal web site that I would like to bring into Portal Page Groups. The content is mostly static HTML with relatively linked images and docs. Is there a script or procedure for doing this?
    Thanks for any assistance.

    To import existing Web content, OracleAS Portal offers a number of content integration technologies (ZIP files, WebDAV, Omniportlet, and APIs) which may help you migrate your existing Portal content/static content to OracleAS Portal:
    1) ZIP file item type (accessible from the add item wizard) - allows you to upload static content and associated images very easily into a portal page/page group - all in just one single operation. Zip File items make it very simple to stage and maintain formerly static HTML Web sites.
    2) WebDAV i.e. drag and drop the content. You can set a default region for which the content ends up in. More information is available at this link below:
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/OTN_CONTENT/MAINPAGE/PUBLISH_CONTMGMT/TECHNOTE_WEBDAV.HTML
    3) From Portal version 9.0.2.6 onwards, content area APIs are available. See the portalstudio link below for more details.
    http://portalstudio.oracle.com/servlet/page?_pageid=2746&_dad=ops&_schema=OPSTUDIO&12657_RELEASE2PLSQLHOME_39847486.p_subid=250746&12657_RELEASE2PLSQLHOME_39847486.p_sub_siteid=73&12657_RELEASE2PLSQLHOME_39847486.p_edit=0
    4) Omniportlet & Web Clipping: Web Clipping may be considered for use as an intermediate step to display data from an external site within your Oracle Portal. More information here:
    http://portalstudio.oracle.com/servlet/page?_pageid=350&_dad=ops&_schema=OPSTUDIO&12678_PDKHOME902_39847486.p_subid=350276&12678_PDKHOME902_39847486.p_sub_siteid=73&12678_PDKHOME902_39847486.p_edit=0
    Additional information on content integration solutions (not necessarily directly related to your issue) can also be found here on PortalCenter.
    http://portalstudio.oracle.com/servlet/page?_pageid=478&_dad=ops&_schema=OPSTUDIO&7655_MAINPAGE_39847486.p_subid=33750&7655_MAINPAGE_39847486.p_sub_siteid=73&7655_MAINPAGE_39847486.p_edit=0
    Best Regards,
    Harry

  • How to import existing projects into JDeveloper 11g

    I am trying to work with JDeveloper for my application and want to know whether it is possible to import existing projects into the work space in JDeveloper. I am currently working with eclipse IDE and this feature is available in it. How can I connect to clear case from JDeveloper? In eclipse it is very easy to connect to clear case with a plugin installed and check out, check in files from the source control. Any help is greatly appreciated.

    The basic way to import code is to use the "New->Projects->Project from existing code" or "project from WAR" dialogs to create your project.
    You then need to do some tweaking in the project properties->Content (and sub nodes such as resources and Web content).
    And also set the correct JARs/Libraries in the project properties.
    You can use the help->check for update to download the extension to JDeveloper that will let you integrate with Clearcase to do version management.
    This how-to might help you with your migration:
    http://www.oracle.com/technology/products/jdev/howtos/1013/w4wljdev/workshopandjdev.html

  • Error when import BI content 3.5.3

    Hi All
    I have error when import BI content 3.5.3 step at Tcode 'SAINT' (file SAPKIBIFIH.car) for mySAP ERP 2004 (ECC 5.0 IDES).
    The error occur in step 3/5 after enter SAINT:Passw request.
    System shown information "<b>Queue SAPKLTHQ10 has not yet been confirmed</b>".
    In step 4/5 sytem shown statue/remarks "<b>The Add-on installation terminated during phase PROLOGUE</b>".
    I think about installation THAI font package at Tcode "SMLT" uncompleted.
    I run report <b>"RSCPINST"</b> at Tcode "SE38" for editing codepage after that the system shown error message "<b>MDMP is not supported foe SAP Business Information Warehouse. Message no.RIN010"</b> Please see sap note 563975.
    <b>Note:</b> When  i import Thai font package "SAPKLTHQ10" using Tcode "SMLT" the system shown error message "TL1277" in define schedule job step.
    Message no. TL137
    Diagnosis
    You want to start the post-import methods for special texts (calendar texts, terminology, and glossary) for language Thai.
    Before this can happen, the system checks whether this server is prepared for this language. The system also checks whether the language environment can be switched dynamically on this server (see ABAP command SET LOCAL LANGUAGE).
    System response
    The system established that the language environment cannot be switched to language Thai.
    The language transport is stopped at this point.
    Procedure
    The switch of the language environment may fail for the following reasons:
    1. The database codepage is not up-to-date.
    2. The codepage information for language Thai is not up-to-date.
    3. Locales for language Thai do not exist, or are invalid, at the operating system level.
    4. The profile parameter zcsa/installed_languages has to be adjusted.
    If an error occurs, proceed as follows:
    1. Find out the name of the server on which the language import job ran. Log on to this server.
    2. Check the language configuration using report RSCPINST. Solve the reported problem there.
    If your system consists of multiple application servers and not all of them have authorization for language Thai, continue the language import on a server that has authorization for language Thai.
    plaese help me to solve this problem.
    thank a lot for all solutions.
    Mooping.

    This is a long story that you write, but your problem seems just that you must "Confirm the queue". Is that correct?
    Without this step no further Support Packages can be inserted into the system. Confirming the queue is done by one of the buttons in the SPAM transaction. Just put the mouse on the buttons and read the quick help to differentiate between the buttons.
    I have never had a problem like this but I think it can happen if, together with the new BI version you also include one or more support packs. This happens automatically if these packages are available, so you may not even have noticed it.

  • Importing existing only WAR file in NWDS for deployment on WAS

    Hi,
    I have WAR file created on the eclispe platform by someone. I am required to import that into NWDS and embed into EAR and then deploy on WAS.
    However, i found no direct way to import existing only WAR file into NWDS. Simply importing a file in the web module project will only copy the contents, without that getting extracted.
    Kindly let me know in detail, how to acheive the same.
    Regards,
    Apeksha

    Hi,
    don't worry. It will work. If done this with a Web Application I received from a vendor. Normally it is deployed on Tomcat but we had to integrate the functionality into SAP Portal / SAP Web AS.
    So I just created an empty Web Module Project and the Enterprise Project, linked them and built the EAR.
    I just replaced the empty WAR in the generated EAR with the WAR I received from my Vendor and deployed it on SAP J2EE using Visual Admin.
    In general you should be able to deploy every WAR on every APP Server with a servlet engine that conforms the SUN J2EE Specifications (SAP J2EE does)!
    Does this mean that Web module project is never executed, since that WAR added in the EAR is only getting executed?
    I don't really understand this question? The result of your Web Module Built is the WAR file. By linking it to your EAR you just achieve that the WAR File is put into EAR when you build the EAR. Since your Web Module Project has the same name as your WAR File (I hope it does) you just pretend that the WAR File you are putting in the EAR replacing the empty one was the one that was built within NWDS.
    The Web Module is the one that is being executed after deployment. It contains all the Code. The Enterprise App is just a wrapper around it. I don't know why it is not possible to directly deploy a WAR File to J2EE.
    It could be that you get some problems with Libraries in your Web App that also exist on J2EE (e.g. Java Mail)
    I had the problem with Java Mail. The Version in WebApp was newer than the one used in J2EE so some functionality did not work at the beginning. Since there seems to be no way to tell the J2EE Classloader to load the Child Libraries first instead of parent I had to replace the mail.jar in SAP J2EE with my own one.
    You will probably not even face such a problem so just ignore it for now!!
    Unpack the WAR to some folder in your local filesystem using a ZIP Program. Then open your File Browser (e.g. Windows Explorer if you are on Windows) and put your NWDS besides it. Then just drag and drop the files from your File Explorer to NWDS using the Resource Perspective (as described above)
    It is some manual work but there is no other way around this if you want to build your Web App in NWDS in order to avoid exchanging the WAR in your EAR everytime you deploy it!
    If you have further questions let me know
    Cheers

  • Problems while importing SAP Content

    Hi,
    we actually import some content provided by SAP for German VAT (Elster). Now the import works fine, but when I click on some elements f.e. message mapping XI result with error:
    Target message Message Type: VATDeclarationConfirmation does not exist in software component version 6d53e350-a97d-11d8-a2dd-d61d0a114c15 Check whether the software component version 6d53e350-a97d-11d8-a2dd-d61d0a114c15 is in the Integration Repository. If necessary, install the software component version 6d53e350-a97d-11d8-a2dd-d61d0a114c15 or a newer version
    But its nothing we imported by our own - its all from SAP anyone a idea how to fix it?
    Thanks
    Matt

    Hi Matt,
    actually you will need to import SWCV SAP APPL 470 with at least patch level 22 as well. This SWCV contains the RFC structures which are used in the mappings and might not be referenced in your case....
    Regards
    Christine

  • Can I import web content to keynote

    Can I import web content to keynote? I want to use existing content including colours, fonts, pictures etc. Eventally I will probably also go generate webpage from keynot, but thant is another question!
    best regards, Iain

    ilovetrainskc:
    Yes you can do that. You can either merge the two Domain.sites files into one with iWebSites or use them independently by renaming one of the to SiteName.sites and then use iWebSites to open them independently and publish independently.
    I use iWebSites to manage multiple sites.. It lets me create multiple sites and multiple domain files.
    If you have multiple sites in one domain file here's the workflow I used to split them into individual site files with iWebSites. Be sure to make a backup copy of your original Domain.sites files before starting the splitting process.
    This lets me edit several sites and only republish the one I want.
    Do you Twango?

  • Import existing XSD's into Jdev to generate WSDL

    Is there a way to import XSD's into an existing project in JDeveloper, so I can use them to generate an WSDL.
    The only option I see now, is to create an empty xsd an copy/paste the content of the already existing xsd into the project.
    My fealing says there must be a more elegant way to do this.
    Regards,
    Stefan

    Chris,
    Thanks for the quick answer. sorry for the late response...
    Had to look close, because in step , you have the option to import Java Content, where I wanted to import xml. The header 'Java content' is misleading, I found out.
    Anyway, thanks and congratulations on the birth of your daughter Jessica.
    Stefan

  • Error importing Portal Contents Using  EP 6.0 SP15

    Hello,
    We were importing portal contents on one server from the other.
    Out of those, only 2 were imported successfully.
    But other got an error as follows:
    Error Details 
    Cannot import in text only mode: object portal_content/com.mcgm.xxxx/com.xxxx.PortalDisplayComponents/com.xxxx.complaints/com.xxxx.fcomplaints_main/com.xxxx.fiViews/com.xxxx.iImportantContacts does not exist.
    Object ID:
    pcd:portal_content/com.xxxx.xxxx/com.xxxx.PortalDisplayComponents/com.xxxx.complaints/com.xxxx.fcomplaints_main/com.xxxx.fiViews/com.xxxx.iImportantContacts
    Transport
    File: /usr/sap/CPD/JC01/j2ee/temp/pcd/transport/IMPORT-0807_144931_226_209eb21d06845d2f/EPT/com.xxxx.iimportantcontacts.ept
         at com.sapportals.portal.pcd.gl.transport.PcdGlTextTransportManager.importObject(PcdGlTextTransportManager.java:103)
    Could anyone guide us regarding it?
    Thanks and regards,
    Pradnya

    Another thought about this :
    It's the deserialization that fails saying that the <DisplayName> child of <response> is not defined in the schema. Shouldn't we read  that as follows : the response received indeed does include a tag named <DisplayName>, but there is no way of mapping this to the class structure of the generated proxy so that this value can be used to rehydrate an instance of that class with it.
    Now, if we look at the WSDL file for the UME Web Service we find this for the GetUser0 method's response message :
    - <wsdl:message name="getUserResponse">
      <wsdl:part name="response" type="tns0:IUserInfo" />
      </wsdl:message>
    The response is of type IUserInfo. This  type is defined in the WSDL file as outlined below :
    - <complexType name="IUserInfo">
    - <sequence>
    <b>  <element name="DisplayName" nillable="true" type="xsd:string" /></b>   <element name="Locale" nillable="true" type="tns1:Locale" />
      <element name="Title" nillable="true" type="xsd:string" />
      <element name="Groups" nillable="true" type="intf:ArrayOf_xsd_string" />
      <element name="UniqueName" nillable="true" type="xsd:string" />
      <element name="Roles" nillable="true" type="intf:ArrayOf_xsd_string" />
      <element name="Email" nillable="true" type="intf:ArrayOf_xsd_string" />
      <element name="UniqueId" nillable="true" type="xsd:string" />
      <element name="FirstName" nillable="true" type="xsd:string" />
      <element name="LastName" nillable="true" type="xsd:string" />
      <element name="Company" nillable="true" type="xsd:string" />
      </sequence>
      </complexType>
    The WSDL definition for IUserInfo clearly does have this elment.
    Another thing : I'm using the exact same web service from a .Net web service client. The proxies generated with the Visual Studio .Net tools do not throw this error. Which raises the question : is it indeed a WSDL problem or is there a bug in the proxy generation in NW DS ?

  • IMovie '09 Won't Import HD Content from Sony HDR-SR11 Camcorder

    Hi,
    iMovie stopped importing HD content from Sony HDR-SR11 camcorder. It only recognizes the standard definition content in the preview thumbnails. Previously this used to work with both a FireWire cable and a Mini USB. All of a sudden it doesn't import HD clips. There's no plugin failure either, because I reinstalled iMovie '09.
    System Specifications:
    Intel iMac 20" (Late 2008)
    Intel Core 2 Duo@ 2.4 GHz.
    4 GB RAM
    Snow Leopard (10.6.4)
    Thanks!

    With this camera you must erase the SD clips from the camera before you can import the HD clips.
    [See this article|http://support.apple.com/kb/HT1793]

  • Importing existing project to Project Online

    Hello, my company recently purchased Project Online to add to our existing Office 365 environment.
    From the Project Web App home page, I would like to use the Create or Import projects tile to add an existing .mpp project file that I have uploaded to my SkyDrive to Project Online, and manage this project from the Project Web app.
    However, I cannot figure out how to do this or if it is even possible. The tile itself says "Create new or import from Sharepoint sites and project files.".  To import an existing project you're then referred to this site: http://office.microsoft.com/en-us/project-server-help/more-ways-to-create-or-import-projects-HA102923810.aspx.
     On that site the only listed ways of importing an existing project are to import a Sharepoint task list (not what I want) or by connecting your local Project Pro to Project Online and publishing the project.
    Importing or uploading an existing project file directly to Project Online would seem to be a fundamental basic usage of Project Online. Do I really need to also purchase Project Professional in order to import existing project files to Project Online?
    Thanks

    Project Online cannot read mpp files, hence the reason for requiring Project Professional 2013 if you want to import these into Project Online - even if you only want to manage them via Project Web App from then on.  
    If you've not got Project 2013 Pro, you could cut and paste the existing task list from Project into a SharePoint list, and create the project from there.
    The way forward will depend on the complexity of your schedules, remember that PWA does not have all of the capability of MS Project 2013
    Ben Howard [MVP] blog |
    web

  • The Web application at could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application

    Hi,
    I have created on windows service to fetch sharepoint list ad update the list items.
    when i run this service in sharepoint server(where the sharepoint site is hosted),it is working fine. If i run the same service in another machine(sharepoint installed in this machine also). it is giving the below error
    The Web application at [URL] could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.
    Code snippet
    SPSite sharepointSite = null;
                SPWeb rootWeb = null;
                try
                    //SPList current = null, previous = null;
                    string colmId = ConfigurationManager.AppSettings[ID_COLM];
                    List<TaskEntity> list = new List<TaskEntity>();
                    sharepointSite = new SPSite(URL);
                    rootWeb = sharepointSite.OpenWeb();
                    SPList current = rootWeb.Lists[ConfigurationManager.AppSettings[OMEGA_REGISTRATION_LIST]];
                    WriteEventLog("current" + current.Items.Count.ToString());
                catch (Exception ex)
                    ExceptionMethod(ex);
                finally
                    sharepointSite = null;
                    rootWeb = null;
    I have pointed .net framework to 3.5 version and target palform as Any CPU. Please suggest me

    Hi mallela1,
    I also had similar issue couple of months back when I was trying to access a remote URL from a Windows service when the site does not exists in the server where service resides.
    You cannot access a remote url (even though it is SharePoint server and also in same network ) from server object model.
    SPSite can look in the current server only. here what is happening is SPSite will look for this in the current server DB and it is not finding this errror.
    So please dont use ServerObject model for accessing remote sites. You can use Client Object model for the code /requirement you have stated above.
    I wasted lot of time in finding a work around to make to work. It did not. So look for other options.
    Regards,
    Nandini

  • I had to buy a new computer because my old one died. When I sync my iPhone to my new computer, none of the existing content (apps, music, whatever) transfers. What do I have to do?

    When I sync my iPhone to my new computer, none of the existing content (apps, music, whatever) transfers. What do I have to do?
    iPhone 5 iOS 7.1.2
    Old computer Windows XP SP3
    New computer Windows 8

    Anything you purchased from the iTunes Store can be downloaded again, as often as necessary, as long as it still exists in the iTunes Store.
    Read:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • Importing ARIS content to Solution Manager

    Hi Colleagues,
    I'm looking for information on posible restrictions to import ARIS content to Solution Manager.
    Have anyone been through this and could share what challenges we could expect?
    I found a document called "IMPORTING ARIS FOR NETWEAVER CONTENT INTO SOLUTION MANAGER" from Sukumar Natarajan but it just explain its steps.
    Thanks a lot,
    Renato Petrulis

    Hello Renato,
    To Import ARIS to Solman, you need have an install in solution manager, have a project created on tx solar_project_admin, have the ARIS Business Architect ready and follow the simple steps mentioned in the document you talked about.
    Please reply for any other doubt,
    Cheers,
    César Aranda

  • How to import existing ColdFusion project in the eclipse.

    Hi All,
    I have exiting ColdFusion project in my local drive and I want to import it in Eclipse. I already have CFEclipse installed in Eclipse. Is there any step by step instruction to do this?
    Thanks

    You should be able to copy the folder into your Eclipse workspace folder, then go to File--New--Project and select CFML Project (under CFEclipse).
    If it is an existing Eclipse project, e.g. there is already a .project file in the folder, you can follow the steps at Importing Existing Projects.

Maybe you are looking for

  • Nano connection problem

    I have a classic Ipod connected to I tunes and it works fine.  I recently bought a Nano for my wife, I treid connecting it to my I tunes to copy some of the music to her Nano, but it does not recognize it.  Can anyone help?

  • How to force carraige return in display-only item

    Can I somehow force a carraige return in the text for a display only item? Aesthetically, I'd would like to have strategically-placed line breaks. Thanks, C

  • E-mailing packing list to the customer

    Hi, Our business process needs emailing of packing list to the customer. The packing list output form has been developed using SMARTFORM to print bar codes on it. We would like to utilize contact person functionality, which is available in the custom

  • Installing CS4 on Windows 8

    My other laptop died the other day. I bought a new one with windows 8. Specs: Product name:HP Pavilion 17 Notebook PC Keyboard revision:73.26 Total memory:6.00 GB Processor name:AMD A8-6410 APU with AMD Radeon R5 Graphics I am trying my darnedest to

  • IPod 15 gb. totally freezed...

    My iPod is in a freezed mode with the display on. It does`nt matter if I try to charge it,unlock it several times or connect or disconnect to my emac. Nothing happens! For a moment I could hear the click sound when I tried to click on it but after a