Exporting Content Areas
Has anyone managed to export content areas or pages in Oracle Portal30?
I have looked at the scripts contained in the document 133135.1, but they donot work. Any ideas??
Josh,
What kind of errors are you getting? What version of Portal are you running?
Please refer to the white paper Oracle9iAS Portal Export/Import.
Regards,
Jerry
null
Similar Messages
-
Is there a way to export content areas in Portal 3.0 ?. I am looking for something similar to the Application export option.
Thanks.Content area import/export scripts are located in the ORACLE_HOME/portal30/webdb30/admin/plsql/wwu directory. The scripts you are looking for are contexp and contimp. They are best used in conjunction with the other user and schema export scripts (ssoimp/exp) and secimp/exp) scripts in the same directory.
Best Regards,
Harry -
Exporting content areas/pages
Help please!!
I have created content areas and pages on the Oracle's hosted portal demo site and need to export them to our own server.. Can anyone advise on how this process is done and if its possible? your help is appreciated...
thanksHy, there is a white paper about export import.
But here comes how to do it:
in $ORACLE_HOME\portal30\admin\plsql\wwu, you can find the import export utilities:
- contexp.cmd
- pageexp.cmd
also the import utilities are here. Use all the parameters in the same order as they come in the example (just type in contexp when you are in the right directory). Do the same for pages. Use -security options if you want to keep the security and the same for contexp with his own -page option. This should be done if you changed the page of the content area. They make a security.dmp and a pobpage.dmp in the current directory ($ORACLE_HOME\portal30\admin\plsql\wwu). If you export 2 content area's don't forget that the -page & -security option will overwrite the pobpage.dmp and security.dmp file, so it will be better to do the export import immediatly after each other. Or copy the files after the export.
Very important is to check the portlets from the content area's if they exist. If you have a portlet provider in the content area and the portlet repository doesn't show that (refresh in the repository can help) then the corresponding portlets in pages will be deleted.
Search on Metalink for the Whitepaper Fill in : Oracle9iAS Portal Export/Import White Paper and you will find all the information.
Good luck -
Export/import content area
Hi,
I'm trying to import/export the content area using the contexp.cmd and the contimp.cmd. When I run the import I receive the error '
WWUTL_API_SiteTransport.GetImportSites: Import table WWUTL_SBR_TX_SITES$ is empty
Rolling back transaction'
The first thing the export does is truncate this table so it is always going to be empty. Any ideas how to get round this??
I am running version 3.0.7.6.2 on NT 2000
ThanksThe import truncates the table to remove any old data that might be left from previous export/ import.
Following this step, the Oracle Import utility imp is run. One reason why you are getting the error could be due to different versions of the 9iAS client utilities (which are 8.1.7 based in your case) and the database server. If the database server is 8.1.6 then you need to set the ORACLE_HOME to the database home prior to running the import. Once the import is complete you can reset the ORACLE HOME back to the 9iAS Home. -
Content Area Export / -page switch
I am using Portal Production 3.0.7.6.2 under NT.
If I try to export a content area using the "-page" switch, then I get the following error in SQLPLUS:
SP2-0310: unable to open file "pagename.sql"
any ideas what is wrong?
tks!!On Windows NT, the content area export script when invoked with the -page option looks for a script file named pagename.sql which was left out of the install (it has been fixed in 3.0.8). Using a text editor, save the following into a file named pagename.sql and place it in the <PORTAL_HOME>/admin/plsql/wwu directory:
/* --- Cut Here --- */
select 'set page_name='| |name from wwpob_page$
where id = (select pageid from wwsbr_sites$ where upper(name) = upper('&&1'))
set serverout on
set echo off
set feedback off
set verify off
set newpage 0
set pagesize 0
set space 0
set heading off
set trimspool on
set termout off
spo pagename.bat
spo off
exit
/* --- Cut Here --- */ -
Hi Everyone,
I have created simple Desktop app in that I trying to generate PDF file from Datagridview...when I click on ExportPDf button Pdf file is generation successfully but the issue is in that pdf whatever the images has present in datagridview that images
are not generation into PDF only the text contents are Present in PDF file.
Does any one can tell me how to generate the PDF file along with images.
Here is my code:
private void btnexportPDF_Click(object sender, EventArgs e)
int ApplicationNameSize = 15;
int datesize = 12;
Document document = null;
try
SaveFileDialog savefiledg = new SaveFileDialog();
savefiledg.Filter = "All Files | *.* ";
if (savefiledg.ShowDialog() == DialogResult.OK)
string path = savefiledg.FileName;
document = new Document(PageSize.A4, 3, 3, 10, 5);
PdfWriter writer = PdfWriter.GetInstance(document, new FileStream(path + ".pdf", FileMode.Create));
document.Open();
// Creates a phrase to hold the application name at the left hand side of the header.
Phrase phApplicationName = new Phrase("Sri Lakshmi Finance,Hosur-560068", FontFactory.GetFont("Arial", ApplicationNameSize, iTextSharp.text.Font.NORMAL));
// Creates a phrase to show the current date at the right hand side of the header.
Phrase phDate = new Phrase(DateTime.Now.ToLongDateString(), FontFactory.GetFont("Arial", datesize, iTextSharp.text.Font.NORMAL));
document.Add(phApplicationName);
document.Add(phDate);
iTextSharp.text.Image img = iTextSharp.text.Image.GetInstance("D:\\logo.JPG");
document.Add(img);
iTextSharp.text.Font font5= iTextSharp.text.FontFactory.GetFont(FontFactory.TIMES_ROMAN, 5);
iTextSharp.text.Font font6 = iTextSharp.text.FontFactory.GetFont(FontFactory.HELVETICA_BOLD, 6);
//float[] columnDefinitionSize = { 2.5f, 7.0f,6.6f, 8.6f, 6.6f, 5.0f, 4.5f, 7.0f, 6.3f, 7.0f, 3.5f, 6.0f, };
PdfPTable table = null;
table = new PdfPTable(dataGridView1.Columns.Count);
table.WidthPercentage = 100;
PdfPCell cell = null;
foreach (DataGridViewColumn c in dataGridView1.Columns)
cell = new PdfPCell(new Phrase(new Chunk(c.HeaderText,font6)));
cell.HorizontalAlignment = PdfPCell.ALIGN_CENTER;
cell.VerticalAlignment = PdfPCell.ALIGN_CENTER;
cell.BackgroundColor = new iTextSharp.text.BaseColor(240, 240, 240);
table.AddCell(cell);
if (dataGridView1.Rows.Count > 0)
for (int i = 0; i < dataGridView1.Rows.Count; i++)
PdfPCell[] objcell = new PdfPCell[dataGridView1.Columns.Count];
for (int j = 0; j < dataGridView1.Columns.Count - 0; j++)
cell = new PdfPCell(new Phrase(dataGridView1.Rows[i].Cells[j].Value.ToString(), font5));
cell.HorizontalAlignment = PdfPCell.ALIGN_LEFT;
cell.VerticalAlignment = PdfPCell.ALIGN_LEFT;
cell.Padding = PdfPCell.ALIGN_LEFT;
objcell[j] = cell;
PdfPRow newrow = new PdfPRow(objcell);
table.Rows.Add(newrow);
document.Add(table);
MessageBox.Show("PDF Generated Successfully");
document.Close();
else
//Error
catch (FileLoadException fle)
MessageBox.Show(fle.Message);
MessageBox.Show("Error in PDF Generation", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
Runtime Gridview content:
Generated PDF File:
Thanks & Regards RAJENDRAN MHi Everyone,
I have created simple Desktop app in that I trying to generate PDF file from Datagridview...when I click on ExportPDf button Pdf file is generation successfully but the issue is in that pdf whatever the images has present in datagridview that images
are not generation into PDF only the text contents are Present in PDF file.
Does any one can tell me how to generate the PDF file along with images.
Here is my code:
private void btnexportPDF_Click(object sender, EventArgs e)
int ApplicationNameSize = 15;
int datesize = 12;
Document document = null;
try
SaveFileDialog savefiledg = new SaveFileDialog();
savefiledg.Filter = "All Files | *.* ";
if (savefiledg.ShowDialog() == DialogResult.OK)
string path = savefiledg.FileName;
document = new Document(PageSize.A4, 3, 3, 10, 5);
PdfWriter writer = PdfWriter.GetInstance(document, new FileStream(path + ".pdf", FileMode.Create));
document.Open();
// Creates a phrase to hold the application name at the left hand side of the header.
Phrase phApplicationName = new Phrase("Sri Lakshmi Finance,Hosur-560068", FontFactory.GetFont("Arial", ApplicationNameSize, iTextSharp.text.Font.NORMAL));
// Creates a phrase to show the current date at the right hand side of the header.
Phrase phDate = new Phrase(DateTime.Now.ToLongDateString(), FontFactory.GetFont("Arial", datesize, iTextSharp.text.Font.NORMAL));
document.Add(phApplicationName);
document.Add(phDate);
iTextSharp.text.Image img = iTextSharp.text.Image.GetInstance("D:\\logo.JPG");
document.Add(img);
iTextSharp.text.Font font5= iTextSharp.text.FontFactory.GetFont(FontFactory.TIMES_ROMAN, 5);
iTextSharp.text.Font font6 = iTextSharp.text.FontFactory.GetFont(FontFactory.HELVETICA_BOLD, 6);
//float[] columnDefinitionSize = { 2.5f, 7.0f,6.6f, 8.6f, 6.6f, 5.0f, 4.5f, 7.0f, 6.3f, 7.0f, 3.5f, 6.0f, };
PdfPTable table = null;
table = new PdfPTable(dataGridView1.Columns.Count);
table.WidthPercentage = 100;
PdfPCell cell = null;
foreach (DataGridViewColumn c in dataGridView1.Columns)
cell = new PdfPCell(new Phrase(new Chunk(c.HeaderText,font6)));
cell.HorizontalAlignment = PdfPCell.ALIGN_CENTER;
cell.VerticalAlignment = PdfPCell.ALIGN_CENTER;
cell.BackgroundColor = new iTextSharp.text.BaseColor(240, 240, 240);
table.AddCell(cell);
if (dataGridView1.Rows.Count > 0)
for (int i = 0; i < dataGridView1.Rows.Count; i++)
PdfPCell[] objcell = new PdfPCell[dataGridView1.Columns.Count];
for (int j = 0; j < dataGridView1.Columns.Count - 0; j++)
cell = new PdfPCell(new Phrase(dataGridView1.Rows[i].Cells[j].Value.ToString(), font5));
cell.HorizontalAlignment = PdfPCell.ALIGN_LEFT;
cell.VerticalAlignment = PdfPCell.ALIGN_LEFT;
cell.Padding = PdfPCell.ALIGN_LEFT;
objcell[j] = cell;
PdfPRow newrow = new PdfPRow(objcell);
table.Rows.Add(newrow);
document.Add(table);
MessageBox.Show("PDF Generated Successfully");
document.Close();
else
//Error
catch (FileLoadException fle)
MessageBox.Show(fle.Message);
MessageBox.Show("Error in PDF Generation", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
Runtime Gridview content:
Generated PDF File:
Thanks & Regards RAJENDRAN M
Hello,
Since this issue is mainly related to iTextSharp which belongs to third-party, I would recommend you consider posting this issue on its support website to get help.
Maybe the following forum will help.
http://support.itextpdf.com/forum/26
Regards,
Carl
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Export of items in a content area
We have items of type image in a content area. In the
browser the image url appears as follows:
/pls/portal30/docs/1234.gif
When migrating content areas does the item content
also get migrated (eg: the image file) and also
are the appended numbers eg: 1234.gif and itemids
kept the same in the new instance or are they changed.
Also is the correlation between the image and the number
maintained in the new instance.
Thanks,
SuzanneYes. All these correlations are automatically taken care.
-
Moving a folder, Linking between content areas
I have 2 problems:
1) So far we developed all our content in a single content area. We would now like to split the information into multiple content areas. The MOVE or COPY command on the folder only allows me to copy within a content area. I have hundreds of documents to move. Is there any way i can move a folder to a different content area?
2) What is the best way to link a folder from 1 content area to a folder in another content area? I found that the FOLDER LINK ITEM allows me to connect only within a content area.
(I would prefer not to use an URL since the content publishers may not be able to construct complicated paths or the paths may change leading to broken links.)Suraj
1) The only way to do this currently is to create an export of the content area, import it back into the portal and remove the duplicate content. We are planning a bulk action feature in a future release that would allow you do to selectively copy/move one or more folders into a new content area.
2) Currently folder links are scoped within a content area; the only option is to link to the folder through a URL folder type. If you use the generated URL that contains the folder ID, you shouldn't run into any problems if the target folder is moved. I have submitted an enhancement request to extend the folder link to 'remote' folders outside of the 'home' content area. -
Error in Export Content Archive
Hi,
I am trying to export Content Archive using Archiver applet present in the admin applets but its getting failed, while the Table Archive was done successfully.
The error I am getting is as below:
"Export error for archive 'ContentArchive_13June'" in collection 'Eb_UCM': Aborting. Too many errors ".
And the logs present in the log files are:
Warning 6/14/2011 11:09:27 AM Unable to rename '/home/ucmuser/oracle/ucm/server/weblayout/resources/schema.work' to '/home/ucmuser/oracle/ucm/server/weblayout/resources/schema' while publishing schema.
Error 6/14/2011 11:09:27 AM Unable to publish the schema. Published schema directory could not be swapped into its proper location. [ Details ]
I have also tried after changing the file permissions on /home/ucmuser/oracle/ucm/server/weblayout/resources/schema.work, but the same logs are comming.
Please help.
Thnks,
SunnyHi,
Add Configuration Variable MaxArchiveErrorsAllowed=500 at config.cfg file and restart content server, try to export your archiver.
If you still getting same error message like "to many errors" then increase value 500 to 1000.
Thanks,
Ravinder -
Content Area doesn't appear although Import Successful
I am testing an export/import of some Portal objects to prepare for a migration from development to production. I am using Portal 3.0.9.8.3. I am exporting using Doc ID: 146645.1 as a guide (exporting and importing in the documented order). Everything indicates a successful Export/Import. Both the export and import logs show records being exported and records being imported with the message "Import terminated successfully without warnings." in both logs. When I get back into Portal on the Prod machine, the Content Area and Page are not there. Also, the tables which indicated records being imported by the import log file, have no rows in them. What's going wrong?
JohnI have this same problem. I am trying to export/import certain parts of my development portal to my production version. I have successfully run the scripts to export a content area from my development machine and then sucessfully ran the import script on my production machine. Yet I can't see the content area on my production version. I suspect this is because the two portals have different DAD's. The development DAD is crp1_portal30. The production DAD is imsi_portal30. I have tried going into the Listener Gateway Settings Page, but it comes up asking for authentication. I have tried every username/password in the system and can't get in.
1. What is the default username/password for this. We didn't set this up. It was set up by 11i Rapid Install.
2. Do you think that's why my content area won't show up?
3. How can I create a new instance of portal, i.e. have multiple portals on the same machine. -
Import Of Content Areas Muddles up Content
We are in the process of exporting our portal applications,components, content areas and pages from our development server to the live environment.
We are using the contexp.cmd for export and contimp.cmd for the import of the content areas but after it has been imported the contents areas are all jumbled up. We have ran the process several times and used 2 different live servers but each time the content areas come across and the majority of contents are jumbled. Each time we have ran the same process we get different results.
Has any one experienced this or has any idea how to prevent it from happening.
nullDatabase are 8.1.7.1.1
Portal = 3.0.7.6.2
What happens is the folders will have the correct names and some of the items within the folders will be correct but randomly items from separate folders will appear. There seems to be no pattern and we have tried the import \ export several times each time with an incorrect but different result.
This has now been raised as a Tar.
Thanks -
Exp/Imp content Area Portlet..?
How to Exp/Imp "Content area folder published as a portlet" which reside in "WWSBR_SITEBUILDER_PROVIDER".
Anybody from Oracle..?
Thanks.
RakeshI assume you are using the 309 version of portal. It is possible to export out an entire content area or a page but not the granular items. By granular I mean just the folder in this context. If you wish to export/import the entire content area/page, you can run the pageexp/pageimp/contexp/contimp scripts which reside in the WWU directory.
-
InDesign Help | Export content for EPUB | CS6
This question was posted in response to the following article: http://helpx.adobe.com/indesign/using/export-content-epub-cs6.html
The Kindle whitepaper is out of date. In particular, it seems that Amazon does not accept Calibre-created.mobi files - .mobi files created by converting from .epub to .mobi in Calibre - and insists on using Kindlegen to create .mobi files. In my experience, however, Calibre does a better job of converting from .epub to .mobi than Kindlegen, and I do not know why .mobi files created by Calibre are unacceptable.
-
Hi,
Is there a way to exporte pages and/or content areas from Portal? Is so how can i do it?
PedroPedro,
Please read the white paper on export/import.
Regards,
Jerry -
Hi All
We have developed a portal on (9.0.1) version with some content area.Now we have to migrate it to Portal Release 2 (9.0.2) .Does the Release 2 support content area .If not,then can we use those content area somehow in Release 2.
Regards
Ashok K sharmaAshok,
In Release 2, content areas are replaced by page groups. When you upgrade to Release 2, your existing content areas will become page groups. The scripts to upgrade to Release 2 are not yet available, but there is a paper (Preparation for Upgrade to Oracle9iAS Portal Release 2) on Portal Center that details how to prepare for upgrade. Select Product Information, then Export/Import, Migration and Upgrade.
Maybe you are looking for
-
MacBook Pro to TV with RCA - Not working
Hi guys, I'm trying to connect my Macbook pro 08 to my new Samsung HD TV. I'm using a DVI-D to HDMI for the video which works great, but I'm using RCA to the headphone jack for Audio and it's not working. I've tried playing with the settings in my TV
-
I downloaded and installed the new Firefox4 yesterday and when I right click links to open them in a new tab or copy something it will blink on and off (twitch) then disappear. I can still click where I saw the option and it'll work, but it's really
-
Passing variables from DM to logic script problem (REPLACEPARAM)
Dear All, I would like to send variables from data manager to a logic script. The script copies values from an account to an other. If I hardcode two accounts in the script, it works fine, but I want to pass these two accounts dynamically from data m
-
BAPI to change Specification in EH&S
Hi Andreas I want to know is there any difference in using C1F2_SUBSTANCES_READ_WITH_REF to read out property data and BAPI_BUS1077_GETDETAIL Also I came across the following 2 Bapi's an alternative for C1F2_SUBSTANCE_UPDATE BAPI_BUS1077_CREATE : To
-
Subject line covers most of the question. Version 4.0 worked fine. I've uninstalled and reinstalled 4.01. No change. Tools, Addons doesnt reveal addons. New window opens with some toolbars missing and a blank page. Using tabmix plus; maybe that's an