Most Popular Documents - How to implement ?
Hi
I have a database table used to store document details
e.g.
DOCID
DOCDATE
DOCTITLE
DOCSUMMARY
DOCPATH (which contains the document filename)
I would like to add the functionality of showing which
documents are the most popular, so I plan to add a
DOCCOUNT field to the table, to count the number of times the
document is viewed/clicked on from the document listing pages.
How can I achieve this, is it possible ? ?
one possible way:
make a page, i.e. viewdoc.cfm, which will:
a) run a query to increment the DOCCOUNT field by one for a
document
based on url/form var (i.e. url.docid) passed to the page
b) get docpath from db
c) cflocate user to actual docpath (or serve up the
requested doc any
other way)
all links to docs in your website should be changed to
something like
viewdoc.cfm?docid=#docid#
Azadi Saryev
Sabai-dee.com
Vientiane, Laos
http://www.sabai-dee.com
Similar Messages
-
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 ChhatrapatiHi,
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] -
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 HurstWe 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 -
How to Implement custom share functionality in SharePoint 2013 document Lib programmatically?
Hi,
I have created custom action for Share functionality in document library.
On Share action i'm showing Model pop up with Share form with addition functionality.
I am developing custom share functionality because there is some addition functionality related to this.
How to Implement custom share functionality in SharePoint 2013 document Lib pro-grammatically?
Regards,
- SiddhehswarHi Siddhehswar:
I would suggest that you use the
Ribbon. Because this is a flexible way for SharePoint. In my project experience, I always suggest my customers to use it. In the feature, if my customers have customization about permission then i can accomplish this as soon
as possible. Simple put, I utilize this perfect mechanism to resolve our complex project requirement. Maybe we customize Upload/ Edit/ Modify/ Barcode/ Send mail etc... For example:
We customize <Edit> Ribbon. As shown below.
When user click <Edit Item>, the system will
render customized pop up window.
Will -
How to write the folder path in standard webi report - Most Accessed Documents
How to write the folder path in standard webi report - Most Accessed Documents
All
-> Public Folders
-> Auditor
-> ABCD
I want to give path of folder 'ABCD' and all the reports/ subfolders under it?
Prompt - 'Enter the Folder Path(Add % at the end to include Sub Folders)' ?
Give me exact path syntaxHi Daniel,
But when I give my URL as
http://serverA:80/irj/portal??NavigationTarget=ROLES://portal_content/crm-practice/14-Feb/Test_Page
I am able to access the iview but the thing is I am getting TLN,Toolarea,Masthead,etc.
I will tell my requirement,
ServerA (EP 7.0) has some iviews,pages...
I need to access these iviews from serverB(EP 6.0)....
In ServerB only the iviews has to be displayed in the content area but not TLN,Toolarea,etc.
Kindly help me in this regard.
Thanks and regards,
Purushothaman.
Message was edited by: Purushothaman Vyasarao -
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 -
How many Mac Mini's sold? and what has been the most popular Mac?
How many Mac Mini's sold? and what has been the most popular Mac? Curious, Bill
If you visit Apple's PR Library, you can find the quarterly sales results posted. Each one has a PDF you can download that includes a summary of Macs sold. The most recent one, from April 19, 2006, includes a PDF ("Data Summary" at the top of the press release) that only breaks down the Macs sold into "desktop" and "portable" computers. There's no way to distinguish between iMacs, G5 towers, Xserves and Mac minis in the desktop category. Older press releases like that (for example, the April, 2005 release) break down the desktops into iMacs and PowerMacs, but the iMac group includes the Mac minis and eMacs so it's still not possible to figure out exactly how many Mac minis were sold.
So, unless Apple releases the numbers separately, I'm not sure it's possible to answer your question.
-Doug -
How to implement Digital Rights Management (DRM) on a document library in share point 2010
Helloo,
Does any one has an idea about DRM (Digital Rights Management) and how to implement it in share point 2010.
I have a requirement to secure some excel and pdf files using DRM in sharepoint 2010. Can anyone help me here..
Thanks
RaziSee if this helps you...
http://blogs.msdn.com/b/ecm/archive/2010/02/13/introducing-records-management-in-sharepoint-2010.aspx
http://technet.microsoft.com/en-us/library/cc261982.aspx
http://www.cmswire.com/cms/document-management/the-scoop-sharepoint-2010-records-management-005948.php
"T" | community.zevenseas.com/Blogs/Tanmay/default.aspx -
How can I sort songs on my iPad by "most popular"
I am in the iTunes store from my iPad 2. I got the group I wanted and now just want to sort all their songs by "most popular". However, I am only able to sort each album this way.
Don't Worry, as long as your music is consolidated in your library, then your information (ie alb. art lyrics blah) will be saved! Just don't delete your music in your iTunes folder!
-Guru -
How to obtain most popular cities from my users table
Hi.
I've got a 'users' table:
USER_ID --- CITY_ID
1 ---- 32
2 ---- 20
3----- 32
4 ---- 32
5 ----- 17
I would like to obtain the most popular cities from this table, and the number of occurrences. Is this possible to make it easy with an SQL statement?
ThxHere is an example using the emp demo table -
SQL> select deptno, count(*)
2 from emp
3 group by deptno
4 order by count(*) desc;
DEPTNO COUNT(*)
30 6
20 5
10 3You can find full details of aggregate functions like count, and group by and order by in the SQL Reference manual. -
Export complete "Most Popular Items" report
I need to take snapshots of the Most Popular Items (views) report for a pages library so we can analyze the data to get weekly/monthly/yearly visit trends/data for each page within the library. Our typical pages library (being used as KB's) contains 200+
pages (in one instance, over 1,000) so exporting & combining the data for each individual page every week is just not an option. What I'm looking for is a way to export the "Most Popular Items" (accessed via Library tab > Most Popular Items)
to an Excel spreadsheet without having to manually copy/paste/clean up each page of data. Has anyone found a way (programmatically or otherwise) to accomplish this?
Is it possible to modify the "topreport.aspx" page to include an 'Export to Excel' type function? Or at the least, is it possible to customize the layout of that page to be more Excel-friendly (for example: show all results on 1 page or make each
entry appear as a single row)? Is this data able to be captured through PerformancePoint?
Any help/guidance will be greatly appreciated!
Thank You!
- KyleHi Kyle,
Per my understanding, you might want to export the Most Popular Items related data to an Excel report in a specific format.
As there is no OOTB feature can meet your requirement, custom code would be required.
In Microsoft.Office.Server.Search.Analytics namespace, there is a method “UsageAnalytics.GetAnalyticsItemData”
which can help to “Retrieves aggregated usage data for a specified item for a specified event type”.
A demo about how to identify view count for each item in a Pages library for your reference:
http://www.sharepointpals.com/post/Step-by-steps-on-how-to-display-Most-Visited-Sites-with-number-of-view-count-in-SharePoint-2013-Web-Analytics#sthash.ETDAKw1Y.dpuf
About creating Excel file with data programmatically, the links below would be helpful:
https://msdn.microsoft.com/en-us/library/ms173186(v=vs.80).aspx
http://www.codeproject.com/Articles/20228/Using-C-to-Create-an-Excel-Document
Thanks
Patrick Liang
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]
Patrick Liang
TechNet Community Support -
How to implement 'hypelink' in ALV GRID
Hi,everybody,please tell me how to implement 'hypelink' in ALV GRID?
I just try to design a ALV GRID report but I do not kown the way of using 'hypelink'. I refer to some documents but failsed. somebody can help me and give a example including entire code.1. Create a table where hyperlinks & corresponding handles are stored (TYpe LVC_T_HYPE)
DATA ls_hype TYPE lvc_s_hype .
data lt_hype type lvc_t_hype.
ls_hype-handle = '1' .
ls_hype-href = 'http://www.company.com/carrids/car1' .
APPEND ls_hype TO lt_hype .
2. In your list data table create additional field of type INT4 which will contain the handle of the hyper link (ex. '1' for above hyperlink)
DATA carrid_handle TYPE int4 .
3. For the field which shall contain the hyperlink, make an entry in the field catalog indicating the field name which contains handle for the hyperlink. This is done by setting the handle field name in WEB_FIELD.
ls_fieldcat-fieldname = 'CARRID'
ls_fieldcat-web_field = 'CARRID_HANDLE'.
4. While calling set_table_for_first_display, pass the hyperlink table created in step 1 to parameter 'it_hyperlink'
~Piyush Patil -
How to implement select all files (Ctrl-A) in open file dialog??
I successfully created file open dialog. However, in most windows file open dialog,
if you press "Ctrl-A," it will select all the files in the directory. If you press "Ctrl"
key with arrow key, it will highligh the files you want. ie. It allows users to open
more than one files at the same time. How to implement it in Java??For doing this, you have to enable the file multiselection.
If you have created a JFileChooser as :
JFileChooser fileChooser = new JFileChooser();
Add the following statement to set the multiselection property.
fileChooser.setMultiSelectionEnabled(true);
Manish. -
How to implement this typical sign workflow? Urgent
Hi Adobe Experts,
I am new to LC (two months only). Recently company is doing some evaluation on LC 8.2 and my boss assigned the following task to me (I simplified it):
Form: (Enclosed)
* Two text fields: CommentTextField1 and CommentTextField2
* Two signature fields: SignatureField1 and SignatureField2
I've associated the SignatureField1 to lock CommentTextField1 and associated the SignatureField2 to lock CommentTextField2.
The progress to implement is:
Step 1) Ray Woodard open the form in workspace, type in CommentTextField1, Sign the SignatureField1, Submit.
Step 2) Alex Pink open the form in workspace, type in CommentTextField2, Sign the SignatureField2, Submit.
Any suggestions on how to implement the progress? Please help! Thanks a lot!
(What I am able to accomplish so far is the step 1, but I am not confident about that. Please point me the right solution. Should I use xfaForm or Document Form, render/submit as default or PDF, submit as XDP or PDF etc...? I am so confused and frustrated now!)Steve, thank you so much!!!
Your example helped me a lot. I am able to run the process, but I still have three doubts:
1) When I set "Submit As" to "PDF" rather than "XDP" by default, I am not able to submit the form in the workspace client with "Adobe Reader" installed. But I am able to submit the form in the workspace client with "Adobe Acrobat" installed. Is it normal?
2) What does "Form Bridge" do in this whole process here?
3) If I don't want to hard code the submit URL in the form, do I have another option, like using other renders?
Thanks again!
Wayne -
How to implement this attribute ?
Hi,
I've this problem.
In our application to control healthcare expense I've implemented a cube with 6 dimensions. (here for who knows Italian : http://www.oracle.com/global/it/customers/profiles/profile_77.html )
The biggest dimension is the "patient" one, with 1.500.000 units at 5th level, grouped in geographic aggregates, until the entire city at highest level.
Now customers wants to have the possibility to select patiens with chronic disease from these. There are about 500 kinds of chronic diseases.
Every patient can have no one, one, or (and this is the problem) more then one of these chronic disease.
How to try to implement this? as a new dimensions or as an attribute ?
I've thought that best way is to introduce a new (chronic diseases) dimension, to have a way to select one or more of these diseases at all levels of patient dimension.
I'm asking how to solve the problem that a single patien can also have more than one disease.
Is there any way to implement this ?thanks to everyone for the answers
I've some questions.
to olapworld:
have you any sample code to show me how to implement the dimensionalized valueset and the customizations needed ??
to scott:
I think I'm not understanding your suggestion:
my target is to add the "ilnesses" selection to other ones. The most important cube of my applications analyze
healthcare expenses from six dimensions. Customer wants analyze cube "adding" a way to select only "ilnesses" patients and elvaluate their expense.
I'm in doubt becouse a patient can also have more then one ilness, so I can't simply add a "ilnesses" dimensions to the cube and mapping it to an "ilness_id" in the fact table.
How can the two dimensioned cube to help me in this ?
to Rafalm1:
in any case, implementing Count(Distinct patient) would be useful for me, to have a way to count the number of patients who had a healthcae assistence. Can you suggest me how to implement this ?
Maybe you are looking for
-
F110 Error in creating the payment document; read job
Hello I am running a payment run for few vendors and I am getting this error "Error in creating the payment document; read job" I have checked all the vendor acconts involved, for any blocked data but nothing is blocked. Is there any thing else that
-
How do I get my audiobooks from my ipod touch to itunes
I just got a new computer and I sync my ipod nano to it and all the audio books saved into my itunes, but when i tried to do that with my ipod touch 4th gen they did not save to my itunes. every thing is all up to date is there a way I can get them t
-
Can't tell what it is? Ad Malware? Not a pop-up
New Mac Pro Lion Updated Firefox Left Firefox running like I always do. This AM I had two large ads on my desktop.(Netflix and I think Mac Machine) I was so upset I closed them fast. I don't think they had a menu bar. What I remember is an ad with no
-
Please, somebody would tell me where�s the error in this line... try { } catch (java.sql.SQLException e) { log("Exception occurred!!", e); error("Exception occurred!!", e); in bold line, I get a compile error... Can you help me?
-
Please give me advice about....what is the best virus guard in store and is virus worked in iPhone (my English is not good sorry)