Creating a "Most Popular Pages" List

The setup's like this:
* Each page that is tracked has a SQL statement that increments the number in an "occurances" column in a table specifically made for this purpose.
* The db_occurances table has three columns - page number, page name, and occurances.
* The main page of the application has a PL/SQL anon block region that is supposed to display the two most visited pages in list form.
* The main page contains four hidden items that each have a SQL query; they have a value equal to something like this:
select pagename from (select rownum r,pagename from db_occurances order by occurances desc) where r = 1;
* The main anon block takes the values of these four items and uses them to build the list of popular pages.
The part that doesn't work is the SQL query in the four items. Instead of ordering the rows by occurances in descending order as they're meant to, they're ordering the rows as they appear in an unordered query.
Doing a SQL query "SELECT pagename FROM db_occurances ORDER BY occurances DESC" in the SQL Workshop returns the correct order.
Anyone have any idea what could be the problem?

Hi Ben,
This should work for you -
  1  select * from
  2  (select
  3    application_id,
  4    page_id,
  5    page_name,
  6    count(*) as times_viewed
  7  from
  8    apex_workspace_activity_log
  9  where page_id in (1, 9, 56)
10  group by
11    application_id, page_id, page_name
12  order by times_viewed desc)
13* where rownum <= 3
jes@TESTDB> /
APPLICATION_ID    PAGE_ID PAGE_NAME            TIMES_VIEWED
           463          1 Home                           42
           348          9 Home                           31
          4000         56 Application Builder            19Obviously you could adapt this query to pass in the page id's (or do a subquery to retrieve them from another table etc).
Hope this helps,
John.

Similar Messages

  • Can I view the songs or albums by most popular in list format? (easy star)

    I'm just curious and I'd like to see what song is the most popular.
    I find all the pictures and album art really annoying.
    I don't use the store for buying music.
    to clarify , I'd like to see the whole iTunes catalog visible in regular itunes list view.
    Message was edited by: Bobsax

    I'd like to see the whole iTunes catalog visible in regular itunes list view.
    Not possible. There are millions of tracks in the iTunes Store, so there's no practical way the entire catalog could be displayed in a single list. If, however, you just want to see the Top Songs in a list, click the small right-facing arrow to the right of the "Top Songs" header.

  • "Most visited" pages list

    Hello all,
    we have a requirement to show a "shortcuts" portlet in the main page of our Portal so that the most visited pages show as links. That way a user needs only click on a link in that portlet to navigate to his/her most visited pages, thus avoiding click click clicking a lot.
    Is there any way to do this? Does Clickstream help in this area? I need some pointers as to what needs to be installed or developed to provide this functionality.
    Thank you in advance!

    hello,
    a Portal Partner called Omniture (www.omniture.com) is providing the functionality of analyzing statistics of the usage of a portal. this technology is also used to analyze the my.oracle.com portal. you can get information like the most visited pages, etc.
    a white paper about the usage is available:
    http://portalcenter.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/OTN_CONTENT/MAINPAGE/ARCHITECTURE/IMPLEMENTING%20MY%20ORACLE.PDF
    hope this helps you to implement the required functionality.
    regards,
    christian

  • Creating of report - most popular ivews/pages

    Hi,
    How could I create an report for Most Popular iViews/Pages accessed by the user?
    Is there any step by step documentation on this?
    Thank you

    Hi AIX,
    The above solution mentioned by Siva is available only for higher version of your portal..
    Probably its available from EP 7.0
    If you are using a lower version please check the below link for portal activity reports..
    Gives a step by step solution on how to create a portal activity report
    http://help.sap.com/saphelp_nw04/helpdata/en/58/728ea01cf64fff996b827f2a06f9b1/frameset.htm
    Kindly award points if helpful
    Regards,
    Priyanka.

  • How to include "pages" and "documents" as different tabs in most popular item webpart from site collection ?

    Hello,
    I require to customize the most popular item web part that should show the "pages" and "documents" from entire site collection in different tabs in the same web part.
    can anyone suggest me the approach on the same ?
    Thanks and Regards,
    Dipti Chhatrapati

    Hi,
    It would not be an easy job to customize an existing web part which with its own design.
    As a suggestion, it would be more appropriate to create a custom new web part with the help of Search API in your scenario, there, we can create custom style more
    freely than customizing on an existing web part.
    About Search API in SharePoint 2013:
    https://msdn.microsoft.com/en-us/library/office/dn423226.aspx
    Some jQuery Tabs plugins would be helpful to you:
    http://www.sitepoint.com/10-beneficial-jquery-tab-plugins/
    Thanks 
    Patrick Liang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to get pages list for a group space or create a page for a group space

    hi All,
    I am using wc11.1.1.3, I want to use java api to implementing the following functions in site template:
    1. Get pages list for a given group space
    2. Create a page for a given group space
    I researched the following codes from web site:
    PageDef newPage = mPageService.createPage(
    PERSONAL_USER_PAGE, pageNameFormat, pageTitle,
    "MyPageTemplate1.jspx",
    "/mytemplates/",
    null, null, null);
    What should be used instead of PERSONAL_USER_PAGE if a group space page is intended to be created? which parameter is for defining group space name that the page should be created for?
    By the way, PageService seems has method for getting list of pages, but how to use it to get page list which is in a specified gs?
    Best regards

    did you manage to get the page list using Page Service API?

  • I duplicated a document created originally in new pages 5.1 and exported that copy to the older pages '09. I see the document listed in the old pages but my computer refuses to open it demanding I download the newer pages app... which I have. Now what?

    I am able to open the document through finder, but I can't with Pages '09.

    I have the latest operating system on my '09 macbook pro. My old pages is pages '09.
    When this document was created I didn't realize I did it under Pages 5.1, which I now realize is limited in capabilities so it can speak to iOS devices through iCloud.
    I duplicated that file, renamed it "Yardening copy" and exported to Pages '09. I see the file in the pages listing, but when I try to open it there I get a warning that I need to download the new Pages 5.1... which I have on my computer. I even tried to email it to myself hoping that might work on a lark, but the file is too larg being that it includes pictures.
    I can find the copy via finder, and yes, double click it and it opens... but I'm assuming it is using Pages 5.1 to do so.
    Do I really have to copy and past all the info on this document onto a new Pages '09 document where I want to maintain my  master library of documents?

  • Most Popular Items Report: items listed in report are not the document names or titles

    I have a document library that's loaded with typical corporate ppt, word, and pdf files.  When I run a Most Popular Items report on the library, the list of items displayed in the report are not the document file names or document titles. 
    Instead, the report is showing information that seems to pulled from within the content itself.
    For example, there's a new corporate ppt template in the document library and the Most Popular Items report shows the sharepoint url for the ppt file as being one of the most popular items.  Let's say that the file is named Standard_ppt_template.ppt. 
    The url for one of the most popular items reflects that in the URL.  However, the item is listed in the Most Popular Item as "Company Confidential".  The report seems to be pulling the words "Company Confidential" listed in the
    footer of the ppt template and showing that as the most popular content item. 
    Is there a reason or setting why the Most Popular Items report is not returning a list of items based on either the file name or the document title?
    Thanks in advance for any advice.

    Hi,
    According to your post, my understanding is that the PPT files items in the “Most Popular Items” report display these items’ names seem to be pulled from the PPT files’ content.
    Per my test, the Word, Excel, PDF, .txt, .png files items in the “Most Popular Items” report will display these items’ names based on the corresponding items’ title value if they have, or the corresponding file name if these items don’t have the title value.
    However, it’s by design that the PPT files items in the “Most Popular Items” report will display these items’ names only based on the beginning of these PPT files’ content rather than these files’ names and the corresponding items’ title value.
    Best Regards,
    Yumi Fu

  • 11g - "Most Popular" section of Home Page

    Can anyone shed light on:
    (A) How OBIEE decides which objects go into the Most Popular section of the Home screen; and,
    (B) How we can tell OBIEE to please NOT include that section on the Home screen. Can it be turned off?

    Let me restate the first question, using a very simplistic scenario as a strawman.
    Let's assume that there are 1000 active users of the system.
    Let's further assume that there are exactly 30 objects (analyses, dashboard prompts, data models, reports, KPIs and so forth) available for selection in OBIEE.
    Let's further assume the following usages of those 30 objects:
    ....Ten of the objects were accessed 15 seconds ago by 1 user each.
    ....Ten of the objects were accessed 15 minutes ago by 150 users.
    ....Ten of the objects were accessed 3 days ago by all 1000 users.
    The section is called "Most Popular". I could make a strong case that an object accessed within the past week by every user of the system is "popular". You could make an equally strong case that an object that was accessed only 15 minutes ago by 15% of the user base is "popular". Neither statement would be incorrect. Yet, only 9 objects will be shown in the "Most Popular" section.
    So the question is: What algorithm does OBIEE use to determine which 9 things out of the 30 to show in my 'Most Popular' section?
    Followup question: Are my 9 things the same as everyone else's 9 things? After all, if I don't have any access to the 10 objects that were accessed 15 minutes ago, I would contend that they really shouldn't be on my list.
    Actually, these are reasonably simple questions, but they probably require someone with knowledge of the inner workings of the sytem, i.e. a developer, to answer.

  • Is there any way to delete a page listing on the top of the IWeb site. I created a page which has links to the other pages, so I don't need all of them listed on top...

    Is there any way to delete a page listing on the top of the IWeb site. I created a page which has links to the other pages, so I don't need all of them listed on top...

    Better ask in the iWeb forum.
    Answer : inspector > first icon from the left > uncheck 'Display navigation menu'
    For future reference, also look at the other icons.

  • From profile backup: Restoring bookmarks, most visited pages and reading list

    Using the firefox mobile extension "Copy Profile" I have saved a copy of my profile to the sd card. Now I would like to restore selectively:
    - bookmarks
    - history
    - reading mode saved pages
    - most visited pages
    While restoring the relevant files (using root access on android) helped, I am suffering from these probems:
    - The order of the bookmarks is mixed up: I had ordered them with the desktop app. Where is this order stored?
    - The "most visited pages" appears to be a random selection from the history.
    Any ideas?

    Solution was to copy the files mentioned here:
    [[Recovering important data from an old profile]]
    And here:
    [https://support.mozilla.org/en-US/questions/950536 Extracting bookmarks from Android mozilla profile backup]
    Important:
    The file ownership of all files copied back into the profile directory have to be adjusted. On my machine they defaulted to "root" owner which prevented firefox from accessing them.

  • List workflow with "Start workflow when an item is changed" will run twice when creating a new wiki page

    I have created the following workflow on the wiki page library to run when an item is changed:-
    And it will send emails as follow:-
    Currently when a user creates a new wiki page and he enters the wiki page name.
    Then he enters the content and click on save.
    Then two duplicate emails from the workflow will be sent ? So can anyone advice why creating a new wiki page will fire the workflow twice ?
    Thanks

    Hi john
    Have you see the library where the wiki pages are stored. You can see how many occurrences of the workflow has been run.
    Anyway, instead of using "wait for", can we put a condition that says, if Assign To:Approver is not empty. then email. 
    i use if instead of wait and it worked well, thanks

  • Most Popular Items are not populating on lists and libraries

    When I click the Most Popular items icon, the reports always show zeros.  I have been reading that installing OWA has resolved the problem but I need to know if it is REQUIRED to work properly. If anyone has any information on this, please let me know.
    I have not  been able to find solid proof it is a requirement.
    Thanks!

    Hi,
    According to your description, I have met the same issue with you. The Most Popular Items wasn’t recording any views for documents in the document libraries.
    Here is a blog said that only when the documents are viewed in the Office Web App are they recorded for the Most Popular report. But it's always good to test.
    http://nickhurstblog.com/2013/04/30/library-most-popular-items-not-working/
    Besides, here is a similar post, you can use as a reference:
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/71066e40-87cd-4a6b-88fd-d78daa1b858f/most-popular-items-not-working-for-document-libraries
    Best Regards,
    Lisa Chen 
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact 
    [email protected]
    Lisa Chen
    TechNet Community Support

  • Most Popular Items not working for document libraries

    One of the new Library features is the "Most Popular Items" report.  In the library tab you can click on the icon to in theory, see a list of the recent and total Views of an item:  
    This does work in our environment to record views for wiki or publishing page, but it is not recording views for documents regardless of their location:
    I've had several people open and view the documents, and even had 1 person edit a couple of the documents.  Even after waiting a couple of hours to make sure whatever job it is that updates the Views has run, we still aren't seeing any views.
    Any ideas? 
    Nick Hurst

    We finally got Office Web Apps installed and now the Most Popular is working.  Of course that means only when the documents are viewed in the Office Web App are they recorded for the Most Popular report.  We've done some testing and opening the
    file directly in the desktop application, or even editing the file directly in the desktop application are never recorded.  My one disclaimer with this is we are using Office 2010, I'm curious if Office 2013 perhaps records views and edits using the desktop
    application?
    Luckily the latest OWA patch now allows PDF's to open in the Word Office App as well, so those views are recorded.  If you have any non office or non PDF in the library, views will not be recorded for these items unfortunately.
    I can't believe how this isn't documented anywhere. 
    Nick Hurst

  • SharePoint 2013 Most Popular Items Requirements

    Hi all,
    I have a General question regarding Usage Data and "Most Popular Items" functionality.
    Can anyone provide a list of requirements for this Feature?
    Currently the Problem is following we have Setup an Environment with latest CU, configured Search application and Usage Data Collection.
    And it seems to be working for page request (Pages library), also we get the popularity Trends Report for site collections, but if we try to get a Popularity Trends Report from a library or a most popular items Report from a library then it is empty.
    I have seen some rumors that it only work when we have Office Web Apps installed.
    Can anyone confirm that or Point me to an official documentation?
    best regards
    nadine
    Nadine Storandt

    Hi Nadine,
    Thanks for posting your query.
     Most popular items Report is working fine without Office Web Apps installed.
    Can you please go through below link for more details on configuration part in case of document library.
    http://en.share-gate.com/blog/new-sharepoint-2013-analytics
    http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2013/03/28/determining-the-most-popular-items-in-a-document-library-in-sharepoint-2013.aspx
    Hope this helps you.
    Regards
    Soni K

Maybe you are looking for

  • Recruitment - Applicant attachments to be transferred to PA

    Dear Experts, Im able to transfer Applicant data from recruitment to PA and EMployee ID is generated along with Infotypes updation. Now my query is Is there any option to transfer Applicants attachments also along with Applicants data transfer to PA

  • Word Footnote conversion problem

    I am using Adobe Acrobat 9.0 Standard.  When I converted a MS Word document this noon to pdf, the line that separates the footnote from the text did not convert to a horizontal line, it converted to a string of ### symbols.  I have converted many oth

  • Is iSight using internal USB BUS in Bootcamp (win xp ) mode?

    Hello, I am having issues with my musicall instrument that is plugged into Mac Book Pro 15" 2.0 Core Duo 1G RAM. The instrument is plugged into one of the USB port of MBP. I would like to know if iSight in WinXP mode is using internal USB bus. If it

  • Error in client System.. forms are not opening...

    Form is not opening in client system... There is An error in Important:Do not close Window in Status bar Exception and form Is not opening... our application version 11.5.9 database version 8.1.7.4 here below some of the solutions i tried 1.In JIniti

  • How to control the columns of various rows

    Dear Members, I have few rows displayed in the advanced table region on a OAF Page. The page has 3 columns i.e., Col1, Col2 and Col3 I also have Add Row button on this table. When I open the page, by default it displays 4 rows. Now I dont want users