cancel
Showing results for 
Search instead for 
Did you mean: 

how to use the activated repository

Former Member
0 Kudos

Hi all,

I m using a repository service for the first time. I have created a repsoitory service named hit counts,which counts the no. of hits on the folders.I have activated this service in my KM but i dont know how to use this activated repository service to get the no of hits on folders in detail navigation.Please suggest some help.

Regards

Gayathri Vuthukota

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

a repository service is registered on certain events. Every time that event is fired by KM, the report is called and can handle the event it the received method. The question is: what happens in your service!? I assume the idea is to have a property that is added to the folder and holds the number of hits. Every time the folder is viewed the service increases the property value.

In this case the information that you are looking for is stored in the property on the folder. To view the properties, go to the folder and select Details --> Settings --> Properties.

You should first check if your service is working and that the property is created and increased. If this is working correctly you can decide what to do with this information.

To display the property on the UI you could change the layout of your iViews. It depends on where you want the property to be displayed.

Martin

Former Member
0 Kudos

hi all

I have gone through the path what you have said(go to the folder and select Details --> Settings --> Propert) but that property is not available there.

and i have checked my repository is fine working (in green colour).

one thing you have said is ""You should first check if your service is working and that the property is created and increased""

How to create .how to increase that property iam not getting..... and how to know the no of hits count of a folder.and how to display it, in a table in my portal

and as you said how to change the lay out as i have mentioned my problem clearly..so could you people help me out in this issue plzzzzz

regards

Gayathri Vuthukota

Former Member
0 Kudos

Hi Gayathri,

Have you done the coding to increase the property <b>HitsCount</b>. Once you have written coding to increase the Hitscounts property value then ok, if not just refer this <a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2654">Weblog</a>. Still if you face any problem, rise your query, i will help you to do that.

Regards,

Venkatesh. K

/* Points are Welcome */

Former Member
0 Kudos

hi all

i have created my repository service and it is fine working.and i have assigned that repository service to my repository by name DOCUMENT but still now i cant found where can i see that hits count of folder to be increamented .and u people have also suggested me to"" Open the folder goto Details>Settings>Properties--> here click the Miscellaneous tab... here u can see ur hitscount property...""\

but there i can found these columns but not the hits count poperty

Properties

Name *

Description

System Custom Rendering Miscellaneous Access Links Job_Group

Created 5/15/06 3:54:03 PM

Created By Administrator, Administrator

Modified 5/15/06 4:12:31 PM

Modified By Administrator, Administrator

Hidden

Read-Only

There are no custom properties

Name Value Add

Icon Source

Icon Rollover Source

Image Source

ProductArea LaptopsMobiles

consumer_id

Owner

Department SalesDevelopment

Path documents > KnowledgeRepository

ID *

Short ID /guid/20f964db-2ac6-2810-87b3-ffb647f49958

Explorer URL

WebDAV URL

Status ApprovedRejectedPublishedRejected(Approver)Rejected(Publisher)Submitted for Approval

PracticeArea ACCOUNTINGFINANCEHR

Entity ICDIDBWWFICIECIRTI

Save

so please go thruogh this and suggest me a need ful answer

thank you all

regards

Gayathri Vuthukota

Former Member
0 Kudos

Hi Gayathri,

Do you created the property like HitsCount in KM Configuration or not. If not, please do the following:

<b>Creating a custom property: hitscount</b>

Creating a new property is easy in Enterprise Portal.

Go to

System Administration/System configuration/Knowledge Management/Configuration/Content Management/Global Services/Property Metadata/Properties

and create a new property with the following attributes:

Description = Hit Counter

Unique ID = hitscount

Property ID = hitscount

Namespace alias = default

Type = Integer

Group = default

Mandatory = deactivated

Multi-Valued = deactivated

Read Only = activated

Maintainable = activated

Indexable = activated

Default Value = 0

Allowed Values (csv) = empty

Key for Label = hitscount

Meta Data Extension = Not set

Folder Validity Patterns (csv) = empty

Document Validity Patterns (csv) = repository list

Resource Types (csv) = empty

Mime Types (csv) = empty

Default Sorting = Ascending

Label icon = empty

Hidden = deactivated

Dependencies = deactivated

Additional Metadata (csv) = empty

Property Renderer = integer

Virtual = deactivated

Composed of = none selected

Comparator Class = empty

Now, every documents in the repository list will have this new property (upload a new document and look in its details page, inside Miscellaneous tab!).

Regards,

Venkatesh. K.

Former Member
0 Kudos

hi venkatesh

Thank you because you are reply me very fast

but the thing is i have done what are all you have told and i have created that properties in KM and also in pPDK i have assigned my repository service to my repository (name::/document) is fine working but iam unable find that property in path i,e (details->settings->properties->misllenious tab there it is asking for product ID,owner,etc) and the increament count of my folder

And what actual my problem is i want that property to be seen first

and i want that infomation to be displayed in a table as portal activity report i,e folder name and no. of hits on that particular folder to know the popularity of my portal.

can you plz provide a solution for my problem

Former Member
0 Kudos

Hi Gayathri,

to check if the new property is attached to the resources I recommend that you use the <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/75336f09-0801-0010-4ea6-90ca92e98b28">RFExplorer</a>.

Martin

Former Member
0 Kudos

hi all

please do this needful for me as it is very urgent.. (as i have been given time constrain by the end of this week)

See first step itself creating the new property by going through this path

''System Administration/System configuration/Knowledge Management/Configuration/Content Management/Global Services/Property Metadata/Properties

''

after doing this iam unable find that property in the misllenous tab

which is in details for that particular newly uploaded file...

should i restart the engine for that also

""can you provide me any screen shorts"" regarding that plzzz

because when i go that misslenious tab

there i found asking like

product area:

customer ID:

owner:

department:

all these..

is this sort of tab you people were telling

i want know it clearly plzz

if you can provide with screen shorts it will be very helpful for me....plzzzz

since that intial property itself is not created..

and after that i have created repository service in PDK

and it is fine working

and i have assingned that service to my reository

every thing is completed...

but thing is that property is not created ...

and i have also given that "document vallidity pattern "property also correct that is my repository name starting with"" / ""(eg: my repository name is /document)

so can u please tell me how too move further...

thanks & regards

Gayathri Vuthukota

Answers (0)