Pageid
what is the unique identifier for page in webcenter 11.1.1.6 ?
we have 8 pages in navigation model and pages.xml. we want to be able to get these 8 unique pageids (unique long numbers) in our code. then we will use this unique pageid to work upon these 8 pages.
what code will let us grab this unique page identifier ?
thx
I don't think ,page level GUID is available in webcenter framework through either programmatic or UI level.
However if you want some kind of information on page level activities you can follow-
http://docs.oracle.com/cd/E25054_01/webcenter.1111/e10149/wcsugappb.htm
(Section -B.3.7 EL Expressions Relevant to Specific Pages)
Where it is mentioned -
#{pageDocBean.pagePath}
Returns the file directory path to the page relative to the application root directory, for example:
/oracle/webcenter/page/scopedMD/s8bba98ff_4cbb_40b8_beee_296c916a23ed/user/Umonty/Page4.jspx
#{pageDocBean.name}
Returns the file name of the page, for example:
Page4.jspx
You can get some idea from this link .
Hope it helps you.
Regards,
Hoque
Similar Messages
-
Is there any way to obtain the objectID from a DatabaseID & PageID WITHOUT using DBCC Page.
I'm returning Data from the Blocked Process Report and want to show which resource is being blocked.
For certain locks means i need to find the ObjectID from the PageID.
Ideally I would like to do this using a function or view in order to access it within the query.
And of course DBCC Page cannot be used in a view or Function.
edited to add: SQL Server 2008 R2 :-)
Thanks in advance
PaulCan you refer the below link
http://beyondrelational.com/quiz/sqlserver/dba/2011/questions/172/storage-question.aspx
With CTE_AllocationTable(TableName,FileId,PageId,SlotId,FirstPage)
AS
SELECT
t.name,
cast(convert (binary (2), reverse (substring (au.first_page, 5, 2))) as int) as FileId,
cast(convert(binary (4), reverse (substring (au.first_page, 1, 4))) as int) as PageId,
cast(convert (binary (2), reverse (substring (au.first_page, 7, 2))) as int) as SlotId,
sys.fn_PhysLocFormatter(au.first_page) AS FirstPage
FROM sys.system_internals_allocation_units au
INNER JOIN sys.partitions p
ON au.container_id = p.partition_id
INNER JOIN sys.tables t
ON p.object_id = t.object_id
SELECT TableName,ct.FileId,PageId,SlotId,FirstPage,Name,[FileName] FROM CTE_AllocationTable ct
INNER JOIN sys.sysfiles sf on ct.FileId=sf.FileIdWhere pageID=55778ORDER BY TableName
--Prashanth -
API to retrieve current pageid or URL?
Hi,
Can anyone tell if there is an API to retrieve the current pageid or current URL?
thanks
StijnIf you are using PDK Java APIs, you could do PortletRenderRequest.getRenderContext().getPageURL() to retrieve the current page URL. Perhaps somebody can point us to the corresponding PL/SQL APIs.
Regards,
Abhinav -
Get the Pageid or URL programmatically
Hello,
How can I get the ID of the page or the current URL/Page programmatically in PL/SQL ?
I'm using a dynamic page within a Portal Page and I would like to know the pageid (of the portal page) or current URL.
Which Database Package/view can I use to obtain this information.
Thanks,
BramBram,
see also Metalink (http://metalink.oracle.com) for this:
DocID: 115890.1
select id, name
from wwpob_page$
Hope this helps,
Kind regards,
Frank van der Borden
Oracle Support Services Netherlands
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by B. Voogel ([email protected]):
Hello,
How can I get the ID of the page or the current URL/Page programmatically in PL/SQL ?
I'm using a dynamic page within a Portal Page and I would like to know the pageid (of the portal page) or current URL.
Which Database Package/view can I use to obtain this information.
Thanks,
Bram <HR></BLOCKQUOTE>
null -
Link to specific page using pageID
Using the pageID of a specific page, how can I create a link to the page? I have code which retrieves and stores the current pageID. In a portlet, I am retrieving the pageID and want to create a link back to the page. How can I do this? Thanks!
Are you using Reader on the mobile devices? At any rate, it's quite likely that this feature doesn't work on mobile devices (like many other ones), and there's probably not much that can be done about it...
-
I want to do an export and then an import of a group of pages. I want know if the values of the different pageid, regionid, etc, take different values when I do the import.
I have some procedures where I put the value of some regionid and I don't know if when I make the import I'll have to change these procedures or the values will be the same.
Thanks.
Nachohello
all the IDs change. All item (including pages, pagegroups, items, .... ) are re created so that means that all IDs change.
For your PL/SQL procedure, write a couple of function that will return the ID of elements by their name.
for example :
function get_page_group_id (p_name in varchar2) return number is
l_page_group number;
begin
select id
into l_page_group
from portal.wwsbr_all_content_areas
where name = p_name
and language = portal.wwctx_api.get_nls_language;
return l_page_group;
end get_page_group_id; -
Hi all
I'd like to make a "Support-Link"-Application which will be started from the PageToolBar.
When starting this App it should read the pageID of the content currently viewed by the user, something like "pcd:portal_content/TEST/TEST_iViews/Footer".
How is this done in WD-Java?
Regards
MichaelNot in WD, but in the page that calls my WD-App:
JavaScript:
var obj = EPCM.getSAPTop().gHistoryFrameworkObj.GetActiveTrackingEntryValue();
return obj.fullURL;
in Java (not tested, but found after I knew how it works (as always ;( )):
https://www.sdn.sap.com/irj/sdn/thread?messageID=307965#307965
https://www.sdn.sap.com/irj/sdn/thread?messageID=106301#106301
https://www.sdn.sap.com/irj/sdn/thread?messageID=5213384#5213384
Thanks to Praveen. You're great! -
Oracle portal is relying on the pageID to generate pages. Everywhere in the URLs are pageIDs are used. My question is where are those pageIDs stored in the database so I can look into the details, I would like to query this and make translation from pageID to pagenames etc etc.
Can anybody tell me where this is stored?
Regards,
Johan Louwers.Re: how to get page id from page name
-
Extracting PAGEID and Text Description from Statistics cube
Hi SDN Community,
Can anyone please confirm that the following approach to extract the PAGEID and its text is the only way to do so:
As i cannot find the PAGEID field in any of the 0BW* statistics cube, we will create an infoobject and add it to one of the cubes.
Then Map PAGEID from RSDDSTAT to Field: OBJID from Table RSZWOBJTXT
(This mapping between the tables RSDDSTAT and RSZWOBJTXT can then be used to retrieve the web page description from the field TXTLG)
Thank you for your assistance.
SimonThe PageID is not in the statistics cube
-
Pagename, pageid from pl/sql?
Hello world,
Just upgraded to 10.1.4 and now URLs dont have site_id and page_id.
Our portal has one navigation menu portlet.
It was getting page id from URL, now this is not working.
---->> All i need is to know what page i am in.
Be it page_id, page_name, whatever, just a reference that enables me to display my menu options.
I know this this is a trivial question, but i already spent several hours trying to find a solution...
regards, thanks in advance
AlexThanks, i saw that one yesterday.
I have a menu portlet placed in all site pages.
I need to know the current pagename or pageid that is currently displaying the menu portlet, so that i can display the current option in bold, expand that menu option tree and colapse the others, etc.
It is working ok in old portal version, where the URL displayed page_id and site_id.
But now in 10.1.4 URL does not contain site id and page id, it displays the path to the page, with default tab names in the end (if the page has tabs).
Has anyone a simple pl/sql that can scan the url in Portlet Record . page_url field and retrieve the site and page_name?
Or a function from the APIs that gets the current page?
This would do the trick for me.
Thanks
Alex -
PAGEID from item_id or caid
I would like to get default pageid(ca_page) for displaying
content area from item_id (or folder_id or caid. I need it to
display any item between other elements of content area page.
Anybody knows where to find the connection between pageid and
content area elements?
Thanks,
MarkoI have url items stored in different content areas. My goal is
to make a function URL_ITEM_LINK which would return the url link
for displaying any item in the default content area page.
The function URL_ITEM_LINK has parameter Item_id and
concatenates other parameters from DB to url links like
'http://multiserver:8000/servlet/page?
pageid=161&dad=portal30&_schema=PORTAL30&_type=site&_fsiteid=13
4&_fid=8911&_fnavbarid=1&_fnavbarsiteid=134&_fedit=0&_fmode=2&_fd
isplaymode=9&_fcalledfrom=1&_fdisplayurl=http%3A%2F%
2Fmultiserver%2Foralab%2Ftest.htm'(same as when you click on the
content area item if you used url item).
All the values for these links I got from the DB except
of '_pageid=161'. Items are stored in content areas so instead
of using _pageid=161 for every item I would like to get the
page_id from DB (from item_id or caid).
So far I am able to get fsite_id, folder_id, fdisplay_url and
everything else from Item_id except of page_id. I can't find the
connection in DB from caid to its ca_page id.
Hope this makes my question more clear? Anybody knows any other
ways for diplaying url item in its content area ca_page?
Marko -
Retrieving PageID in Plumtree v4.5 SP2
Note: This post applies to portal version 4.5 SP2 - upgrading is not a solution.
I have a community with multiple pages. Each page contains an instance of the same gadget, and the gadget allows an admin to set Community-Gadget preferences. The problem is that each instance of the gadget shares the same set of preferences, meaning that each gadget on each page will overwrite any previous settings and all gadgets appear the same.
Is there a way to uniquely identify a single gadget on a community that holds true across all pages in that community?
I had thought of using either the query string parameter 'intCurrentPageIndex' or 'PageID' but these will appear at different times, sometimes haphazardly. Is there any way to ALWAYS retrieve either of these values so I can have the key CommunityID + GadgetID + PageID to uniquely identify my gadget on the portal?
PageID is not passed in the headers, so no luck there...
Anyone have any ideas?
Thanks,
Jarrod4.5 version does not pass page id in the gateway. We had a simillar situation and I came up with a round-about solution (though we actually have not implemented).
In community.asp (Plumtree supplied page), pageId is available. you can store the PageId in a database (as currentPageId) for the user and then retrieve this pageId from within the portlet.
Other way is to find the function in Community.asp which executes the portlets and pass the pageid through the header. -
Solution to get pageid from Oracle Portal in 14 Steps
To get the _pageid from your site is simple you have to do this:
Example browser link -> portal/page?_pageid=34,35030&_dad=portal&_schema=PORTAL
1º - Edit your template page click in the "properties" link
2º - go to the tab Parameters
3º - create a new parameter with the name _pageid
4º - click in navigator and after click in providers
5º - Locally Built Providers and create your build APP for your site (in my case the name is APP_PORTAL)
6º - Create your dynamic page (in my case DYN_MENU to use a menu based in the pageid)
7º - uses this code:
/* the pageid have the number of your site (in this case psiteid) and the number of the page (in this case ppag)
after this you can call procedures using this two variables like the procedure menu who is create in the my package portal in the etcuser:
in the step or tab "Custumization Form Display Options" who detect the bind variable :pageid click in the option "Make public"
<ORACLE>declare
psiteid NUMBER(4);
ppag NUMBER(7);
begin
psiteid:=TO_NUMBER(substr(:pageid, 1, INSTR(:pageid, ',', 1, 1)-1));
ppag :=TO_NUMBER(substr(:pageid, INSTR(:pageid, ',', 1, 1)+1));
htp.p('Site: '|| psiteid ||' Page: '|| ppag ||'');
etcuser.portal.menul(ppag, psiteid);
end;
</oracle>
8º - After this you only need to associate in the template the _pageid parameter with bind variable :pageid of your dinamic page
9º - In your template add a Portlet to the region
10º - click in Portlet Staging Area - your build repository (in my case APP_PORTAL) and chose the DYN_MENU
11º - after click in the link properties of the template page go to the tab parameters again
12º - In the Portlet Parameter Values now you can expand your dinamic applications (in my case de DYN_MENU)
13º - Expand your application and associate the Portlet Parameter (in this case de pageid) equal (=) chose "Page Parameter" and select in the combo the _pageid
14º - The job is done now you have the pageid in your oracle portal pages
:)No... work's in oracle portal 10.1.4 if your system is configured to pass the pageid like my example. And my page only have one template for the entire portal and you only need to add the Dynamic page only one time in the template.
-
Finding the PageID of the Current page
Hi,
I read somewhere that there is a hidden field which can be used to determine what the pageid of the current page is, but I cannot find what it is. I need to know what current page I'm on to dynamically build a page. Any suggestions.
ThanksDid you ever find an answer to this question. I'm stuck here too. Thanks
-
How to Convert PageID or CommunityID to a workable URL
I know how to generate a URL via PT Tags based on PageID or Community ID. But in C# I would like to know how if I have the PageID and/or CommunityID how can I make that into a workable URL?
Are you on the remote side (i.e. writing a portlet) or are you on the native side (i.e. writing a custom navigation)? I'm going to assume remote because the transformer tags are not available when you're writing a custom navigation.
This will open community 200 for viewing in a new window:
<pt:openerLink xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/' pt:objectID='200' pt:classID='512' pt:mode='2' target='myWindow' onclick=window.top.open('','myWindow','height=800,width=700,status=no,toolbar=no,menubar=no, location=no');>view community</pt:openerLink>
This will open community page 219 for viewing in a new window:
<pt:openerLink xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/' pt:objectID='219' pt:classID='514' pt:mode='2' target='myWindow' onclick=window.top.open('','myWindow','height=800,width=700,status=no,toolbar=no,menubar=no, location=no');>view community page</pt:openerLink>
(I lifted these examples off of www.plumtree.com/edoc, which is a great resource for Plumtree developers.)
If you're writing a custom navigation, opening communities is done in a completely different way. I'd be happy to share it with you if you're interested -- just let me know.
Hope this helps,
Chris Bucchere | bdg | [email protected] | www.bdg-online.com
Like blogs? Check out bdg's Plumtree blog at bdg-plumtree.blogspot.com.
Maybe you are looking for
-
My issue is that I can't find a way to have the camera switched off when the app is open and so this means if I want the app open all day to receive calls then the camera is going to be on the whole time. Even if it didn't potentially drain the batte
-
Bootcamp "no bootable device" Option key not working
Ok recently rebuilt 2 older "Intel Core Duo" Mac Mini's with SSD drives. They work great and have been flying, however on one of them I wanted to setup BootCamp so that I could run Win7 Pro on it as well. So here is what I did... - When I first built
-
Hi there, I have some questions about cvs daily snapshot. The problem is for the package eo-snapshot in AUR Here is the PKGBUILD # Contributor: Sebastien Piccand <[email protected]> pkgname=eo-snapshot pkgver=20060411 _ver=11Apr2006 pkgrel=1 pkgdesc=
-
Doubt in File to Mail Scenario
Hi I have to select 2 different text files (IN.txt,IS.txt) in Source Directory using file adapter and send them as 2 attachment files in mail. Could you please how to send a mail with 2 files as an attachment regards Gabriel
-
IOS 6 Crashed my iPhone 4!! What to do??
Can anyone help a girl who's not very technically saavy?? I made the HUGE mistake of installing iOS 6 on my iPhone 4 this morning. All seemed to be working fine. This evening I tried to reply to a text, and the screen was blank. So I tried to send a