cancel
Showing results for 
Search instead for 
Did you mean: 

how to create a new reository service in portal

Former Member
0 Kudos

Hi

I am facing the problem with , how to activate the new repository service.( Actually I have customized code provided by sdn for no. of hits on folders so that no know the popularity of our web site.) please mention it step by step with all the row to filled after clicking new reporitory service and after creating the new repository, how to proceed further to know no. hits on the folder. Please clearly mention it.

is already existing folders will have the count .......

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi..

Refer the following link...

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2654

<b>Assign unique key to IRFServiceWrapper.java</b>

To Activate the Service Goto Sys.Admn>Sys.Config.> Knowledge Mgmt>Content Mgmt>Repository Manager--> CM Repository -->Assign service to repository (e.g. documents).

One more point.. when creating hitscount property give like this. <b>Document Validity Patterns (csv) = /documents/</b>

Then only the count wil increse when u assign ur service to <b>document..</b>

if u have any doubt let me know...

regards,

Chinnadurai R

Former Member
0 Kudos

hi chinnadurai

all these stuff i have done it. after the last step in ur reply what could be done

means how should i include this portal appilication part that is coding part into my uasge part in km.and after creating it how can i use it .iam using this for the frist time please help me out thank u

regards

Gyathri vuthukota

Former Member
0 Kudos

Hi Gayathri,

First u have created Hits count Property by following that blog...

dont forget this attribute Document Validity Patterns (csv) = <b>/documents/</b>

ok.. Now u r getting hitscount property (<b>inside Miscellaneous tab</b> )for any new upload files in document..

Next U have created Repository service by using the code in that blog... dont forget to give <b>unique key value in IRFServiceWrapper. java...</b> then deploy the par for e<b>.g ur par name is com.company.Repservice</b>...

Atfter deploy ur par u wil get ur service under Sys.Admn. >Sys.Config.>Knowledge Mgmt.> Content Mgmt.> Repository service... like this com.company.RepositoryService.Component Name..

Now u can check whether ur service is running or not...

go to Sys.Admn. >Monitoring>Knowledge Mgmt.>Component Monitor>Repository service... here ur service is in green color, so ur service running...

To Activate the Service Goto Sys.Admn. -->Sys.Config. >Knowledge Mgmt.>Content Mgmt.-->Repository Manager -->CM Repository > Edit <b>Documents</b>> Under Repository service Attribute you can see ur service... Assign that and ok...

You have completed all the process...

Now u can check the service is running or not .. open the newly uploded file under document... then check hitcount property of that file.. now it wil be incremented...

if u have more doubt let me know...

regards,

Chinnadurai R

Former Member
0 Kudos

hi chinnadurai

first of all thank u very much for all the stuff u have send me.I have followed all the steps that you have mentioned and i have checked my repsoitory service in Monitoring and its runnning (green color). What my problem is i want to display the name of folders and the no. of hits on that particular folder in a table in my portal server. I dont know how to pull this information from my repository service in the table.Also tell me how to and where to check the number of hits on the particular folder.

Suggest some help.

Regards

Gayathri Vuthukota

Former Member
0 Kudos

Gayathri,

You need to first create a command using the service you have just created.

To create a command, or to modify the configuration of an existing command, choose Content Management ® User Interface ® Commands ® UI Command.

You can also find some details in the link on how to link a command to a Navigation Iview....

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/504e31fc-f46f-2910-98b4-dd94478c...

Keep us posted on how you resolve the issue.

Using these you can include the command in the properties tab.

Let us know if you are able to solve the issue.

Thanks & Regards

Nithya

Former Member
0 Kudos

Hi...

Open the folder goto <b>Details>Settings>Properties--></b> here click the <b>Miscellaneous tab</b>... here u can see ur <b>hitscount</b> property...

regards,

Chinnadurai R

[reward point if helpful]