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

HTTP API to Content Server

$
0
0

Hello All!

I search HTTP API to Content Server and find only API for 0045 protocol version. That API description document contain's only document management function.

Can somebody help me to obtain documentation for full description of Content Server command's?

Also it'll be useful to get API 0046 version document.


LSOCP 634 REPOSITORY 7.31

$
0
0

Hello to all,

 

This is my first start of discussion so please excuse me if i do something wrong.

 

We're having problems with the LSO when the repository is on a 7.31 netweaver portal.

 

If we only change the backend configuration to point to the old repository that was on 7.01 netweaver portal, everything is ok.

 

More details about the problem with 7.31 netweaver portal:

 

For all files (js,css) that are above ~ 32KB, we get response from SYSTEM_HOST_CP/lms/media/... 200 OK with content-length 0.

For all files below 32KB everything is ok.

 

Looks like a problem with compression.

We've disabled compression on 7.31 netweaver portal that's hosting LSO repository but that didn't help at all. We've tested by modifing the HTTP Provider Service and adding to NeverCompressList *.* + restart. And still no luck.

 

Any help will be appreciated.

 

Greets,

Cristi

Web Page Composer 2.0 (on 7.3 portal)

$
0
0

Hi all

 

Does any of you know how to perform the following tasks in a SAP NetWeaver 7.3 Portal with Web Page Composer 2.0 configured?

 

1) How to integrate an iview into a WPC page? In WPC 1.0 you could do this by creating an entry point that pointed towards a folder in the PCD structure.

 

2) How to create an iView that points directly to a WPC page? In WPC 1.0 you would need to create such an iview to include a single specific WPC page into a role. But with the new structure of WPC 2.0, it is then possible to integrate the published WPC page from the PCD-structure directly into a role?

 

Best regards,

Martin Søgaard

 

WPC belongs to KM so the thread has been moved by moderator

 

Edited by: Anja Engelhardt on Jan 16, 2012 1:43 PM

 

Problem creating Index..

$
0
0

Hi All,

Am trying to create an index with the crawler param: standard. I assigned a data source from the built in repository /documents/testDirectory, which has around 20 files. when i go to the display queues i find the queue status as idle and no documents have been processed. In the crawler parameter the "standard" param is activated.

Let me know what else need to be done

 

Thanks in advance

Time Based Publishing not supported in WPC

$
0
0

Hi all,

 

 

I want to implement Time Based Publishing for some WPC resources (for example: web articles or paragraphs, ie: not for pages, but resources).

 

Sadly, it seems that is not allowed. There is the following note: 1310768 - Time Based Publishing not supported in WPC.

 

Does anyone know an alternative way to achieve this TBP behavior? I thought developing some task scheduler service, or perhaps a namespace filter.... , some help will be thanked!

 

Question aside: I don't understand why standard TBP is not supported, being a WPC's web article a standard KM resource. Don't you find strange?

 

Thanks in advance,

 

Best regards,

 

Marcelo

New version of Portal Drive

$
0
0

Hi All,

 

It appears that there's a newer version of the Portal Drive out there than we're using. The newer version is 4.5.7651. Can anyone provide for me the link to use to download this new version? For some reason, I'm having difficulty finding it.

 

Thanks!

 

-Stephen Spalding

Cannot see TinyMCE Editor in the Editor Component

$
0
0

I implemented the TinyMCE from the Link: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0983d9b-327e-2e10-1aac-b33328877548?QuickLink=index&overridelayout=true&52596169587931

 

But I cannot find TinyMCE Editor in the I cann't see the tinyMCE in System Administrator => System Configuration => Knowledge Management => Content Management => Web Page Composer => Editor => Editor Components => Components.. I checked the article from Boris Magocsi  http://www.sdn.sap.com/irj/scn/go/portal/prtroot/com.sap.nw.wpc.runtime.docs/library/portal/_portal/_s-u/Using%20the%20TinyMCE%20Javascript%20Content%20Editor%20in%20Web%20Page%20Composer.pdf

 

It should set one XML file to register the TinyMCE editor in the WPC framework. The question I want to ask for guru is the XML file is a requirement or where to put it? Otherwise I cannot find it in Editor Components area. Thanks in advance.

400 Session timed out - please log in again

$
0
0

Hi experts,

 

after upgrading our E-Recruiting to 7.4, we are faced with a strange behavior of our NetWeaver Portal (7.02):

 

When you open a WD4A-Application via Portal, the application is started correctly. But if you open the application again (second time), you receive an error-page, which says "400 Session timed out - please log in again".

 

BUT, it just keeps getting better!!! When you navigate again to the application (third time), everything works fine. Fourth time, you get the error page again (and so on...)

 

So, what the hell is going on here?!? HTTP-Trace shows nothing special....

 

Regards

 

Michael


How to navigate through an URL iview in a light framework page?

$
0
0

Hi all gurus

 

In short my question is how to present a number of images that links to different applications/pages on a front page using the light framwork page?

 

With the light framework page we said goodbye to the epcm, and because of that I can no longer use parent.EPCM.doNavigate('ROLES:...') in the html-pages that I refer to in a html-file. The content of the html-file can then be presented through an URL-iview that can be fitted anywhere on the portal frontpage. But I guess an URL-iview can only have URL as isolation method and because of that it will be presented in its own IFRAME, correct?

 

Now, I have read that I should use the nav-url functionality instead of epcm, but hos is this done?

 

If I use the following code in my referenced html-file:

 

<!-- <div class="left"><A HREF="#" target="_self" onClick="javascript:parent.location.href='/irj/portal?NavigationTarget=navurl://0557f8eb254293e8d6f5a3b69bb9f168'"><IMG SRC="/irj/go/km/docs/etc/public/email.jpg" border="0"></A></div> -->

 

the user is sent to the correct iview on the correct page, but the detailed navigation does for some reason not work!!?

 

But if I use this code:

 

<!-- <div class="left"><A HREF="#" target="_self" onClick="javascript:parent.location.href='/irj/portal/email'"><IMG SRC="/irj/go/km/docs/etc/public/email.jpg" border="0"></A></div> -->

 

where email is a quicklink to the iview, it all works.

 

Can someone please help me understand this behavior and let me know of a better way to place clickable images on a light frontpage in order to avoid the extra IFRAME and thus more round trips?

 

Kind regards,

Martin

Error when creating content repository

$
0
0

I'm NOT able to create a content repository by csadmin and oac0 (tcd)

 

I get the following error :

 

HTTP error: 404 Not Found  Cannot create Configuration of Repository ZR_R3D_DOC

HTTP error: 500 Internal Server Error Cannot create Repository: Configuration profile for Repository  ZR_R3D_DOC unknown

 

Any hits would be greatly appreciated. Thx

 

Sheikh

How to move folders and files in km folder to another Portal

CS ADMIN - Content repository

$
0
0

Hi All,

 

I have created an content repository in the name of 09 and tested the connection was successfull,

but when i click the cs admin ,there the content repository status is running but in the

bottom tab i am getting an information message

 

HTTP error: 501 Not Implemented  ICS:

003: The ArchiveLink command ?adminContRep?is not supported in this scenario

Message no. CMS025

Diagnosis

Error in accessing via HTTP

501 Not Implemented

ICS:5003: The ArchiveLink command ?adminContRep?is not supported in this scenario.

 

 

what is this message for is anything wrong in the settings or any parameter missing, please any help on this.

 

regards,

Mans.

Transport KM rooms as entry point for broadcasting from Portal 7.01 to Portal 7.4 possible?

$
0
0

Hallo together,

 

is it possible to transport entry points (for broadcasting) from one portal to another?

 

For our upgrade BW 7.01 to BW 7.4 we want to transport the KM Content (including the rooms).

Transporting the rooms and room structures is no problem, but the transported rooms are not visible in ENTRY POINTS -> My Room Folders.

Only rooms that are newly created in the 7.4 Portal are visible in that folder.

 

Is there are way to make the transported rooms also visible there?

 

Thanks and best regards!

Christian

Reg:Displaying of Image in XML form directly..

$
0
0

Hi All

 

I am able to paste the image in the alert text and save .But its getting displayed in the Link form .when i am viewing it .

How to make the image displayed directly instead of displaying it in the link form.

 

Alert.PNG

 

display.PNG

 

 

Thanks & Regards

Deepika

Dynamically setting KM folder permissions

$
0
0

Hi,

 

I am trying to dynamically set KM folder permission. I am trying to give read access to a user using the below code.

             

Line 1: RID rid = RID.getRID("/documents/SBK");

Line 2: com.sapportals.portal.security.usermanagement.IUser aUser = (com.sapportals.portal.security.usermanagement.IUser) request.getUser().getUser();

Line 3: userId = aUser.getId();

Line 4: IResourceContext resourceContext = new ResourceContext(aUser);

Line 5: ICollection rootResource = (ICollection) ResourceFactory.getInstance().getResource(rid, resourceContext);

Line 6: ICollection userDirResource = rootResource.createCollection(userId, null);

Line 7: IResourceAclManager aclMan = ((IAclSecurityManager) userDirResource.getRepositoryManager().getSecurityManager(userDirResource)).getAclManager();

Line 8: IResourceAcl userDirResourceAcl = aclMan.getAcl(userDirResource);

Line 9: IResourceAclEntry entry = aclMan.createAclEntry((IUMPrincipal) aUser, false, aclMan.getPermission(IAclPermission.ACL_PERMISSION_READ), 2);

Line 10: userDirResourceAcl.addEntry(entry);

 

 

The program is throwing a null error on the line 6

  ICollection userDirResource = rootResource.createCollection(userId, null);

 

 

Am I doing anything wrong in this line ? Can anyone help me fix this code ?

 

thanks

Sudheer


KM - ACL already exists exception

$
0
0


Hi Experts,

 

I have a KM folder where i have 20000 employee documents. The super_admin role has access to this folder. I am trying to set read only permission to each of these files individually to the respective employee.

 

The file name has the user id of the employee( ex: 822091_2014.pdf - belongs to user 822091). I am trying to write a code which loops through the folder read each file name, get the user id and provide read permission to that user to his or her document.

 

To start off with, i have chosen one document ("/documents/Company/SAP_DEV/822091_2014.pdf") as you can see in line 9

(I have still not started to code the logic to loop through folder and read each file name and extract user id from file name).

 

I am only trying to give read only permission to user 822091 to this document ("/documents/Company/SAP_DEV/822091_2014.pdf").

 

My coding is as given below.

However, i am getting AclExistsException. I read from various posts that this could because acl already exists. And, i tried various options mentioned, but i still get the AclExistsException exception. Can you please help?

 

 

 

try 
{   
 com.sapportals.portal.security.usermanagement.IUser serviceUser = 
 WPUMFactory.getServiceUserFactory().getServiceUser("cmadmin_service");
IResourceContext resourceContext = new ResourceContext(serviceUser);
 // Get document 822091_2014.pdf and assign read permission to user 822091
 RID pathRID1 = RID.getRID("/documents/Company/SAP_DEV/822091_2014.pdf");
com.sapportals.wcm.repository.IResource resource =
 ResourceFactory.getInstance().getResource(pathRID1, resourceContext);
com.sapportals.portal.security.usermanagement.IUser user =  WPUMFactory.getUserFactory().getUser("822091");
//get Security Manager 
 ISecurityManager securityManager = 
 resource.getRepositoryManager().getSecurityManager(resource);
//get ACLSecurity Manager
 IResourceAclManager irm =  
 ((IAclSecurityManager)securityManager).getAclManager();   
 //get ResourceAcl
 IResourceAcl iracl = irm.createAcl(resource);   
 //get ACLPermission
 IAclPermission aclperm =  
 irm.getPermission(IAclPermission.ACL_PERMISSION_READ);   
 //create ACL entry 
 IResourceAclEntry iraclentry = irm.createAclEntry(user, false,aclperm,1);
//add ACL entry to ACL
iracl.addEntry(iraclentry);
}   
catch (ResourceException e) {
 wdComponentAPI.getMessageManager().reportException("ResourceException",false);
} 
catch (AclPersistenceException e) 
{
 wdComponentAPI.getMessageManager().reportException("AclPersistenceException",false);
} 
catch (NotAuthorizedException e) 
{
 wdComponentAPI.getMessageManager().reportException("NotAuthorizedException",false);
} 
catch (AclExistsException e) 
{
 wdComponentAPI.getMessageManager().reportException("AclExistsException",false);
} 
catch (InvalidClassException e)
{
 wdComponentAPI.getMessageManager().reportException("InvalidClassException",false);
} 
catch (AlreadyAssignedToAclException e) 
{
 wdComponentAPI.getMessageManager().reportException("AlreadyAssignedToAclException",false);
} 
catch (PermissionNotSupportedException e) 
{
 wdComponentAPI.getMessageManager().reportException("PermissionNotSupportedException",false);
} 
catch (UnsupportedOperationException e) 
{
wdComponentAPI.getMessageManager().reportException("UnsupportedOperationException",false);
} 
catch (UserManagementException e) 
{
 wdComponentAPI.getMessageManager().reportException("UserManagementException",false);
}

NoAccessException from authoring tool.

$
0
0

Hi All,

 

Here iam getting the error, When ever iam trying to access the master repository from authoring tool, the user credentials are passed correctly to the repository. If i try to access the URL directly with those credentials server is accepting the user inside but from the authoring tool the same is not happening.

 

Same user id and password exiats in KM Repository and backend r3/ecc.

 

Error details.

 

No access: 200

-> Please verify the settings: WebDavSlide-Repository: ServerURL=http://blr-depo-ed1:50000/irj/go/km/docs/documents/LSO/

com.sap.hcm.ls.shared.repository.access.NoAccessException: No access: 200

-> Please verify the settings: WebDavSlide-Repository: ServerURL=http://blr-depo-ed1:50000/irj/go/km/docs/documents/LSO/

 

at com.sap.hcm.ls.shared.repository.access.wdslide.WDRepository.checkAccessability(WDRepository.java:404)

 

at com.sap.hcm.ls.shared.repository.access.Repository.checkOnlineState(Repository.java:120)

 

at com.sap.hcm.ls.las.repository.explorer.ConfigContext.checkMasterAccess(ConfigContext.java:879)

 

at com.sap.hcm.ls.las.repository.explorer.ConfigContext.goCMOnlineCore(ConfigContext.java:859)

 

at com.sap.hcm.ls.las.repository.explorer.ConfigContext.goCMOnline(ConfigContext.java:761)

 

at com.sap.hcm.ls.las.repository.explorer.ConfigContext.goOnline(ConfigContext.java:733)

 

at com.sap.hcm.ls.las.repository.explorer.ExplorerControl.doGoOnline(ExplorerControl.java:201)

 

at com.sap.hcm.ls.las.repository.explorer.ExplorerGui$43.actionPerformed(ExplorerGui.java:1346)

 

at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)

 

at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)

 

at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)

 

at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)

 

at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)

 

at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)

 

at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)

 

at java.awt.Component.processMouseEvent(Component.java:5100)

 

at java.awt.Component.processEvent(Component.java:4897)

 

at java.awt.Container.processEvent(Container.java:1569)

 

at java.awt.Component.dispatchEventImpl(Component.java:3615)

 

at java.awt.Container.dispatchEventImpl(Container.java:1627)

 

at java.awt.Component.dispatchEvent(Component.java:3477)

 

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)

 

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)

 

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)

 

at java.awt.Container.dispatchEventImpl(Container.java:1613)

 

at java.awt.Window.dispatchEventImpl(Window.java:1606)

 

at java.awt.Component.dispatchEvent(Component.java:3477)

 

at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)

 

at com.sap.hcm.ls.las.ide.CatchQueue.dispatchEvent(EditorFrame.java:1668)

 

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)

 

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)

 

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)

 

at java.awt.Dialog$1.run(Dialog.java:540)

 

at java.awt.Dialog.show(Dialog.java:561)

 

at java.awt.Component.show(Component.java:1133)

 

at java.awt.Component.setVisible(Component.java:1088)

 

at com.sap.hcm.ls.las.repository.explorer.ExplorerControl.start(ExplorerControl.java:1684)

 

at com.sap.hcm.ls.las.repository.adapter.auth.AuthRepAdapter.showRepositoryExplorer(AuthRepAdapter.java:1322)

 

at com.sap.hcm.ls.las.ide.RepositoryAccess.showRepositoryExplorer(RepositoryAccess.java:155)

 

at com.sap.hcm.ls.las.ide.EditorMenu.toolsmenu_repexplorer(EditorMenu.java:1070)

 

at com.sap.hcm.ls.las.ide.EditorMenu$57.actionPerformed(EditorMenu.java:132)

 

at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)

 

at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)

 

at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)

 

at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)

 

at com.sap.hcm.ls.shared.util.swing.help.OnlineHelpButtonModel.setPressed(OnlineHelpButtonModel.java:53)

 

at javax.swing.AbstractButton.doClick(AbstractButton.java:289)

 

at com.sap.plaf.frog.FrogMenuItemUI$MouseInputHandler.mouseReleased(FrogMenuItemUI.java:803)

 

at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)

 

at java.awt.Component.processMouseEvent(Component.java:5100)

 

at java.awt.Component.processEvent(Component.java:4897)

 

at java.awt.Container.processEvent(Container.java:1569)

 

at java.awt.Component.dispatchEventImpl(Component.java:3615)

 

at java.awt.Container.dispatchEventImpl(Container.java:1627)

 

at java.awt.Component.dispatchEvent(Component.java:3477)

 

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)

 

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)

 

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)

 

at java.awt.Container.dispatchEventImpl(Container.java:1613)

 

at java.awt.Window.dispatchEventImpl(Window.java:1606)

 

at java.awt.Component.dispatchEvent(Component.java:3477)

 

at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)

 

at com.sap.hcm.ls.las.ide.CatchQueue.dispatchEvent(EditorFrame.java:1668)

 

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)

 

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)

 

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)

 

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)

 

at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

 

Please help me on this.

 

Thanks and Regards,

 

Mahee.

Content Management->Content Exchange -->Package upload issue

$
0
0

Hi Team,

 

I have download the ICE package in QAS portal and trying to upload the package to other system while doing facing below error.

 

System Error

 

An exception occurred during the program execution.

 

com/sapportals/portal/security/usermanagement/UMFactory

 

But haven't face any issue for few folders but facing the few folders .

 

Attached the Error Screenshot.

 

please help me any inputs to re-solve the issue.

 

Thanks & Regards,

venkat

The navigation panel is not display properly in sap portal

$
0
0

i have problem in portal for naviogation panel

 

the list is cut out in navigation panel as attechment Screenshot.

 

 

Please Give the solutions fot is?

UI element-Image is not showing JPEG images

$
0
0

Hi Gurus

   i am facing a problem while displaying an image in ImageUI,

its not working with JPEG files, also its showing pblm while

displaying gif images with size above some 50KB. Small size gif images are properly working.

 

With Regards

   Vipin

Viewing all 1826 articles
Browse latest View live


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