on 02-13-2007 7:22 AM
Hi, Is it possible to execute standard KM UI commands from wd? Actually i am creating a folder in KM from WD. I need to enable time dependent publishing on that. for this i need to execute UI comand. Please help me out..its urgent!!
Thanks in advance!!
Hi Alok,
I don't think it is possible to use the UI Commands directly, but you should be able to use the KM API from WebDynpro to create a folder and set the validfrom and validto properties.
Johan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Johan,
I am creating the folder using KM APIs. A folder doesn't have valid fr and valid to property..but documents created under that will have those properties. I know how to set these properties to documents under the folder. But these are effecting only after "Enable Time-Dependent Publishing" is done for the folder.
Hi Alok,
You could try to create a "template" folder which has time dependent publishing enabled, and then copy this folder (I'm not sure if this will work though).
Otherwise you should try to decompile the UICommand class in KM and see what it does. Perhaps the methods used are also available through the KM API from WebDynpro.
Johan
Hi Alok,
In System Administration->System Configuration->Knowledge Management->Content Management->UserInterface->Commands you will find the list of all UICommands and the corresponding java classes.
The command you need is called time_based_publishing and corresponds to class com.sapportals.wcm.rendering.uicommand.cm.UITimeBasedPublishingCommand.
I'm not sure where this class is located, but you can find it by searching on the server using winrar (searches in archives, such as jar files).
Johan
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.