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

Lifetime on subfolders

$
0
0

Hi I need to activate lifetime on a whole folder structure. It seems like that it’s only possible to activate this feature per folder and not recursively. Can this be true or is there some kind of a work around?

 

Regards

John


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

KM & SAP ArchiveLink Integration

$
0
0

How can I view documents stored via SAP Archive Link (.pdf,´.doc...), such a Received Invoice, using the KM tools?

 

Edited by: Enric Fontanals on May 10, 2010 4:48 PM

 

file does not begin with '%Pdf-'

$
0
0

Hi!!

After uploading a pdf document on our portal, we many times get an error, file does not begin with '%Pdf-'  whenever, one tries to open it. Could you please suggest some remedy for it.

Update index of TREX

$
0
0

Hi experts,

 

we have to update data directly on the SAP database.

 

How can I make these documents to be updated in the TREX database?

 

Regards

 

CHRIS

Portal/KM icons not displaying when accessing portal using different URL..

$
0
0

Hi,

 

We are using Siteminder to access the portal. So while accessing the portal we are using a diiferent url and once the user gets authenticated he can login to the portal.

 

Now while using siteminder url, none of the portal/KM icons are displaing and showing a X. While accessing the portal using normal portal url all the icons are displaying fine.

 

If we check the property of the icons while accessing through normal portal url in which the icons are dsplaying, its showing http://<server>:<port>/irj/go/km/docs/etc/public/mimes/images/standard_folder.gif

 

But while accessing using siteminder url in which the icons are not displaying, its showing

http://<siteminder url>/irj/go/km/docs/etc/public/mimes/images/s_s_ledr.gif

 

Any suggestion what might be the reason. What needs to be done for icons while accessing using a different url.

 

Regards

Deb

Prompt for username/password with Office 2010

$
0
0

Hi,

 

when we open KM documents in Office 2010 we get a prompt for username and password.

I remember that i had the same issue a few years ago with a office version, but i don´t know how i fixed it.

This time the content is called within citrix, so it is possible that e.g. registry values are not set, that fixed the problem locally a few years ago...

The strange thing is that this only happens when opening a document for reading, if i use "edit locally" username/password are not prompted.

 

Could anyone give me a solution for this?

I read  The specified item was not found., but it is from 2005 so I don´t think it should be relevant today, or am I wrong?

 

Our KM version is 7.00 SP16

 

Thanks

 

Regards

Alex

 

WPC 7.3 Exception caught during event invocation

$
0
0

Hi ,

After creation of new page under staging area, when i trying to add the content of the page, selecting the content in the combo box and click on the edit button, showing  Error message "Exception caught during event invocation" all the other properties can able to change the properties(General Properties,Advanced Properties etc) of the page.Please see the attached screen shot WPC Error.jpg

 

Thanks,

Balaji

 

Edited by: Balaji Bodagala on Apr 21, 2011 1:22 PM


Theme issue

$
0
0

Hi experts,

 

I am working in NW7.3 Ehp1. I transported our all DC's  to Quality successfully. In DEV logon page source code shows

 

<html><head><link rel="stylesheet" href="/com.sap.portal.design.portaldesigndata/themes/portal/ Custom_theme /prtl_std/prtl_std_ie6.css?v=7.31.3.0.63" />

 

<script type="text/javascript">

/*HTML Business for Java, 6.0*/

ur_system = {doc : window.document , mimepath :"/com.sap.portal.design.urdesigndata/themes/portal/Custom_theme/common/", stylepath : "/com.sap.portal.design.urdesigndata/themes/portal/Custom_theme/ur/", is508 : false, domainrelaxing : "MINIMAL"};

var popup_emptydoc = "/htmlb/jslib/emptyhover.html";</script>

 

But in QTY logon page source shows

 

<html><head><link rel="stylesheet" href="/com.sap.portal.design.portaldesigndata/themes/portal/sap_tradeshow/prtl_std/prtl_std_ie6.css?v=7.31.3.0.0" />

 

<script type="text/javascript">

/*HTML Business for Java, 6.0*/

ur_system = {doc : window.document , mimepath :"/com.sap.portal.design.urdesigndata/themes/portal/sap_tradeshow/common/", stylepath : "/com.sap.portal.design.urdesigndata/themes/portal/sap_tradeshow/ur/", is508 : false, domainrelaxing : "MINIMAL"};

var popup_emptydoc = "/htmlb/jslib/emptyhover.html";</script>

 

how can I change sap_tradeshhow theme to Custom_Theme.

 

 

With regards,

Abhishek

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.

TREX Index Problem:

$
0
0

Hello Everyone,

                I have a problem with my TREX indexing. Please read below & advise:

 

1. Created a new index in index administration.

 

2. Selected crawler as standard, search as TREX Search and assigned a datasource as /documents/Mydocuments

 

3. Also entered a system ID for the Indexmanagement Taskqueue Reader Task.

 

When I look at the Index Monitor, I can see that the index has a green light with Active status,

In Process:23, Indexed:0

 

When I look at the queue:

 

Queue status: Idle

 

To Be Synchronized: 23 - It just waits in this state.

 

I tried flushing the queues and re-starting the services, but to no avail...

 

Any thoughts on what needs to be done to start the indexing process and fix my search?

 

Thanks and Regards,

Phani - SAP Basis Expert.

The method getInstance() is undefined for the type ResourceFactory

$
0
0

Hi All

 

I am trying to create an application for creating folders in KM dynamicall by following the

two blogs.

 

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

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

 

I have added all the jar files required (Given in the blog) from the server to the build path

and added PORTAL:sap.com/com.sap.km.application in the sharing references of webdynpro refernces.

 

But it is giving me the error "The method getInstance() is undefined for the type ResourceFactory" in the desing time.

 

ResourceContext context = new ResourceContext(ep5User);

RID rid = RID.getRID("/documents");

ICollection parent = (ICollection) ResourceFactory.getInstance().getResource(rid,context);

 

Could you suggest me the reason and solution for this error.

 

Thanks,

Sudheer.

TREX error - Code 6401

$
0
0

Hi all,

While indexing my KM documents i receive the following errors (on 410 files):

 

 

[01220] 2009-01-12 16:40:28.841 e preprocessor Preprocessor.cpp(00798) : HTTPHEAD failed for URL <filename> with Httpstatus 401

[01220] 2009-01-12 16:40:28.856 e preprocessor Preprocessor.cpp(03393) : HANDLE: DISPATCH - Processing Document with key <filename> failed, returning PREPROCESSOR_ACTIVITY_ERROR (Code 6401)

 

 

I've tried applying the note 650521 (add the entry unescape_url= no into the httpclient section of the TREXPreprocessor.ini) but that didn't help.

 

The other (thoused of) documents are indexed OK.

 

Regrads,

Aviad

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.

 

TREX Preprocessor Error

$
0
0

Good day,

 

I have installed TREX 7 and since the new installation I am getting a preprocessor error, it seems like it can't find the <%hostname%> but I have no idea what the reason for this could be.

I have followed the post installation tasks, but still get this error.

 

Many Thanks,

Marcel.

Please find log attached:

 

 

[Thr 5024] Thu Jul 13 15:06:06 2006

[Thr 5024] ***LOG Q0I=> NiPGetHostByName2: hostname '<%hostname%>' not found: gethostbyname_r (11004: WSANO_DATA: Valid name, no data record of requested type) [ninti.c 361]

[5024] 2006-07-13 15:06:06.842     e     preprocessor     Preprocessor.cpp(00888) :     HTTPHEAD failed for URL http://<%hostname%>/irj/go/km/docs/documents/Exxaro/Documents/sld.pdf : Errorcode -2 , Message   Reader::connect failed, url=http://<%hostname%>/irj/go/km/docs/documents/Exxaro/Documents/sld.pdf

[5024] 2006-07-13 15:06:06.842     e     preprocessor     Preprocessor.cpp(03550) :     HANDLE: DISPATCH - Processing Document with key '/documents/Exxaro/Documents/sld.pdf' failed, returning PREPROCESSOR_ACTIVITY_ERROR (Code 8002)

[2844] 2006-07-13 15:06:06.842     e     preprocessor     Preprocessor.cpp(00888) :     HTTPHEAD failed for URL http://<%hostname%>/irj/go/km/docs/documents/Exxaro/Documents/sld.pdf : Errorcode -2 , Message   Reader::connect failed, url=http://<%hostname%>/irj/go/km/docs/documents/Exxaro/Documents/sld.pdf

[2844] 2006-07-13 15:06:06.842     e     preprocessor     Preprocessor.cpp(03550) :     HANDLE: DISPATCH - Processing Document with key '/documents/Exxaro/Documents/sld.pdf' failed, returning PREPROCESSOR_ACTIVITY_ERROR (Code 8002)

[6012] 2006-07-13 15:06:06.858     e     preprocessor     Preprocessor.cpp(00888) :     HTTPHEAD failed for URL http://<%hostname%>/irj/go/km/docs/documents/Exxaro/Documents/sld.pdf : Errorcode -2 , Message   Reader::connect failed, url=http://<%hostname%>/irj/go/km/docs/documents/Exxaro/Documents/sld.pdf

[6012] 2006-07-13 15:06:06.858     e     preprocessor     Preprocessor.cpp(03550) :     HANDLE: DISPATCH - Processing Document with key '/documents/Exxaro/Documents/sld.pdf' failed, returning PREPROCESSOR_ACTIVITY_ERROR (Code 8002)


Duplicate default:modified & rendererd wth "lastmodified" Property Rend.?

$
0
0

I try to create a new property said name new_modified which is the duplication of the property metadata - default:modiifed (cm_modified).

 

The only thing I change in the new property - new_,modified is switching the Type from "TimeStamp" to "Date". This work fine for changing the Date format.

 

But here is the problem:

Initially, I thought the "lastmodified" property renderer will automatically assign the current date value to the new_modified property (when I assign this property to a km resource/document, open & edit the document).

 

I decoded the source of lastmodified property renderer:

com.sapportals.wcm.control.util.PropertyRendererLastModified.

 

Here is the renderProperty method:

 

 


public Component renderProperty(IProperty property, IResource res, int maxLength)
    {        PropertyType propType = null;        TextView resultText = null;        String result = null;        try        {            <b>if(property == null)            {                property = res.getProperty(PropertyName.createLastModified());</b>                if(property == null)                {                    if(log.beDebug())                        log.debugT("Could not retrieve Property <" + PropertyName.createLastModified() + "> for resource <" + res + ">");                    return null;                }            }        }        catch(Exception e)        {            CatchBlockHandler.handle("PropertyRendererLastModified", "Exception", e, false, false);            log.errorT("Caught exception when trying to render property <" + property + "> for resource <" + res + ">" + LoggingFormatter.extractCallstack(e));            return null;        }        propType = property.getType();        if(propType == PropertyType.DATE)            result = DateFormatUtil.format(property, res.getContext());        else            result = property.getStringValue();        if(result == null || result.length() == 0)        {            if(log.beDebug())                log.debugT("The property <" + PropertyName.createLastModified() + "> for resource <" + res + "> returned no value and will not be rendered.");            return null;        }        resultText = new TextView("PropertyRendererLastModified");        if(is508Required())            resultText.setTooltip(PropertyRenderUtil.get508PropertyTooltip(property, result, res.getContext().getLocale()));        else            resultText.setTooltip(result);        if(maxLength > 0 && result.length() > maxLength)            result = result.substring(0, maxLength);        resultText.setText(result);        resultText.setWrapping(true);        return resultText;    }

 

Seems like they only assign the new modified value when the check that the property==null.

 

Isn't that this property renderer will set a new current Date value to new_modified property every time we edit the document?

 

If not, how do I set the new_modified to have the value of modified every time we edit the document.

 

 

Thanks for advise.

 

 

Regards,

 

Kent

TREX Preprocessor Error

$
0
0

Hello,

 

we are using TREX 7.1. When I try to index documents it does not work. In the tracefile of the preprocessor I found the following:

 

"[4832] 2008-09-23 15:37:05.665 e preprocessor Preprocessor.cpp(01161) : HTTPHEAD failed for URL http://S0001010.srz0.loc:8010/sap/bc/contentserver/100?get&pVersion=0045&contRep=BDS_DB23&docId=DC8C4FD0F51DD5F196B10015171E5D46&compId=Tchibo.pdf&accessMode=r&authId=CN%3DEDS&expiration=20080927133703&secKey=MIHzBgkqhkiG9w0BBwKggeUwgeICAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGBwjCBvwIBATATMA4xDDAKBgNVBAMTA0VEUwIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDgwOTIzMTMzNzAzWjAjBgkqhkiG9w0BCQQxFgQUDUoHRNCbcSTa3T9yhP%2FS6xtGqqcwCQYHKoZIzjgEAwQwMC4CFQCNBo%2B3JCqFypS%2BC0jcu7GtYb1GdgIVAKhjaUOHhHc0yYPjYUoJV%2Be3FH0y : Errorcode -2 , Message   Reader::connect failed, url=http://S0001010.srz0.loc:8010/sap/bc/contentserver/100?get&pVersion=0045&contRep=BDS_DB23&docId=DC8C4FD0F51DD5F196B10015171E5D46&compId=Tchibo.pdf&accessMode=r&authId=CN=EDS&expiration=20080927133703&secKey=MIHzBgkqhkiG9w0BBwKggeUwgeICAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGBwjCBvwIBATATMA4xDDAKBgNVBAMTA0VEUwIBADAJBgUrDgMCGgUA

oF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDgwOTIzMTMzNzAzWjAjBgkqhkiG9w0BCQQxFgQUDUoHRNCbcSTa3T9yhP/S6xtGqqcwCQYHKoZIzjgEAwQwMC4CFQCNBo3JCqFypSC0jcu7GtYb1GdgIVAKhj

[4832] 2008-09-23 15:37:05.665 e preprocessor Preprocessor.cpp(03965) : HANDLE: DISPATCH - Processing Document with key 'BDS_POC23 DC8C4FD0F51DD5F196B10015171E5D460000000000000000000000' failed, returning PREPROCESSOR_ACTIVITY_ERROR (Code 8002)

[5608] 2008-09-23 15:37:05.665 e preprocessor Preprocessor.cpp(01161) : HTTPHEAD failed for URL http://S0001010.srz0.loc:8010/sap/bc/contentserver/100?get&pVersion=0045&contRep=BDS_DB23&docId=DC8C71E0F0A3B5F196B10015171E5D46&compId=edeka.txt&accessMode=r&authId=CN%3DEDS&expiration=20080927133703&secKey=MIHxBgkqhkiG9w0BBwKggeMwgeACAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGBwDCBvQIBATATMA4xDDAKBgNVBAMTA0VEUwIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDgwOTIzMTMzNzAzWjAjBgkqhkiG9w0BCQQxFgQUEdAW4Sx%2BVhKQpejFMlpENUExoZ4wCQYHKoZIzjgEAwQuMCwCFE1FligZ1Yu90Efxa%2BxjODGshsQyAhQwmMKz7Ri3I5VR%2Bfg8KcGQj5GLmg%3D%3D : Errorcode -2 , Message   Reader::connect failed, url=http://S0001010.srz0.loc:8010/sap/bc/contentserver/100?get&pVersion=0045&contRep=BDS_DB23&docId=DC8C71E0F0A3B5F196B10015171E5D46&compId=edeka.txt&accessMode=r&authId=CN=EDS&expiration=20080927133703&secKey=MIHxBgkqhkiG9w0BBwKggeMwgeACAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGBwDCBvQIBATATMA4xDDAKBgNVBAMTA0VEUwIBADAJBgUrDgMCGgUA

oF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDgwOTIzMTMzNzAzWjAjBgkqhkiG9w0BCQQxFgQUEdAW4SxVhKQpejFMlpENUExoZ4wCQYHKoZIzjgEAwQuMCwCFE1FligZ1Yu90EfxaxjODGshsQyAhQwmMKz7

[5608] 2008-09-23 15:37:05.665 e preprocessor Preprocessor.cpp(03965) : HANDLE: DISPATCH - Processing Document with key 'BDS_POC23 DC8C71E0F0A3B5F196B10015171E5D460000000000000000000000' failed, returning PREPROCESSOR_ACTIVITY_ERROR (Code 8002)" etc. etc.

 

If I drop the url into my browser, the document to be indexed is fetched properly. So what do all the errorcodes mean? What is the meaning of "HTTPHEAD failed for URL"?

 

Has anyone of you an idea?

 

Thank you for your help in advance,

Peter

Problem with reached maximum number of connections to database

$
0
0

Dear Experts,

 

Our Production system was not responding properly last week.

 

The below was the reply from the Basis team.

 

"It seems that we have again problem with reached maximum number of connections to database. We have extended this number to 100 this year and now it seems that it’s not enough again. It seems that something is running on Production, which takes over too many connections."

 

They have increased the number to 200 as a work around.

 

Do we have any means to find out, which component or application is causing the issue.

Please advise me if any better way is available to correct the issue.

 

 

Please see the below trace.

 

 

From default trace:

======

Caused by: com.sap.engine.services.dbpool.exceptions.BaseSQLException: ResourceException occurred in method ConnectionFactoryImpl.getConnection(): javax.resource.R

esourceException: (Failed in component: dbpool, BC-JAS-TRH) Cannot create connection. Possible reasons: 1)Maximum allowed connections to DB or EIS is reached. You

can apply CSN Note 719778 in order to check and resolve connection leaks. 2) Configuration to DB/EIS is wrong or DB/EIS is temporary unreachable. 3) Connections ar

e not enough for current load.

        at com.sap.engine.services.dbpool.cci.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:60)

        at com.sap.security.core.persistence.datasource.imp.J2EEConnectionPool.getConnection(J2EEConnectionPool.java:205)

        ... 61 more

Caused by: javax.resource.ResourceException: (Failed in component: dbpool, BC-JAS-TRH) Cannot create connection. Possible reasons: 1)Maximum allowed connections to

DB or EIS is reached. You can apply CSN Note 719778 in order to check and resolve connection leaks. 2) Configuration to DB/EIS is wrong or DB/EIS is temporary unr

  1. eachable. 3) Connections are not enough for current load.

        at com.sap.engine.services.connector.jca.ConnectionHashSet.match(ConnectionHashSet.java:230)

        at com.sap.engine.services.connector.jca.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:343)

        at com.sap.engine.services.connector.jca.ShareableConnectionManager.allocateConnection(ShareableConnectionManager.java:54)

        at com.sap.engine.services.dbpool.cci.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:52)

        ... 62 more

Caused by: com.sap.engine.services.dbpool.exceptions.BaseResourceException: SQLException is thrown by the pooled connection: com.sap.sql.log.OpenSQLException: No c

onnection to data source SAPEPPDB available. All 100 pooled connections are in use and 70 connection requests are currently waiting. The connection pool size might

need to be adjusted.

        at com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:192)

        at com.sap.engine.services.connector.jca.ConnectionHashSet.match(ConnectionHashSet.java:221)

        ... 65 more

Caused by: com.sap.sql.log.OpenSQLException: No connection to data source SAPEPPDB available. All 100 pooled connections are in use and 70 connection requests are

currently waiting. The connection pool size might need to be adjusted.

======


Thanks and Kind Regards,

Jelbin

Transport of Collaboration Room Templates

$
0
0

This is regarding Transport of Room Templates.

We are going to upgrade our Portal and hence are planning to transport

the custom room templates developed.As per the how To guide , we have to

export the template workset , but after this export and then import to target, the imported template does not even appear in the room templates list.

 

On the other hand if we import only the workset and create a template based

on this along with all room extensions, this appears to be fine. So is this

the appropriate method?

 

Also the howto mentions transport of CM configuration related to templates too, but we dont seem to have that option here.We are on EP6.0 SP10,KMC SP10 Patch1.

 

Would appreciate any help on this

Rgrds

Seting up Content Server and ArchiveLink

$
0
0

Ok, Here is the problem that I am currently dealing with.  I have set up a Content Server to store files to a sapDB (not file system).  I am trying to have purchase orders moved into the Content Server.  I defined a content server:

from TCode OAC0:

ZT     ARCHLINK     HTTP content server     0046     Content Server Test

 

from TCode OAC3:

EKKO     MEOORDER     X     ZT     TOA01     0

 

 

in TCode OAC3 I am only able to choose ZT if I set ZT to Document Area "Archivelink".  But when I choose this it makes me choose a directory and as I mentioned I set up the content server to save files to DB (not file storage).  Can anyone please assist me in what settings I have incorrect?  Also I looked up the PO information and it says something about Object Type BUS2012... not EKKO.  Do I have to set up this object type?

 

Basically when I change the Document Area to "Archivelink" it makes me use a file... when I choose "Archivelink: Print List Manager" or "Archivelink: Document management" it does not force me to have a file path.

 

 

 

Well... after re-reading it I can see I am very confused.  Any help understanding the process or any advise would be greatly appreciated.

 

Thanks,

Paul Ksobiech

SAP Basis Administrator

Viewing all 1826 articles
Browse latest View live