SQL to find content items of folio
Hi ,
Does any one know how we can check the contents associated to a Folio?
I tried checking in DB but I don’t see any relation from Folio to contents. Folio is treated as a normal content and it will be saved as an XML. The XML in turn contains the contents associated to that folio. The folio is rendered through that XML. I doubt such a relation exists in DB.
Any thoughts would be much appreciated.
Thanks,
Vidya
A folio is indeed a separate content item, which contains references to other contained items in a form of XML - note, that a folio can be structured in a tree-like structure.
Similar Messages
-
How can I find text-item description and content in database?
I make "Actual news" region with text and simple image items.
With "Custom Search" autoquery I make news portlet with 10 latest news.
But I will make with PDK-Java discussion portlet, in which users can read and write about last published (last created text item display name and content) news.
My questions:
- How can I find text-item description and content in database?
- How I can sort text-items to find latest created in my region?
I have Portal R2
Thanks in advance.
CheslavI am sorry. The following are the related tables.
WWV_TEXT
WWV_TEXT_BLOCKS
WWV_TEXT_BLOCK_USAGES
WWV_USER_TEXT_BLOCKS
WWV_USER_TEXT_BLOCKS$
WWV_USER_TEXT_BLOCK_USAGES
WWV_USER_TEXT_BLOCK_USAGES$
May be you want to browse WWV_TEXT which is the core table. -
Customized content item / type
Hi there,
I would like to know what is the best way to store a content
item in my project.
I'm working on a portal which need to group the course
information into categories. Each course should be a content
item in this case. Each course has its own course
information. What is the best way to store each course as
content item which allow publisher to update the course info and
can make use of the category feature from the Portal ?
In 9iPortal, it allows us to store it as file, folder, text,
PL/SQL, image etc. I believe it's not a good idea and doesn't
fit my purpose. All these are static objects.
Can I make use of the custom type ? If so, how can I generate
page with the info stored in the attributes of the custom type ?
Say, I have created a new custom type named course and then it
has attributes like course title, course dates etc.
I would like to allow my user to type in the course information
and then we can generate dynamic pages from the information.
I'd used other Portal product which allow developer to define the
content type attribute easily and provide API to retrieve
the content and category item. Then we can write jsp to retrieve
the item. But I can't find the same thing from Oracle9iAS
Portal.
Can someone give me some clue ?
Thanx
Regards,
MaggieCustom item types are a good solution.
Custom types allow you to call procedures (either a stored
procedure or a servlet via a URL) - the procedure can in turn
generate a custom presentation for your item. Procedures can be
passed any of the attributes of your item, including custom
attributes.
Folder styles can also be used to specify which attributes are
displayed for an item.
So try the style first. If you don't like what you are able to
achieve with the style, use a procedure to render your custom
item type any way you want.
Regards,
Jerry -
Has anyone implement paging / page breaks in long content items?
Has anyone implement paging / page breaks in long content items? Eg when a text item is long it would be nice if there was a portlet or something to be able to separate it in pages that fit in the users screen and display a message in the bottom like "page 1 of 3" etc with next and previous links.
Any ideas?Oracle has a pretty good Oracle By Example on OTN covering this at [http://www.oracle.com/technology/obe/obe1014portal/html_templates/html_templat.htm]. I'd also recommend following on with the one on Item Placeholders to complete the picture [http://www.oracle.com/technology/obe/obe1014portal/item_placeholders/itmplacehold.htm].
My announcements are text items in one region. The region has a HTML content layout that uses pl/sql to determine where the first space is after 650 characters and if it is larger than 650 characters opens the item in a page using the item placeholder (hence my suggestion above). The code to generate this looks like this on the template. v_length is declared at the top of the tempalte so it is easy to change the length of the announcements:
IF LENGTH ('#ITEM.CONTENT#') > v_length THEN
v_space := INSTR('#ITEM.CONTENT#',' ',v_length,1); /*Find first space after designated length*/
HTP.p('
<table width="100%" cellpadding="3" cellspacing="0" border="0">
<tr>
<td>#ITEM.IMAGE#</td><td valign="top">' || SUBSTR ('#ITEM.CONTENT#', 1, v_space) || '</td>
</tr>
<tr>
<td align="right" colspan="2"> <MORE...</td>
</tr>
</table>'
ELSE
HTP.p ('
<table width="100%" cellpadding="3" cellspacing="0" border="0">
<tr>
<td>#ITEM.IMAGE#</td><td valign="top">#ITEM.CONTENT#</td>
</tr>
</table>'
END IF;Check out the OBE's and post back with any questions. They can sometime be challenging to get to work just right, but you can do a lot with these templates.
Rgds/Mark M. -
Retrieve the newest content items
Hi
I am planning to generate a DHTML component which retrieve the
list of content items which has been added since a specific date
(1 day, week, month) to the content area and in the same time it
has been approved on to be published for public users.
In order to know, if this content item should be published to
public users or not , we were thinking to add in the secondary
tab of the item attributes at the Basic Search keyword LEVEL a
predefined word such as (important, high priority) Which I will
use it as a criteria of selection .
My question is as follows :
Could you please advise about the name of tables to be accessed
in the portal30 schemas in order to find out :
1 - The list of the newest added content items.
2 - The field which contains the basic search keyword.
3 - The syntax of the SQL statement to be composed in order to
retrieve the above result set.
thanks.The information you are looking for is available through the
content area views that are documented in the PDK.
http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/
plsql/doc/sdk23pkg.htm
Regards,
Jerry -
FQDN Share Access (Could not find this item)
Say I have the domain 'contoso.com', which is resolved by a domain controller (Controller). I have a share (Share) on Controller with everyone permissions (full control, just to test).
Now I can access Share via '\\Controller\Share' or '\\Controller.contoso.com\Share'. This is fine.
I can also access Share via '\\contoso.com\Share'. This is not fine, as follows.
If I try to e.g. create a new folder, I get 'Could not find this item. This is no longer located in contoso.com.'
Why is Share listed in the shares of contoso.com if it isn't located there?Hi,
Do you mean that you can access Share via '\\Controller\Share' or '\\Controller.contoso.com\Share' and create a new folder in it without issue, however, you cannot create a new folder in the Share folder when access share via '\\contoso.com\Share'?
I have done a test on my PC, when access share via '\\contoso.com\Share' the content is empty. I create a new folder in it, then I have a same issue with you. It seems that it is a side effect of having shared folders on a domain controller.
Domain.local shows shares but are empty
http://social.technet.microsoft.com/Forums/windowsserver/en-US/57d2120c-46c7-430e-9d3e-3d589a02dde2/domainlocal-shows-shares-but-are-empty?forum=winserveressentials
Regards,
Mandy
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. -
How to find content of a constraint etc.
Hi,
select constraint_name
from user_constraints
where table_name = 'EMP';
shows to two constraints for the given table of EMP. Now, how to find CONTENT of each of these two constraints?
Secondly, how to find if a particular column is nullable (programmatically, not from DBA tool set)? e.g. EMP.deptno
Thirdly, why did I get the err msg of "inserted value too large for column"
when executing the following command for data insertion to EMP as user, scott
create SEQUENCE emp_sequence
start with 8000 increment by 10;
insert into EMP values (emp_sequence.NEXTVAL,'JOE','Researcher',null,null,null,null,null);
Thanks a bunch.Thirdly, why did I get the err msg of "inserted value too large for column"Er, do the math...
SQL> conn scott/tiger
Connected.
SQL> desc emp
Name Null? Type
EMPNO NOT NULL NUMBER(4)
ENAME VARCHAR2(10)
JOB VARCHAR2(9)
MGR NUMBER(4)
HIREDATE DATE
SAL NUMBER(7,2)
COMM NUMBER(7,2)
DEPTNO NUMBER(2)
SQL> select length('researcher') from dual
2 /
LENGTH('RESEARCHER')
10
SQL>
Secondly, how to find if a particular column is nullable (programmatically, not from DBA tool set)Don't like the sound of this, smells of dynamic coding. Anybody who can't figure out why they can't create an EMP record for a researcher probably ought not to be tangling with dynamic SQL just yet.
Now, how to find CONTENT of each of these two constraints?The CONSTRAINT_TYPE tells you the sort of constraint: P=PRIMARY KEY, U=UNIQUE, R=FOREIGN KEY and C=CHECK. Only Check constraints have any content as such and you'll find that in the SEARCH_CONDITION. Note that this is a LONG column, so you may need need to SET LONG 5000 to see it in SQL*Plus.
Cheers, APC
P.S. In future please refrain from bundling unrelated questions into a single post. There is no charge for posting and it avoids the threads getting long and hard to follow. -
How do I find contents of PSA in BI 7.0
I am using BI 7.0. How do I find contents of PSA? Only way I found:
1. Go to Monitor, Select the Request, Go to Detail tab, right Click to get Context Menu and select PSA maintenance. Is there a transaction code to get to PSA or other ways of getting to PSA?
THANKS A LOT.Hi Zigzagdna,
Go to RSA15-->go to your data source>right click>manage->select the request you want to see in PSA, select the psa icon in the left bottom cornerSelect ok.
Go to RSA15-->go to your data source->double click your data source-->on the application toolbar, there is an icon to switch on the technical attributes->click the icon->There will be an alphanumeric table name as PSA table->doucle click it ->On the application toolbar there is contents icon->run(after selections).
Go to infopackage monitor on the application toolbar there is PSA icon. Click it to see the contents of the PSA loaded by this request.
For you previous SQL eror while executing infopackage for loading copy cube.
Try loading data with selections in infopackage. May be you are trying to fetch more data than the ABAP program used for loading at the background can handle.
Hope this helps,
Best regards,
Sunmit. -
Sql to find all Sysadmin logins in EBS
Hi ,
I am using this sql to find out all Sysadmin logins in my EBS environment.
SELECT user_name "User Name",
to_char(start_time, 'MM-DD-YYYY HH24:MI:SS') "Login Time",
to_char(end_time, 'MM-DD-YYYY HH24:MI:SS') "Logout Time"
FROM apps.fnd_logins a,
apps.fnd_user b
WHERE a.user_id = b.user_id
AND b.user_name IN ('SYSADMIN', 'MOBDEV', 'MOBADM')
AND TRUNC(start_time) > TRUNC(SYSDATE) - 1
AND login_type = 'FORM'
ORDER BY start_time;
But, somehow I am unable to relate this logins to database sessions id. Is these any direct sql to find out all session info from gv$session / gv$process whenever there is a sysadmin login.
EBS 11.5.10.2
DB 11.2.0.2Hi
HusseinNone of the query gives a correct output.
For example , when I enter the user_name as SYSADMIN for the query , the v$session.action gives result as "FRM:GXGONG:ACCO CA IND Shipping "..this is the forms session info for "GXGONG" user who doesn't have the sysadmin responsibility.
SELECT distinct(s.sid),
s.serial#,
p.spid,
s.process,
substr(to_char(s.logon_time,'mm-dd-yy hh24:mi:ss'),1,20) Logon_Time,
s.action,
s.module,
fu.user_name,
fip.ipaddress
FROM
V$SESSION s, V$PROCESS p,fnd_oam_forms_rti fip, fnd_logins fl, fnd_user fu
WHERE s.paddr = p.addr
AND s.process = fip.PID
AND fl.pid = p.pid
AND fl.user_id = fu.user_id
AND s.username IS NOT NULL
and fu.user_name IN ('SYSADMIN', 'MOBDEV', 'MOBADM')
and s.action like 'FRM%'
and s.logon_time > trunc(sysdate) -1
1047 48328 28016 31638 03-25-13 13:04:55 FRM:JPJUSTIC:ACCO ITEM/INVENTORY INVTVQOH SYSADMIN 10.32.33.95:64961
3772 63791 32428 30206 03-25-13 22:10:16 FRM:EXFINKLE:ACCO INVENTORY ADJU WIPTXSFM SYSADMIN 10.32.82.104:46034
3425 48215 18143 14036 03-25-13 21:26:09 FRM:GXGONG:ACCO CA IND Shipping WMSCTLBD SYSADMIN 172.20.23.102:33548
774 51097 21922 26155 03-25-13 21:12:15 FRM:JXLIM:ACCO PURCHASING APPLIC POXPOVPO SYSADMIN 10.43.2.16:47312
1442 21606 20941 21354 03-25-13 07:58:41 FRM:MDJAMES:ACCO Shipping Execut FNDRSRUN SYSADMIN 10.32.33.127:6350
5150 17379 16824 31376 03-25-13 16:21:49 FRM:GXROY:ACCO Receivables Colle ARXCWMAI SYSADMIN 172.25.16.120:60150
5117 45721 16824 31376 03-25-13 16:09:17 FRM:GXROY:ACCO Receivables Colle ARXCWMAI SYSADMIN 172.25.16.120:60150
3447 151 18143 14036 03-26-13 00:26:44 FRM:GXGONG:ACCO CA IND Shipping FNDRSRUN SYSADMIN 172.20.23.102:33548
5147 4240 16824 31376 03-25-13 16:08:54 FRM:GXROY:ACCO Receivables Colle ARXCUDCI SYSADMIN 172.25.16.120:60150
5107 62706 16824 31376 03-25-13 16:11:17 FRM:GXROY:ACCO Receivables Colle ARXCUDCI SYSADMIN 172.25.16.120:60150
5168 4367 16824 31376 03-25-13 16:38:00 FRM:GXROY:ACCO Receivables Colle ARXCUDCI SYSADMIN 172.25.16.120:60150
3450 59009 18143 14036 03-26-13 00:29:13 FRM:GXGONG:ACCO CA IND Shipping INVMATWB SYSADMIN 172.20.23.102:33548
5137 45737 16824 31376 03-25-13 16:13:01 FRM:GXROY:ACCO Receivables Colle OEXOETEL SYSADMIN 172.25.16.120:60150
3461 16761 18143 14036 03-25-13 21:25:39 FRM:GXGONG:ACCO CA IND Shipping INVMATWB SYSADMIN 172.20.23.102:33548
434 26798 24756 17190 03-25-13 16:20:57 FRM:MXBAKER:Direct US CSR User OEXOEORD SYSADMIN 10.32.33.123:50117
5142 31731 16824 31376 03-25-13 16:20:46 FRM:GXROY:ACCO Receivables Colle ARXCWMAI SYSADMIN 172.25.16.120:60150
1716 11892 24609 27641 03-26-13 00:36:16 FRM:BAMALAGO:ACCO INVENTORY ADJU WIPTXSFM SYSADMIN 10.32.82.143:27123 -
Sharepoint Online: Find an Item box is not finding all items in a list based on keyword search
I am using SharePoint Online.
I have a standard SharePoint list with a "Name" field (single line of text) and a "Description" field (multiple lines of text). The Find n Item search box is present as expected, and works very sporadically. For example, I
have an item with the word "white" in the Description field. Searching for "white" doesn't find the item. I have a number of items with the word "vending" in the Name field. Searching for vending returns some
of the items, but not all of them.
I have gone into the list settings (Advanced) and reindexed the list.
Here are two screenshots that illustrate the issue. The first is unfiltered. The second shows a filter on the word "vending". Note that some are found and some are not.
Filtered
Any idea what's going on?I am also experiencing an issue with the find. If not the same issue David is having, I suspect it is related, so I will describe it here.
I created a list based on the Contacts content type and within a standard list view, entering values in the "Find an item" box will match content of some columns, but not others. The four columns that the find misses are Position(renamed from Job Title),
Email Address, Mobile Phone, and Years Of Service (a Numeric column I added to the list). I too have re-indexed the list and retested after several hours.
Full Name and Email Address are both native columns of the Contact content type and both are Single line of text. I am able to filter the list by finding partial matches on Full Name, but not Email Address. -
Spaces - to block unreleased content items from the document explorer view
I have configured Webcenter Spaces application to view the webcenter content documents over a document explorer. The problems observed are:
1. The checked in files will be visible to a view only user even the file is under a workflow (unreleased document state in webcenter content). How to show only the released documents over document explorer?
2. I could not find the custom metadata fields associated with a content item displayed in the document explorer columns list. It shows a finite set of pre-defined columns like filename, size, like, description etc
Please advise.I'm afraid that this is the OOTB behaviour.
Ad 1: the reason for that is that workflow approvals/rejections can be executed directly from the task flow. What you might try is to disable the 'workflow' feature of the task flow - see http://docs.oracle.com/cd/E21764_01/webcenter.1111/e10149/content_prop.htm#WCSUG7365
Ad 2: I'm not aware of any configuration that defines the displayed fields. Perhaps, you could customize the task flow. -
Custom Search Portlet : Find all item created in a such year
Hi,
I'd like to find the way to search for items created in a such year.
I have added the 'created on' attribute in the form, but the operator is equal lower of higher.
What I need is to find the item created from 1st January to 31 December.
Does anyone have an idea ?
Benoit Pironethi,
this is the expected behavior. the way it is working is that the search portlet is going against the search index. in fact there are 2 search indexes on the server: one for the meta-data and one for the content. both indexes are craeated using oracle text. by default the indexer is refreshed every 1 hour due to performance reasons.
if you want to change this you can do it - this is described in the portal configuration guide. you can also real-time synch your indexes. this is a new features in 10.1.4.
http://download.oracle.com/docs/cd/B14099_18/portal.1014/b19305/cg_srch.htm#i1027594
8.3.5.1 Synchronizing Oracle Text Indexes
hope this helps.
regards,
christian -
Find and item Search not working inside custom list in sharepoint 2013
HI,
In Sharepoint 2013 , i configured the Search. it is working in home page search Box and Find item search box inside custom list as well But one particualr custom list Find an item is not working. Any clue ?Thanks in Advance
Thanks
sanjay pradhanHi,
According to your description, my understanding is “find an item” search box in a custom list not work in your environment.
As search box and “find an item” search box in your home page are working, so the search service application is working.
Do you have any customzation to the particular custom list ?
If No, I suggest you can full crawl the data in Central Administration ->Manage Service Application->” Search Service Application”-> Manage Content Sources” to test if it works.
Also, please check if you have set "Allow items from this list to appear in search results" in list settings->Advanced Setting to true
Best Regards
Jerry Guo
TechNet Community Support -
Issue in Updating Content Item . . .
Hi,
When i'm trying to update the content item, i'm getting following error.
Unable to execute service UPDATE_DOCINFO_BYFORM and function populateMissingDocumentValues.
(System Error: The service method 'populateMissingDocumentValues' is not defined.).
Does any one know how to fix this error?Please find the detail error:
intradoc.data.DataException: !csMethodNotDefined,populateMissingDocumentValues
at intradoc.server.Service.doCodeEx(Service.java:702) at intradoc.server.Service.doCode(Service.java:656) at intradoc.server.Service.doAction(Service.java:580)
at intradoc.server.Service.doActions(Service.java:425) at intradoc.server.Service.executeSubServiceCode(Service.java:4168)
at intradoc.server.Service.executeServiceEx(Service.java:4123) at intradoc.server.Service.executeService(Service.java:4010)
at intradoc.server.Service.doSubService(Service.java:3999) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:336) at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:114)
at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:99) at intradoc.server.Service.doCodeEx(Service.java:691)
at intradoc.server.Service.doCode(Service.java:656) at intradoc.server.Service.doAction(Service.java:580) at intradoc.server.Service.doActions(Service.java:425)
at intradoc.server.Service.doRequest(Service.java:1860) at intradoc.server.ServiceManager.processCommand(ServiceManager.java:350)
at intradoc.server.IdcServerThread.run(IdcServerThread.java:162) -
Display content items into custom remote portlets
Hi, I need to dinamically display content server items in a custom portlet, using the EDK, but I did not find any way to get this result. Is it poossible to get an object (in my case a published content item) within an ObjectManager and display it's content (in our case a simple HTML content).
I need to do this because whe have to format the home page of the portal in order to display the first half in three columns and the second half in two columns and we are trying to do this implementing a custom portlet (in the content canvas area) containing a three columns table displaying each a different content item.
Thank you.There are basically two ways that I have done to open the content item editor.1) From a content presentation template you would call a JavaScript function like:
<script>
function edit_article$$TOKEN$$() {
var width = 700;
var height = 527;
var left;
var top;
left = window.screenLeft + 10;
top = window.screenTop - 30;
if ( (left + width/2) > screen.availWidth ||
(top + width/2) > screen.availHeight ) {
left = 0;
top = 0;
var params = "height=" + height + ",width=" + width + ",left=" + left + ",top=" + top + ",screenX=" + left + ",screenY=" + top + "toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1";
window.open("<pcs:value expr='pcs_location'></pcs:value>/published_tools/content_item.jsp?ciid=<pcs:value expr='pcs_id'></pcs:value>&title=ContentItemEditArticleTitle", '', params);
</script>
2) The other way is using the content Item API. You get the editor url from the content item, which you already have. Now what you are doing below is almost correct. The importance of the pt:objectid is crucial. Take a look at the web docs on Plumtree ([url[/url]http://www.plumtree.com/edoc/Enterprise_Web_Development_Documentation.htm) under portlets/adaptive portlets/transformer tags/links. So the reason yours is not working is that you are missing some ptargs. The pt:objectid needs to be the objected of the "Content Administrator" portlet. This is for 2 reasons. One is so that you get the correct PTargs and the second is that it will use the basic auth information stored in its web service. So if your objectid of the portlet was 201 then it would look like this:
lblHref.Text = "<pt:gatewayLink xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'pt:ObjectID='201' pt:href=\""+ url + "\" target='TinyURL' onclick=window.top.open('','TinyURL'," + WindowOpenParams + ");>"+myContentItem.Name + "</pt:gatewayLink>";
Andrew Morris | bdg | [email protected]| www.bdg-online.com
Like blogs? Check out bdg's Plumtree blog at http://bdg-plumtree.blogspot.com.
Maybe you are looking for
-
Message Driven Beans replying to messages
Hi I'm trying to send a reply message from an MDB. What I have in mind is this: 1) in the onMessage() method of the bean, analyze the message and get the replyTo property of the message. 2) Set up the reply message and send the message back to the or
-
Does Gnucash work with Mavericks?
I am running Mountain Lion on my Macbook Air and wish to download Mavericks but am concerned with issues relating to third party software. I am particularly concerned about Gnucash. Does anyone know of any problems? Thanks
-
Hello, we have several possibilities to show dynamic rows (table, row repeater, multi pane), is there any possibility to achieve this for dynamic columns? I have a table with two columns: - TEXT - VALUE I want to show this table in ONE line, is there
-
How can I check to see if 802.1Q VLAN tagging information is being stripped from the RTP stream by the workstation's NIC?
-
Does media encoder recompress dv/hdv
i've looked thru the "knowledgebase" and thru the forums and could only find this instance: http://forums.adobe.com/message/1904986#1904986 i thought the default in CS4 when rendering video was if the source video and the target render was the same t