Count item in content area
Is it possible to count all the items (document, URL, zip file, etc) of a Content area? Is there any standard statistic or tool to do this?
thanks!
paolo
hi paolo,
one way is using the content management view wwsbr_all_items.
http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/plsql/doc/pldoc_9026/wwsbr_api.html
regards,
christian
Similar Messages
-
How to create folder and items in content area without edit folder option
Hello!!
I would like to create something to users can create and insert folders and items in content area without using the edit folder option.They would have a form to include the name of the file and the name.i would like to do this for the end users can insert files more easily. Can i do this? Anyone can help me ??
Thanks in advance!!!
nullThe wwsbr_api and wwsbr_search_api packages are included in the current PDK, but won't be supported until 3.0.8 is release, later this month.
Regards,
Jerry
null -
Problem with Checking In/Out Items in Content Area
I've been reading the Portal On-Line help pages in regards to
checking in/out items. The help states that when an item is
checked out, the item is locked and a message "Checked out by:
UserName" is displayed next to the item. When I check out an
item, I do not see this "Checked out by" message. However, I do
see the checkout icon. Note - I am doing this through the
Content Area Navigation page. Is there something that I am
missing? (I have seen other threads in regards to the
checkin/checkout icons not displaying when the Content Area is
published as a portlet. We are having this problem as well.)
However, the lack of the "checked out" message happens in both
the Content Area Navigator and the published portlet.
Also, is there a way to get Portal to automatically generate
version numbers when a new version of an item is created. I see
that you can create a unique name or description .... but I'd
like to have Portal generate the version number for me. This is
done in the Application component section when you build forms,
menus, or reports.
Thank you for any assistance that you can provide.The "checked out by" message only appears to other users - you
won't see it if you are the user who checked out the item.
The version number is planned for a future release.
Regards,
Jerry -
Public user sees old content of items in content area/portlets
I have items in my Content Area, as pl/sql folders, text and pl/sql items. These are all published as portlets. Access is set to public. The content of these items have been altered a couple of times during development, and they work as they should when I4m logged in as a user.
However, when I access these items (both directly by an url to the content area and by an url to the page containing the portlets) as the public user (not logged in), the content of these items is old. The content could be several weeks old, actually it is possible that the displayed content is the original content of the specific item (as it was when I first created the items).
To me, it sounds like a cache issue, and I tried to set "Enable plsql caching" to "no", with no improvement.
What can I do to solve this?
/SaraYou could try flushing the cache content by navigating to
$ORACLE_HOME/Apache/modplsql/cache
..and deleting the directories and all content beneath them.
This is guaranteed to cause a cache rewrite.
You should also set your page cache settings to 'Dont Cache' which will guarantee that the cache is not being used.
You can check the caching status of a portlet on a page by adding _debug=1 to the URL you are viewing.
You can read more about it here..
http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/OTN_CONTENT/MAINPAGE/ARCHITECTURE/TROUBLESHOOTING_ISSUES_IN_ORACLE9IAS_PORTAL2.HTM#31
What patch/version are you running ? -
Error Creating File Items in Content Area
Received the following error message when trying to create an item in a content area:
An unhandled exception has occurred, ORA-01403: no data found.
I checked in the Apache error_log file and the only messages I see relate to portal30.wwv_add_wizard.edititem and portal30.wwv_additem.additem (had to be described for execution).
Any suggestions? ThanksThis is an unusual problem. Please work with Oracle Support to resolve it.
Regards,
Jerry
PortalPM -
Error when editing items in content area!
Hi,
I get an error: HTTP 404 - File not found, everytime I want to edit an item in the content area, after another try it works and does the changes.
I'd like to know if this is a know bug? what's happening?
This is bad to portal performance, the publishers and developers are backing out, due to this prob.
Also I'm getting timeouts all the time.
Any help?
Carolina.Hi,
This has been mentioned on a thread on 'General' about getting 404 errors and timeouts. I am having exactly the same problem.
I re-installed our Server from Scratch with Windows 2000 and Portal version 3.0.9.8.0 so I would have a totally clean install, but I still get the same problems.
Someone mentioned that turning Intermedia (Oracle Text) searching on causes the problems. Does anyone know if there is a fix for this? Any word on this from Oracle?
Richard -
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 -
Portlet as item in content area folder?
I was wondering if anyone has thought of adding a new item type of type portlet to the folder container?
Is is possible now or coming down the road?
My problem is that I have 260 portlets that the user needs to navigate through in an artificial hierarchy of sorts. Tabs appear to work, but they are ugly when I do lots of nesting.
Any ideas?The folder portlet offers only a subset of edit actions. We did
this to conserve space. This will be changed in the next
release of Portal, planned for December.
Regards,
Jerry -
Scalability of custom items in content areas
Hi,
I like the idea of the flexibility of custom items, and functionally they fit closely to a requirement I'm working on, i.e. a mixture of structured and unstructured data that is very likely to change over time and requires structured access control. I've developed a prototype and it all looks good so far.
However, I am wondering whether use of custom items is going to hit the performance of my Portal. Just to give you some idea of the numbers I'm talking about - I'll have about 20 custom items defined, probably with no more than 10000 examples of each custom item. I know it's very much small fry in database terms, but since this is metadata, I'm a little bit concerned about the affect of storing that amount of data across the Portal meta schema. My concern is that I haven't actually put any data into the custom items yet, but I've noticed that querying some of the WWSBR_ views is somewhat slow, especially when you try to join the views. What I'm hoping to avoid is exponential degradation of performance as the amount of data in stored in custom items increases. Also, I'm hoping that the custom item data is stored in separate tables from the ones Portal uses for it's own items attributes (e.g. created_date, description, search text, etc). I don't want to kill our Portal which is already being used for other things!
I'd be interested to know :
1) If anyone has developed a solution with more than, say, 5000 items stored in custom items, and how if at all performance was affected
and
2) If anyone has any other feedback on the architectural sense of what I'm proposing.
Thanks,
MarkGot the same problem - but I don't want public to see the CUSTOMIZE link at all.
-
Sort by "create date" in regular items within Content Area
Is this possible? I only see three option to sort by (default,
title and size. I need to sort by create date.
Is it possible?You can also try grouping by Create Date, and turning off the
Group By banner in the style.
Regards,
Jerry -
Content Areas - Viewing Text Items error
Hi,
Our ability to view text items within content areas has just stopped.
We now get Error: (WWS-00000)
with no other dialogue or entries in the logs.
As far as I know nothing has changed.
null<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Krish Palaniappan ([email protected]):
Hi everyone,
We identified the issue. I expect that a patch will be released. I'll keep you posted!
Thanks.<HR></BLOCKQUOTE>
Hi,
any news on the patch yet?
Best regards,
~Dietmar. -
Hi,
I want to use public API to add items to content areas. However this API ( wwsbr_api) seems only work when user is Portal30. When i try to run this API with other user it fails.
i've run the script sbrapi.sql to add some grant to the user.
This is the command that i'm trying to run with a database user that is diferent from portal30
declare
id number;
begin
ID := portal30.wwsbr_api.add_content_area
p_name => 'ENTERTAINMENT',
p_display_name => 'Entertainment Site',
p_versioning => portal30.wwsbr_api.VERSIONING_AUDIT,
p_default_language => 'us',
p_logo_filename => 'c:\temp\confirmar.gif'
end;
This is the error that is raised ..
The following error has occurred:
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "PORTAL30.WWSBR_API", line 32
ORA-06512: at line 4
i'll apreciate some help
Thanks
Pedro RibeiroI forgot some info ...
I'm using Portal 3.0.8 in a 8.1.7 database
Platform is Windows Nt -
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
nullHi,
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 -
How to customize the default add item in a content area
Hi!! I want to know what can I do to introduce a file in a content area, but I don't want to use the default page that portal use. I want to customize the add item option, the same that I have done with the folders. The problem that I have is that I need the user to have the file on his/her pc, and the api add_item needs the file on unix, where de DB is installed.
If anyone has any idea, please help me.Hi All,
Thanks for all your reply, but maybe i didn't describe my problem clear. My problem for the combobox is that once the combobox has a selected value, then there is no way to clear it in the UI even I remove all the items in its ValidValues. From the user interface, the selected value still stays there but actually this combobox is empty and does not have any items. My question is how can I remove the current selected item in the combobox.
Thanks,
Lan -
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 PoulsenYou 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
Maybe you are looking for
-
Using edit box in Read only mode
I am using JDeveloper 10.1.3.1.0 with OAF. In one page I have created one region with a few edit boxes. In this region I want to display the information using the edit boxes in a "Read Only" mode so that it matches with the same background colour. If
-
Will "Reminders" on my iPh4 (OS5) synch with my Mac?
If I use the new "Reminders" app in iOS 5 on my iPhone 4, will these reminders be synched or backed-up with an iTunes synch? (I synch with Office Mac '11 Outlook for Calender, Contacts & Notes)? I am reading that they will be backed up and (potentia
-
Getting Error Code 13 with Mac App Store on OS X Lion
Hey all, I just updated my Macbook to Mac OS X Lion. Now whenever I go into Mac App Store, I can log into my Apple ID but cannot redownload any of my previous purchases. I continue to get the error 13 for any of my downloads. I've tried rebooting my
-
VLC stopped producing sound with PulseAudio
VLC used to work perfectly with the PulseAudio ALSA plugin. But now I can't seem to get any audio anymore. All volumes are up and PulseAudio manager reports vlc as a client through the alsa plugin. When I shutdown PulseAudio, I get audio again from V
-
I guess that clip paths are needed for all the files I've pasted from Illustrator, but do I need all the temp-files? How can I clean up the clip paths, bitmaps and temp files I don't use in my project? Flash freezes a couple of seconds now when I add