Quantcast
Channel: SCN : Popular Discussions - SAP Enterprise Portal: Content Management and Collaboration
Viewing all 1826 articles
Browse latest View live

Connection Problem Webdav W8.1

$
0
0

Hello,

 

I followed the discription to include a KM Folder as a Webfolder in Windows Explorer.

 

http://help.sap.com/saphelp_tm81/helpdata/en/30/75b62c659d724fb908c74ade23af51/content.htm?frameset=/en/4e/05f44941f4bd4890c9e54015810800/frameset.htm&current_toc=/en/24/013f420e09b26be10000000a155106/plain.htm&node_id=73&show_children=falseHello,

 

I always get a message that the order is not valid. However if I connect with Portal Drive or Internet Explorer to the Wedav Directory it works fine.

I have already searched MS and SAP Forums, set BasicAuthlevel to 3 and checked if Web Client is running!

 

Thanks for any help !


Web composer option not displaying while Customizing Error Messages of Portal applications

$
0
0

Hi

 

I am trying to customize the error messages through web composer in sap portal but when i Choose System AdministrationSystem ConfigurationKnowledge ManagementContent Management          Web composer option is not shown .  I am using netwearver 7.0

please guide me I searched google but couln't find any satisfactory answer.


Thanks

Microsoft office 2010 documents not opening

$
0
0

hi ,

 

We have serverl users who have microsoft office 2010 installed on their machine. When they try to access any document they receive a pop- up.

"Access to this web server is disabled by default because it is controlled by basic authentication and does not support SSL".

 

can any oneconfirm that we have to enable SSL on our portal server to resolve this issue.

How to hide/ disable the address bar of a URL Iview that opens up in a new Separate headerless portal window?

$
0
0

We are using NW 7.02 SP8 portal. We have configured an url iview that opens up in a Display in a Separate headerless portal window. Whenever URL iview opens up, the navigation link is shown in the address bar. But the business don't want the users to see the link, as it may lead to security breach.

Create Custom Workflow Template

$
0
0

Hi,

 

I am trying to create a custom workflow template under "Workflow Content" in "Content Administration", which ultimately displays in the dropdown when creating Collaboration task under "My Tasks".

 

Could anyone please tell me how to create a custom workflow template and UI interface, which will display in the dropdown list when creating "New Task".

 

Thanks

Vijay

audio conferencing capability

$
0
0

hi all,

     is it possible to bring audio conferencing kind of capabilities into portal

403 The requested operation is forbidden for this resource.

$
0
0

Hi Forum

 

  I created a File System Repository and in the monitor the status is OK, and i can see the documents in the repository (word documents, jpg file, gif files) but i can´t get a "403 The requested operation is forbidden for this resource" message when i can open the file.

 

 

What can i do...  ?

 

 

Some idea ?

 

 

-Thnsk

 

KM plug-in in NWDS 7.3

$
0
0

Hi all,

 

I want to develop KM programs in my NWDS 7.3 by using KMC plug-in that is mentioned in the note 1572813.

But the download link for KMC plug-in in this note is broken.

If anyone of you have this plug-in, could you please send me a copy?

Thanks for help.

 

Regards,

Nick


TREX crawler: Failed with 401 unauthorized / no assertion ticket - on production only

$
0
0

Hello,

 

here is a problem we encounter with TREX indexing portal KM repositories.

 

A) Dev System works fine, for example:

1. Indexing is triggered by "Redindexing" a queue

2. The queue starts working, the TREX monitor shows documents process across the several states (e.g. preprocessing) etc.

3. you can see from the portal log that the user index_service accesses the portal to retrieve content:

 

LOGIN.OK

User: index_service

IP Address: xxx.xx.xx.xx

Authentication Stack: ticket

Authentication Stack Properties:

logon_policy = default

 

 

Login Module Flag Initialize Login Commit Abort Details

1. com.sap.security.core.server.jaas.EvaluateTicketLoginModule SUFFICIENT ok true true

[...]

#10 ume.configuration.active = true

2. com.sap.security.core.server.jaas.SPNegoLoginModule OPTIONAL ok true

3. com.sap.security.core.server.jaas.CreateTicketLoginModule SUFFICIENT ok false

4. com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule REQUISITE ok true

5. com.sap.security.core.server.jaas.CreateTicketLoginModule REQUISITE ok false

Central Checks true

Logon policies are disabled

 

As you can see the EvaluateTicketLoginModule is successful for user index_service

 

 

B) Production System does not work

1. Indexing is triggered by "Redindexing" a queue

2. The queue starts working, the TREX monitor shows all documents size > 10 KByte fail in state "Preprocessing failed" / 401 unauthorized

3. The log on the TREX server shows that the crawler wants to access a certain KM document for content retrieval (with a correct access URL)

4. you can see from the portal log that the user index_service is not able to log on the portal to retrieve content:

 

User: N/A

IP Address: xxx.xx.xx.xx

Authentication Stack: ticket

Authentication Stack Properties:

logon_policy = default

 

 

Login Module Flag Initialize Login Commit Abort Details

1. com.sap.security.core.server.jaas.EvaluateAssertionTicketLoginModule SUFFICIENT ok exception true Received no SAP Authentication Assertion Ticket.

[...]

2. com.sap.security.core.server.jaas.SPNegoLoginModule OPTIONAL ok exception true SPNego authentication has failed during previous attempt.

3. com.sap.security.core.server.jaas.CreateTicketLoginModule SUFFICIENT ok false true

4. com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule REQUISITE ok false false

5. com.sap.security.core.server.jaas.CreateTicketLoginModule REQUISITE ok false true

No logon policy was applied

 

 

As you can see the error message during logon is "Recieved no SAP Authenticatino Assertion Ticket".

 

Of course we THINK that configuration of both systems is the same. But obviously this is not the case.

 

So Question:

What can cause the fact, that in case B) no assertion ticket is present at the requests from TREX?

What kind of configuration or difference can be the reason?

 

 

Best regards

Ingo

Error WPC Post Installation SP Stack 09 SAP NW Portal 7.3

$
0
0

Dear All,

 

After installing the  SP Stack 09 in portal  (NW 7.3), the WPC service not working properly.


When I try to create a new  "web content" in the section "Area Managment"

 

 

WPC1.png

 

WPC2.png

 

 

I get the following error:

 

 

Exception ID:04:31_14/05/13_0136_1513350
[EXCEPTION]
com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
Application name : com.sap.nw.pcc.xmleditor
Component : com.sap.nw.pcc.xmleditor.EditorTool
Component class : com.sap.nw.pcc.editor.EditorTool

.

.

.

.

Caused by: java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.sapportals.htmlb.page.DynPage.doProcessCurrentEvent(DynPage.java:173)

at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:106)

at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)

... 61 more

Caused by: java.lang.NullPointerException: while trying to invoke the method org.w3c.dom.Document.createElement(java.lang.String) of an object loaded from local variable 'doc'

at com.sap.nw.pcc.km.service.editor.EditorService.getEditorDocumentXML(EditorService.java:424)

at com.sap.nw.pcc.km.service.editor.EditorService.getOutputXML(EditorService.java:406)

at com.sap.nw.pcc.editor.EditorBean.saveDocument(EditorBean.java:478)

at com.sap.nw.pcc.editor.EditorTool$EditorToolDynPage.onSave(EditorTool.java:524


 

 


 

I reconfigure the service of WPC from the following documentacion but it did not work  http://help.sap.com/saphelp_nw73/helpdata/en/08/3abbc0a75743d2b075f4fc140a16f3/content.htm

 

 

 

Thanks for the help

 

Best regards,

Cristian Velez.


The short URL for an iview object is not listed under System admin. How to retrieve the short URL of an iview.

$
0
0

Hi all,

 

Our Portal version : 7.02

 

I need to retrieve the 'Short URL' of an iview assigned to a role.

 

I followed some sap posts which directed me as,

 

Step 1: System administration--> Navigation-->short URL

 

Step 2: Search with the particular PCD location of the required iview to find its short URL,

 

But somehow when I searched the the pcd location, no values are fetched,

 

Is there any pre-workouts required before we try retrieve short URLs from system admin?

 

Thank you!!

KM development:mgr.getEventBroker().register

$
0
0


hi ,

 

I would like to know, what the different event registered in Km repository serivce does.

 

ResourceEvent.PROPERTY_SET_TEMPLATE

ResourceEvent.CREATE_CHILD_TEMPLATE

ResourceEvent.GET_TEMPLATE

 

Is there a document or link which explains each of theses constant does?

 

Thank and Regards,
Sajith

KM - EP : Delete file after and of its lifetime with repository services

$
0
0

Dear all,

 

I created two repository services: 1st to set document's lifetime of 1 day, 2nd to delete document at end of validity event. Both services are developed in NWDS 7.0.11 and deployed on SAP EP NW 7.01 sp5 and they are running. But, I see nothing happened when testing.

 

KM Content structure

/root

     /folder

               /subfolders

                                  document1

                                  document2 ......

 

Thanks a lot for advising.

 

these are the 2 services code:

 

1/ To set lifetime:

 

packagecom.chorus;

 

importjava.text.ParseException;

importjava.text.SimpleDateFormat;

importjava.util.Calendar;

importjava.util.Collection;

importjava.util.Date;

 

importcom.sap.engine.lib.xml.signature.elements.Object;

importcom.sap.netweaver.bc.rf.util.event.IEventBroker;

importcom.sapportals.portal.prt.component.IPortalComponentRequest;

importcom.sapportals.portal.prt.logger.ILogger;

importcom.sapportals.portal.prt.runtime.PortalRuntime;

importcom.sapportals.portal.security.usermanagement.UserManagementException;

importcom.sapportals.wcm.IWcmConst;

importcom.sapportals.wcm.WcmException;

importcom.sapportals.wcm.crt.component.IReconfigurable;

importcom.sapportals.wcm.crt.component.StartupException;

importcom.sapportals.wcm.crt.configuration.ConfigurationException;

importcom.sapportals.wcm.crt.configuration.IConfiguration;

importcom.sapportals.wcm.repository.ICollection;

importcom.sapportals.wcm.repository.IResource;

importcom.sapportals.wcm.repository.IResourceContext;

importcom.sapportals.wcm.repository.IResourceFactory;

importcom.sapportals.wcm.repository.IResourceList;

importcom.sapportals.wcm.repository.IResourceListIterator;

importcom.sapportals.wcm.repository.ResourceContext;

importcom.sapportals.wcm.repository.ResourceException;

importcom.sapportals.wcm.repository.ResourceFactory;

importcom.sapportals.wcm.repository.manager.IRepositoryManager;

importcom.sapportals.wcm.repository.manager.IResourceEvent;

importcom.sapportals.wcm.repository.manager.IResourceEventReceiver;

importcom.sapportals.wcm.repository.manager.ResourceEvent;

importcom.sapportals.wcm.repository.service.AbstractRepositoryService;

importcom.sapportals.wcm.repository.service.IRepositoryService;

importcom.sapportals.wcm.repository.service.IRepositoryServiceFactory;

importcom.sapportals.wcm.repository.service.ServiceNotAvailableException;

importcom

.sapportals

.wcm

.repository

.service

.timebasedpublish

.ITimebasedPublishServiceManager;

importcom

.sapportals

.wcm

.repository

.service

.timebasedpublish

.TimebasedPublishConstants;

importcom.sapportals.wcm.util.events.IEvent;

importcom.sapportals.wcm.util.uri.RID;

importcom.sapportals.wcm.util.usermanagement.WPUMFactory;

 

// implements IMyNewRepositoryService interface

/*

Note: IReconfigurable and IResourceEventReceiver interfaces are optional

*/

 

publicclassRepServiceAEK

extendsAbstractRepositoryService

implementsIReconfigurable,IResourceEventReceiver{

 

privatestaticfinalStringTYPE="RepServiceAEK";

 

privateRIDrid=RID.getRID("/BIuserhome/");

 

privateCollectionrepositoryManagers;

 

IPortalComponentRequestrequest=null;

 

publicRepServiceAEK(){

super();

// Do not add code here. Add it to startUpImpl() instead

}

 

publicStringgetServiceType(){

returnRepServiceAEK.TYPE;

}

 

protectedvoidstartUpImpl(CollectionrepositoryManagers)

throwsConfigurationException,StartupException{

// implement this method as follows:

// - Verify configuration data

// - Get references to other needed (global) services

// - Check whether other repository services (this service depends on) are also assigned to the repository managers

// - Usually the service registers itself for certain events at all repository managers

//

try{

 

com.sapportals.portal.security.usermanagement.IUseruser=

WPUMFactory.getUserFactory().getEP5User(request.getUser());

 

IResourceFactoryresourceFactory=ResourceFactory.getInstance();

IResourceContextcontext=newResourceContext(user);

// home folder

IResourceresource=resourceFactory.getResource(rid,context);

if(resource.isCollection()){

ICollectionparent=(ICollection)resource;

// user's folder 

IResourceListchildren=parent.getChildren();

if(children.size()>0){

IResourceListIteratoriter=children.listIterator();

while(iter.hasNext()){

IResourceelement=(IResource)iter.next();

addRepositoryAssignment((IRepositoryManager)element);

}

}

}

}catch(ResourceExceptione){

// TODO Auto-generated catch block

e.printStackTrace();

}catch(UserManagementExceptione1){

// TODO Auto-generated catch block

e1.printStackTrace();

}catch(NullPointerExceptione2){

// TODO: handle exception

e2.getMessage();

}catch(SecurityExceptione3){

// TODO Auto-generated catch block

e3.printStackTrace();

}

}

 

protectedvoidshutDownImpl(){

 

try{

com.sapportals.portal.security.usermanagement.IUseruser=

WPUMFactory.getUserFactory().getEP5User(request.getUser());

 

IResourceFactoryresourceFactory=ResourceFactory.getInstance();

IResourceContextcontext=newResourceContext(user);

//home folder

IResourceresource=resourceFactory.getResource(rid,context);

if(resource.isCollection()){

ICollectionparent=(ICollection)resource;

// user's folder 

IResourceListchildren=parent.getChildren();

if(children.size()>0){

IResourceListIteratoriter=children.listIterator();

while(iter.hasNext()){

IResourceelement=(IResource)iter.next();

addRepositoryAssignment((IRepositoryManager)element);

}

}

}

}catch(ResourceExceptione){

// TODO Auto-generated catch block

e.printStackTrace();

}catch(UserManagementExceptione1){

// TODO Auto-generated catch block

e1.printStackTrace();

}catch(WcmExceptione2){

// TODO Auto-generated catch block

e2.printStackTrace();

}

 

}

 

protectedvoidaddRepositoryAssignment(IRepositoryManagermgr)

throwsServiceNotAvailableException{

// Implement this method: Usually the service registers itself for certain events at the repository manager.

try{

mgr.getEventBroker().register(

this,

ResourceEvent.CREATE_CHILD_TEMPLATE);

}catch(WcmExceptione){

// TODO: handle exception

e.printStackTrace();

}

 

}

 

/**

*@paramevent

*@paramobject

*/

privatevoidResourceEvent(ResourceEventevent,Objectobject){

// TODO Auto-generated method stub

 

}

 

protectedvoidremoveRepositoryAssignment(IRepositoryManagermgr)

throwsWcmException{

// Implement this method: Usually the service must unregister itself as an event handler.

try{

mgr.getEventBroker().unregister(

this,

ResourceEvent.CREATE_CHILD_TEMPLATE);

}catch(WcmExceptione){

// TODO: handle exception

e.printStackTrace();

}

 

}

 

publicvoidreconfigure(IConfigurationconfig)

throwsConfigurationException{

this.stateHandler.preReconfigure();

// check the new configuration data

/*

try {

}

catch (ConfigurationException ex) {

this.stateHandler.postReconfigure(ex);

throw ex;

}

*/

this.config=config;

this.stateHandler.postReconfigure();

}

 

publicvoidreceived(IEventevent){

 

ILoggerlogger=PortalRuntime.getLogger();

logger.severe(TYPE,"Start RepServiceAEK");

 

if(eventinstanceofIResourceEvent){

IResourceEventresourceEvent=(IResourceEvent)event;

 

if(resourceEvent.getResource()==ResourceEvent.CREATE_CHILD_TEMPLATE){//getType()

try{

IResourceresource=

(IResource)resourceEvent.getResource();//getParameter()

IRepositoryServiceFactoryrepServiceFactory=

ResourceFactory.getInstance().getServiceFactory();

IRepositoryServicerepService=

repServiceFactory.getRepositoryService(

resource,

IWcmConst.TIMEBASED_PUBLISH_SERVICE);

ITimebasedPublishServiceManagertbpService=

(ITimebasedPublishServiceManager)repService;

 

resource.deleteProperty(

TimebasedPublishConstants.getValidFromPropName());

resource.deleteProperty(

TimebasedPublishConstants.getValidToPropName());

 

SimpleDateFormatsdf=

newSimpleDateFormat("mm/dd/yyyy");

// start date

Calendarcal=Calendar.getInstance();

Datedate=newDate();

cal.setTime(date);

Stringcurrdate=sdf.format(date);

 

// end date

cal.add(Calendar.DATE,1);

Datedate1=cal.getTime();

Stringenddate=sdf.format(date1);

 

DatevalidFrom=sdf.parse(currdate);

DatevalidTo=sdf.parse(enddate);

 

tbpService.saveValidDate(resource,validFrom);

tbpService.saveInvalidDate(resource,validTo);

 

}catch(ResourceExceptione){

// TODO Auto-generated catch block

e.printStackTrace();

}catch(ParseExceptione){

// TODO Auto-generated catch block

e.printStackTrace();

}catch(WcmExceptione){

// TODO Auto-generated catch block

e.printStackTrace();

}

 

}

}

 

logger.severe(TYPE,"End RepServiceAEK");

}

 

}

 

2/ to delete document

 

packagecom.chorus;

 

importjava.util.Collection;

importjava.util.Date;

 

importcom.sapportals.portal.prt.component.IPortalComponentRequest;

importcom.sapportals.portal.prt.logger.ILogger;

importcom.sapportals.portal.prt.runtime.PortalRuntime;

importcom.sapportals.portal.security.usermanagement.UserManagementException;

importcom.sapportals.wcm.IWcmConst;

importcom.sapportals.wcm.WcmException;

importcom.sapportals.wcm.crt.component.IReconfigurable;

importcom.sapportals.wcm.crt.component.StartupException;

importcom.sapportals.wcm.crt.configuration.ConfigurationException;

importcom.sapportals.wcm.crt.configuration.IConfiguration;

importcom.sapportals.wcm.repository.ICollection;

importcom.sapportals.wcm.repository.IResource;

importcom.sapportals.wcm.repository.IResourceContext;

importcom.sapportals.wcm.repository.IResourceFactory;

importcom.sapportals.wcm.repository.IResourceList;

importcom.sapportals.wcm.repository.IResourceListIterator;

importcom.sapportals.wcm.repository.ResourceContext;

importcom.sapportals.wcm.repository.ResourceException;

importcom.sapportals.wcm.repository.ResourceFactory;

importcom.sapportals.wcm.repository.manager.IRepositoryManager;

importcom.sapportals.wcm.repository.manager.IResourceEvent;

importcom.sapportals.wcm.repository.manager.IResourceEventReceiver;

importcom.sapportals.wcm.repository.service.AbstractRepositoryService;

importcom.sapportals.wcm.repository.service.IRepositoryService;

importcom.sapportals.wcm.repository.service.IRepositoryServiceFactory;

importcom.sapportals.wcm.repository.service.ServiceNotAvailableException;

importcom

.sapportals

.wcm

.repository

.service

.timebasedpublish

.ITimebasedPublishEvent;

importcom

.sapportals

.wcm

.repository

.service

.timebasedpublish

.ITimebasedPublishServiceManager;

importcom

.sapportals

.wcm

.repository

.service

.timebasedpublish

.wcm

.TimebasedPublishEvent;

importcom.sapportals.wcm.util.events.IEvent;

importcom.sapportals.wcm.util.uri.RID;

importcom.sapportals.wcm.util.usermanagement.WPUMFactory;

 

// implements IMyNewRepositoryService interface

/*

Note: IReconfigurable and IResourceEventReceiver interfaces are optional

*/

 

publicclassRepServiceAEKStop

extendsAbstractRepositoryService

implementsIReconfigurable,IResourceEventReceiver{

 

privatestaticfinalStringTYPE="RepServiceAEKStop";

 

privateRIDrid=RID.getRID("/BIuserhome/");

 

privateCollectionrepositoryManagers;

 

IPortalComponentRequestrequest=null;

publicRepServiceAEKStop(){

super();

// Do not add code here. Add it to startUpImpl() instead

}

 

publicStringgetServiceType(){

returnRepServiceAEKStop.TYPE;

}

 

protectedvoidstartUpImpl(CollectionrepositoryManagers)

throwsConfigurationException,StartupException{

// implement this method as follows:

// - Verify configuration data

// - Get references to other needed (global) services

// - Check whether other repository services (this service depends on) are also assigned to the repository managers

// - Usually the service registers itself for certain events at all repository managers

//

try{

 

com.sapportals.portal.security.usermanagement.IUseruser=

WPUMFactory.getUserFactory().getEP5User(request.getUser());

 

IResourceFactoryresourceFactory=ResourceFactory.getInstance();

IResourceContextcontext=newResourceContext(user);

// home folder

IResourceresource=resourceFactory.getResource(rid,context);

if(resource.isCollection()){

ICollectionparent=(ICollection)resource;

// user's folder 

IResourceListchildren=parent.getChildren();

if(children.size()>0){

IResourceListIteratoriter=children.listIterator();

while(iter.hasNext()){

IResourceelement=(IResource)iter.next();

addRepositoryAssignment((IRepositoryManager)element);

}

}

}

 

}catch(ResourceExceptione){

// TODO Auto-generated catch block

e.printStackTrace();

}catch(UserManagementExceptione1){

// TODO Auto-generated catch block

e1.printStackTrace();

}catch(NullPointerExceptione2){

// TODO: handle exception

e2.getMessage();

}catch(SecurityExceptione3){

// TODO Auto-generated catch block

e3.printStackTrace();

}

}

 

protectedvoidshutDownImpl(){

try{

com.sapportals.portal.security.usermanagement.IUseruser=

WPUMFactory.getUserFactory().getEP5User(request.getUser());

 

IResourceFactoryresourceFactory=ResourceFactory.getInstance();

IResourceContextcontext=newResourceContext(user);

//      home folder

IResourceresource=resourceFactory.getResource(rid,context);

if(resource.isCollection()){

ICollectionparent=(ICollection)resource;

// user's folder 

IResourceListchildren=parent.getChildren();

if(children.size()>0){

IResourceListIteratoriter=children.listIterator();

while(iter.hasNext()){

IResourceelement=(IResource)iter.next();

addRepositoryAssignment((IRepositoryManager)element);

}

}

}

}catch(ResourceExceptione){

// TODO Auto-generated catch block

e.printStackTrace();

}catch(UserManagementExceptione1){

// TODO Auto-generated catch block

e1.printStackTrace();

}catch(WcmExceptione2){

// TODO Auto-generated catch block

e2.printStackTrace();

}

}

 

protectedvoidaddRepositoryAssignment(IRepositoryManagermgr)

throwsServiceNotAvailableException{

// Implement this method: Usually the service registers itself for certain events at the repository manager.

try{

mgr.getEventBroker().register(

this,

TimebasedPublishEvent.EVENT_TYPE_STOP_TEMPLATE);

}catch(WcmExceptione){

// TODO: handle exception

e.printStackTrace();

}

}

 

protectedvoidremoveRepositoryAssignment(IRepositoryManagermgr)

throwsWcmException{

// Implement this method: Usually the service must unregister itself as an event handler.

try{

mgr.getEventBroker().unregister(

this,

TimebasedPublishEvent.EVENT_TYPE_STOP_TEMPLATE);

}catch(WcmExceptione){

// TODO: handle exception

e.printStackTrace();

}

}

 

publicvoidreconfigure(IConfigurationconfig)

throwsConfigurationException{

this.stateHandler.preReconfigure();

// check the new configuration data

/*

try {

}

catch (ConfigurationException ex) {

this.stateHandler.postReconfigure(ex);

throw ex;

}*/

 

this.config=config;

this.stateHandler.postReconfigure();

}

 

publicvoidreceived(IEventevent){

 

ILoggerlogger=PortalRuntime.getLogger();

logger.severe(TYPE,"Start RepServiceAEKStop");

 

if(eventinstanceofIResourceEvent){

IResourceEventresourceEvent=(IResourceEvent)event;

 

if(resourceEvent.getType()//getType()

==ITimebasedPublishEvent.EVENT_TYPE_STOP){

try{

IRepositoryServiceFactoryrepServiceFactory;

IResourceresource=

(IResource)resourceEvent.getResource();//getParameter()

repServiceFactory=

ResourceFactory.getInstance().getServiceFactory();

IRepositoryServicerepService=

repServiceFactory.getRepositoryService(

resource,

IWcmConst.TIMEBASED_PUBLISH_SERVICE);

ITimebasedPublishServiceManagertbpService=

(ITimebasedPublishServiceManager)repService;

 

Datecurrdate=newDate();

DatevalidTo=newDate();

 

validTo=tbpService.readInvalidDate(resource);

 

if(currdate.getTime()==validTo.getTime()){

resource.delete();

}

 

}catch(ResourceExceptione){

// TODO Auto-generated catch block

e.printStackTrace();

}catch(WcmExceptione1){

// TODO Auto-generated catch block

e1.printStackTrace();

}

}

 

}

 

logger.severe(TYPE,"End RepServiceAEKStop");

}

}

 

 


Display sap ui 5 chart [ bar chart] using data from the webservice .

$
0
0

HI All,
     i am using report engine webserive to get the data from the server but is there any way to display these data in a bar chart i have found a sample code to represent the static data in the control option but i did;nt find any code how fill the chart dynamicaly ,

if any one has  any idea of this same please share with me.
Here i attached the code and am able to access only the ID but i can't access the data which is inside the JSON object with in another JSON Object please help me .

<script>
  var str;
  function buttonClicked(oControlEvent)
    {
        alert('it Worked');
        var url = "test.jsp";
        alert('After url')
    req = new XMLHttpRequest();
    if (req){
        req.onreadystatechange = processReqChange;
        req.open("GET", url, true);
        req.send(null);
         }
    else{
        alert("Failed to Create XML Request Object.");
    }
    function processReqChange(){
    if (req.readyState == 4){
        if (req.status == 200){
            var response;
            document.getElementById("myxml").innerHTML = req.responseText;
            str = req.responseText
            alert(str);
            alert("here it comes");
   oLayout.createRow(oButton2);
            oLayout.placeAt("uiArea1");
        }
    }
}
    };
  function showChart(oControlEvent)
    {
   var spl = str.split("rctx");
   alert(spl.length);
   var splData = spl[1].split(");</script");
   var data = '{"rctx'+splData[0];
   alert(data);
   var obj = eval ("(" + data + ")");
   alert(obj.rctx[0].datapath[1].n);
   //The function for the graph starts here
  
  
   var oModel = new sap.ui.model.json.JSONModel({
    businessData : obj.rctx
   }); 
   var oDataset = new sap.viz.ui5.data.FlattenedDataset({

    dimensions : [
     {
      axis : 1,
      name : 'Id',
      value : "{datapath[{'id'}.v]}"
     }
    ],

    measures : [
     {
      name : 'Sales Revenue',
      value : '{id}'
     },
     /* {
      name : 'Rank',
      value : '{rank}'
     },  */
//      {
//       name : 'Fouls',
//       value : '{fouls}'
//      }
    ],
   
    data : {
     path : "/businessData"
    }
   
   });

   var oBarChart = new sap.viz.ui5.Bar({
    width : "80%",
    height : "400px",
    plotArea : {
    },
    title : {
     visible : true,
     text : 'Detailed Report'
    },
   

    dataset : oDataset
   });

   oBarChart.setModel(oModel);
   oBarChart.placeAt("uiArea");
       
    };
  </script>


Thanks & Regards

SUJIL T

Change thread author in EP new forum.

$
0
0

Hi, all:

If I have administrator and moderator privilege in my EP forum (jive),

Can I change a thread author to another one?

And can I enable some user ID watch some category, forum, or thread?

 

thanks for reply.


Integration of DFS(Distributed File sharing) windows servers into KM

$
0
0

Dear All,

 

We wanted to Integrate of Windows File Server into the SAP KM platform using WebDAV

 

repository manager with Kerberos authentication.

 

But the windows file server to be integrated is a DFS(Distributed File sharing)location. If

 

it is DFS, does it support IIS installation and make the windows file server/s a webDAV compliant

 

repository ? Does it allow Kerberos based authentication?

 

Right now, I am unable to access the windows file server files with http://<dfs/files> from a browser. I

 

have got the direct location of one of the DFS file server for which also http:// access is not

 

available. http://file1/files is not available.

 

Expectation is that after IIS is installed/enabled, the DFS should be accessible via http://

does it work this way? Did anybody integrated DFS file servers into Portal KM using WebDAV repository conection? We want to index subsequently and that will be our most usage of this Windows file server from Portal.

 

Regards,

Isvarya

convert xml to html

$
0
0

Hi All,

 

I am trying to convert XML file to HTML File. I don’t know how to create the XSLT filter for my XML file.

 

Can any one explain the steps to be followed?

Thanks in Advance

Quick poll iview some times disappeared the Quick poll admintrator(Production Portal)

$
0
0

Hi,

 

 

Quick polls are working in my production portal, but some times quick poll iview disappeared in quick poll administrator. and some times not able to see the polls in quick poll survey

 

we are getting below the error

 

No quick poll is currently available

 

PFA. Kindly help me in resoloving this.

 

 

QuickPoll_survevy1.jpg

regards

Srinivas

Portal 7.4 with ECC-HR 6.0, EHP6 & SRM 7.0, EHP3

$
0
0

Hi Experts,

 

I am looking for some guidance regarding SAP Netweaver Portal Implementation with the below landscape.

 

  • SAP NetWeaver Portal 7.4 with HCM (ESS/MSS) and SRM business packages.
  • ECC-HR 6.0, EHP6
  • SRM 7.0, EHP3

 

I would like to understand the basic setup for the business packages implementations for the above scenario from the Portal point of view.

 

For HCM Content Integration:

  1. We are going to usethe following Business Packages of ESS/MSS with WDA flavor.
    • BP ERP ESSWDA 1.50
    • BP ERP05 COMMON PARTS 1.61
    • BP MSS ADDON 1.0
  2. I am also interested to know about Netweaver Business client (NWBC) and PFCG Roles configurations and how we can integrate all of this into Portal.
  3. What are the standard services that needs to be configured from HR system.
  4. Launchpad configurations for the Home Page settings.
  5. What are the Workflow options available. is POWL a recommended choice from SAP? or Do we still require UWL with ABAP workflow?

 

For SRM Content Integration:


  1. What business Packages are required to be imported in Portal system.
  2. What are the Basic steps to be carried out from the Portal point of view to enable the standard SRM functions in Portal.
  3. Configurations related to POWL and settings in Portal.


Regards,

Shreyas Pandya

 


How to connect WebDav URL in Windows 7 to a Folder of KM.

$
0
0

Hi,

 

I have EP 7.0 SP 21.

 

When I tried to map a network drive in Windows Explorer  to the WEBDAV URL of the Portal , don´t accept the URL. It said the folder is not valid. I know are problem with WebDAV in Windows 7. but not are a solution to this yet.

 

Thanks in advance.

 

Viewing all 1826 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>