Content area object access

Where can I find documentation on content area api's?

Nicola,
portalstudio.oracle.com -> Rel 1 (from navbar on the left) ->PDK -> PLSQL
remember that Rel. 2 compatible sbr apis have not been released yet.
Where can I find documentation on content area api's?

Similar Messages

  • Content area & search portlet

    Hi Everyone,
    I have a couple questions and hope that some of you can give me some insight, thank you so much in advance!
    I need to implement a search portlet. I realized that there is one built-in portlet that came with the 9iAS. But it does not provide all the functionalities that I need. For example, I would like it to be customizable, therefore the drop-down-list lists only the content areas customized by the users and it only searches in those areas.
    Here are the questions:
    1) It seems that the built-in Search portlet uses the database provider. am I right? Where can I find its provider and also its jar files (I am guessing it is written in Java).
    2) If I have to write my own Search portlet, then I need to get the information about the content area such as which table the content area objects are saved to and how many content areas and in the area etc...
    Any insight will be greatly appreciated.
    Thanks,
    Vince

    There are some secure views that are available as part of the Pl/Sql PDK. They are listed here:
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/plsql/doc/sdk23vws.htm
    The views work by using information from the session context (see the wwctx_api package). Typically the session context will be set automatically by the portal framework if the request comes to the Portal Database via mod_plsql or the PPE.
    To find the content areas in which the user has access to folders, you'll need to join the WWSBR_ALL_CONTENT_AREAS view with the WWSBR_USER_FOLDERS using the ID and CAID columns, respectively.
    Content Areas don't have descriptions so a presume you meant the display name rather than the unique name. The display name can be found from the WWSBR_USER_FOLDERS view be joining WWSBR_ALL_CONTENT_AREAS to WWSBR_USER_FOLDERS again but choosing the root folder (select id, caid, language, display_name from WWSBR_USER_FOLDERS.ID = 1). You'll also need to restrict by language.
    Please write again if you need more info.

  • Dynamic footer row prints outside the content area

    Hi,
    I'm using LiveCycle Designer ES 8.2.1. I also have a web application injecting data into the report I created with LiveCycle. The basic structure is the following:
    1 Master page with 1 page and a content area containing a table filled with a list of object. My table has 1 header row, 2 body rows and a footer row that is added dynamically with page break condition.
    The logic behind that is written in FormCalc. Our objects are sent as a list which fills either one or the other body row based on a type. Each object has an "authority" property with a certain value that are used to mark the pages. The list of object is sorted by authority. So, when the current iterating object has a different authority than the previous one, we insert a page brake and the footer row. Everything is wraped in a subform that is "In Content Area" (Object/Pagination/Place).
    The problem is that the footer row is not considered as part of the content area. If the last line of a section fits tight in the content area, the footer row overflows outside the content area and even the whole page in some cases.
    Here are more details:
    We tried any combination of subform wraping and ticking of the "Allow page break with content" check box.
    We tried changing the type of the footer row for a body row in case footers were different than body rows.
    We tried every combination of "Keep with" and "place".
    We tried to change the footer row to a body row and have it displayed on every page and that work, but our client refused the solution...
    Starting with the above (pt 4) template and changing back the body to footer row brought us to the begining
    To the best of our knowledge, we tried everyting possible...
    What I'm looking for is either a confirmed bug for version 8.2.1 about this or a solution other than redesigning the whole report.
    Best regards,
    Sylvain Cloutier

    Hi,
    I know this might no help to solve my issue, but this document doesn't belong to me and I'm afraid I cannot share the file on the internet. It belongs to our client to whom we offer support on this. You know... I'd probably lose my job!
    Though, I've been trying with Adobe LiveCycle Designer ES4 11.0.0 and the same problem occurs. It looks like the row is added to the table after the whole document was produced, so it seems to be working as designed.

  • Accessing secured content area view from JPDK

    Is it possible to access the secured content are views from JPDK?
    For example if I am logged on as user USER1 in Portal, is it then possible to access WWSBR_ALL_ITEMS as USER1?

    hi,
    You can access Content Area APIs from any user using JDBC calls. But, you may have to grant 'EXECUTE' privileges on those procedures (& SELECT privilege if its a DB object like Table, VIEW).
    If you are using PL/SQL procedures in your application, you can directly access them through PL/SQL calls, otherwise you have to use JDBC.
    --Sriram                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Accessing the Contact field on a Content Area Programmatically

    I'm implementing some functionality to email the owner of a content area when a new document is submitted for
    approval.
    I have not trouble accessing and manipulating the content areas, folders, regions and items programmatically,
    but when I get to the simple bit of looking up the contact for a content area to send the email I can't find the contact
    property in any view, all of my WWSBR_% views MAILTO_DISPLAY_NAME values are '0'.
    Does anyone have any idea how to access this Contact field (from Edit Folder -> Optional Properties tab) from PL/SQL
    (or Java for that matter) either through a view, table or API call?
    Regards,
    Rob Paterson

    Hi Robert,
    Ur statement states that
    "I have no trouble accessing and manipulating the content areas, folders, regions and items programmatically"
    Can u throw some light on the same by possibly sending some codes to achieve the same.Our requirements are as under:-
    1)When the content area is added with various privileges to a particular users page he needs to click on edit in order to add Item/folder or manage the same.Is it possible to show(either by customizing or programatically) the same links by doing away with the edit link and directly displaying the privileges(i.e. add item,folder properties) when he logs in.
    2)As the situation stands now when a document is uploaded for approval only Portal30 can approve the same though the relevant privileges have been provided for various users.The icon for approval doesnt appear when the content area is added as a portlet.The only way of approval seems to be for portal30 to log in and navigate to the particular content area and click on the same.The items awaiting approval appear with a approve icon wherein he can approve the same.But the same fail to appear when published as a portlet.
    Our project is under tight schedule so any help would be a gr8 help.
    Thanks in advance.
    Regds.
    Kiran.

  • Accessing images from content areas

    I have added an image item to a content area. I want to use this image elsewhere as part of an image rollover in a portlet. How do I gain access to tehis image so it can be used as part of a javascript routine?

    Gerry,
    You can create a logical URL to the image. Check the Portal online help for the topic "Direct Access URL". The Direct Access URL for any item is displayed in its property sheet. The property sheet can be displayed by editing the Folder Style/Folder Layout.
    You can also get the image's physical URL by right-clicking on the image and viewing its properties (in IE).
    Regards,
    Jerry
    null

  • What are the access permissions on Site Contents?

    Hello
    I don't want outsiders accessing Site Contents. 
    What are the access permissions? Can anyone see that page?
    Mel
    Mel

    Go to Site Settings -> Users and Permissions -> Site Permissions -> In the ribbon select Permission levels. Here you can see different permission levels like Read, Contribute etc.
    You can create a permission level by clicking on Add a permission level. Select the permissions you want to give the users. "Make sure to not give the permission "View Application Pages  -  View forms, views, and application pages. Enumerate
    lists."
    Now you can create a SharePoint group and associate this permission level to that group. Finally add those users to this group and they won't have access to Site Contents.
    Blog | SharePoint Learnings CodePlex Tools |
    Export Version History To Excel |
    Autocomplete Lookup Field

  • Accessing Items across content Areas

    We have two content Areas ( CA1 , CA2)and a folder(CA1-F1,CA2-F1) in each, which are published as Portlets.
    Different people create Items in ContentArea A(CA1-F1 FOLDER).
    I want to display some(by Creator) of the items from CA1-F1 FOLDER to CA2-F1 FOLDER automatically.
    'casue, we don't want to create the same item in two content areas.
    Is there anyway of achiveing this........?
    Please reply!!!!!!

    G'day,
    An option here is to use 'share objects' perspectives and/or categories.
    Regards,
    Luke Duc Lam

  • JNDI NIS object access problem

    JNDI NIS object access problem:
    Hi all,
    After long fight, i'm now able to connect to my NIS server on my network. the initial context factory is 'com.sun.jndi.nis.NISCtxFactory' and provider url are given and i obtain namingennumeration of items in the NIS directory.
    purpose of my project:
    using ypcat command we can view the services,passwd,host... objects in unix.
    my project requirement is that i shd open this 'services' object in java (using JNDI probably) and shd access its content.
    i'm able to obtain the object and the type of this object is 'NISCtxServices' defined in 'com.sun.jndi.nis.NISCtxFactory' package, but all the classes and methods except some are not public and so im not able to use almost all the methods in this class 'NISCtxServices' .
    Can any one help me in accessing the information inside this object.
    Thanks in advance! and i'm waiting!

    It's because JFrame does not have a public progessbar variable, only your subclass has that.
    //change this
    JFrame frame = new ProgressBarDemo();
    //to this
    ProgressBarDemo frame = new ProgressBarDemo();

  • How to use viewslifetime managed property to get the list of sites which are least accessed?

    Hi,<o:p></o:p>
    I am trying to get the subsites of a site collection which are least accessed. I am using ViewsLifeTime managed property in a content search web part with a condition like this:
    ViewsLifeTime < 0
    OR
    ViewsLifeTime = 0.
    However, It is not giving any results. I even tried with ViewsLifeTime < 10. I have some subsites which are accessed less than 10 times. I came to know this when I saw the value of ViewsLifeTime
    property.
    Can anyone suggest how to add a condition on ViewsLifeTime property?
    Thanks in advance.

    Hi Mohan,
    Here is a thread with similar issue for your reference:
    http://social.technet.microsoft.com/Forums/en-US/770f100d-eadb-45d1-9305-15f11cf9038d/ctxcurrentitemviewslifetime-is-showing-null?forum=sharepointsearch 
    If you would like to get site usage report in SharePoint 2013, there is OOTB feature for you to view popular trends report for a site, you could refer to the link below:
    http://blogs.technet.com/b/tothesharepoint/archive/2014/01/28/view-and-configure-usage-analytics-reports-in-sharepoint-server-2013.aspx
    In addition, custom script for usage report for SharePoint sites might be more helpful to your requirement to know access times:
    http://blog.falchionconsulting.com/index.php/tag/audit/
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Images present in datagridview not exporting to file only text contents are generating into PDF file..

    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 M

    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 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.

  • Document links and Tables in a content area

    Hello,
    1. I'm having problems with text items in a content area. I'm trying to make a link to a document in a text item but I only get a 'Page can not be found'. I know I have to change the httpd.conf file settings but so far I have not been able to set it up correctly. How should the excact line look?
    In this case I whant to put all my documents in a folder tree in the 'portal_home' directory. For instense:MHC(root folder)/HR/employees.doc or MHC/Finance/Strategy.xls
    2. Why is it not possible to make 'invisible tables' in a text item? This way its possible to control the text mutch more and also (as in my case) include pictures within the text. If you want to produce a nice Intranet, the only way with portal (so far) is to make text items, becurse these are the only ones that you can display directly in a folder area and keep the navigation bar to the left. This way the users wont get lost in all the pages and folders.
    The problem is this:I want to use the style I've made on all my folders (this way it's easy to change the apperance of all the folders in just moments) BUT if I put a table in the text item (html code) then suddenly portal takes the default settings of the browser instead!!? So if I have set my browser to Arial 15 this is the text I se instead of the text in my style.
    Please , do anyone have a suggestion?
    I using Portal 3.0.7.6.2 (9iAS 1.0.2) on NT

    I assume you are trying to put an anchor tag in a text item, that points to a document stored elsewhere in the Portal repository.
    Use a direct access URL (search the online help for info on these) to construct the link to the document. You can use a relative URL by leaving out the "http://server.domain:port" part of the URL - e.g. {a href="/pls/portal30/docs/FOLDER/MYROOTFOLDER/MYSUBFOLDER/MyDocument.DOC"} - I'm using {} here instead of <> because real tags get messed up in these forum messages.
    The Portal FAQ explains how to use httpd.conf to define a redirect directive.
    Regards,
    Jerry
    null

  • Portlet could not be contacted error in content area

    hi everybody,
    i've developed an application using Portal Content Area.And i am
    accessing the content Area
    like "http://<servername>/pls/portal30/url/folder/<Content area
    name>".
    But when i access it shows "Error : Portlet could not be
    Contacted".then when i press refresh it opens the content Area.
    Now i badly in need of avoiding that portlet error and directly
    go to content area.
    Pl. help me.
    thanks in advance
    regards,
    Kathir

    I strongly recommend upgrading to the 3.0.9 release (iAS
    1.0.2.2) with the 3.0.9.8.2 patch (this patch should be
    available for NT/2000 this week). Also, the database should be
    running 8.1.7.1 (or later), as explained in the iAS release
    notes.
    Regards,
    Jerry

  • Locking "Portal Administrators" out of items in a content area

    I have a content area that will contain sensitive documents.
    I've been asked to find out whether security can be set up so
    that only a certain group of users can access the content area.
    This includes locking out the portal administrators from seeing
    these items. Is this possible and how can it be done?
    Thanks!
    Esther Poulsen

    You will always need a couple of users that can function as
    Portal superusers/administrators. That said, most
    administrative tasks can be delegated and decentralized so that
    only these few administrators have completely global
    privileges. One of the key purposes of content areas is to
    partition security among your users.
    Regards,
    Jerry

  • Rights on URL items in a content area

    Hi,
    Ok, so now I have my query to retrieve the main URL items (top level branches) in a content area for my treeview. This is the query:
    SELECT IT.Name,
    IT.MasterThingId,
    IT.ParentId,
    URL.Url,
    COUNT(IT2.Name) Subs
    FROM WWV_THINGS IT, WWSBR_URL$ URL, WWV_THINGS IT2
    WHERE IT.SiteId = (
    SELECT Id
    FROM WWSBR_ALL_CONTENT_AREAS
    WHERE Name = 'CA_NAVIGATION'
    AND Default_Language = 'us')
    AND IT.Active = 1
    AND IT.ParentId is null
    AND IT.Id = URL.Object_Id
    AND IT2.ParentId(+) = IT.MasterThingId
    GROUP BY IT.Seq,
    IT.Name,
    IT.MasterThingId,
    IT.ParentId,
    URL.Url
    How do I figure out if the current user has rights to view the item or not? Not all users may see all these URL's of course.
    I know how to find the current user, but I don't know how to limit this query to only those URL's granted to the current user.
    Could anybody please point me in the direction of the correct table/tables to use in this query?
    Thanks in advance,
    Joey
    null

    Hi,
    I've found several docs in the PDK. I've also found a reference to the WWSEC_API, function has_privilege.
    But I would like to know in which table I should look to check for rights of users and groups.
    In content area X, I have several URL's, each URL has several usergroups that can access the URL. How do I know which URL's to display when user Y belonging to usergroup Z logs in?
    Thanks in advance,
    Joey

Maybe you are looking for

  • Appraisal/Feedback form in training and event management.

    Hi Expert I want to create appraisal feed back form or template in training & event management, where attendee can appraise the business event and instructor vis-a-versa. My query is that----- When I go to IMG node called appraisal under Training & e

  • IPhoto won't open after new install and restore of back-up

    Hi guys My hard drive just died (for the second time in 6 months!) so I have just gotten the computer back with a new drive. I did a new install of Tiger from my original install CDs, did the download thing to get all the updates, and ran a "restore"

  • Urgent help in script

    Hi all, I have a script with 2 pages first and next i have two main windows 00 and 01 per page. I have records like type mat matdes a 1 abc b 2 abcd a 3 abcde b 4 bggu I want to display in my script as type mat matdes --inside a box a 1 abc a 3 abcde

  • Screen layout of sales document

    hi all., Is it possible to make Screen layout of sales document (Particular field as required,optional & display) Regards., Lakshmanan

  • Best laptop stand for Retina

    Hi there, I have a 15'' Macbook Pro with Retina Display and I'm looking for the best, most flexible and secure laptop stand for it. Any suggestions? Thanks in advance!