on 04-05-2010 11:22 AM
How can i configure a KM search iview to search documents, content inside documents, and folders without using a TREX engine, in EP 6.0
according to my knowledge .. not possible .. since KM search ivews searches using index and other KM properties...
or else you can write some webdynpro application which will search document based on KM properties...
search in SDN u can get many code and documents for this.. !!!
Regards,
Jigar Oza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Rana,
KM search iview is designed currently to use with TREX.
If you want configure without TREX means you need to write your own application to achive it.
A sample may be : http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3500
Regards,
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Have a look at this weblog.
[http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3500]
Hope it helps.
Regards,
Prathamesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't think it is possible to search KM documents without TREX engine.
Other option is you can write your own search algorithm
Raghu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
it is a custom search on IContentCatalogNode object
from SearchRootNode class used in com.sap.portal.appdesigner.contentcatalog Search component(com.sapportals.appdesigner.contentcatalog.ui.SearchComponent class):
IContentCatalogNode firstLevelChildren[];
/* 84*/ if(rootNodeId == null || rootNodeId.trim().equals(""))
{
/* 85*/ RootNode root = (RootNode)ccServ.getRootNode("com.sapportals.appdesigner.contentcatalog.pcm.RootNode", super.request, super.nodeContext, super.nodesDefinitionName);
/* 89*/ firstLevelChildren = root.getChildren();
} else
{
/* 92*/ firstLevelChildren = new IContentCatalogNode[1];
/* 93*/ firstLevelChildren[0] = ccServ.getNode(rootNodeId, super.request, rootNodeContext);
}
/* 101*/ for(int i = 0; i < firstLevelChildren.length; i++)
{
/* 104*/ searchFilter = _buildFilterForNode(firstLevelChildren<i>, objectTypes, searchAttNames);
/* 107*/ PcdSearchControls sc = new PcdSearchControls();
/* 109*/ sc.setSearchScope(3);
/* 110*/ sc.setCountLimit(0L);
/* 111*/ sc.setTimeLimit(0);
/* 112*/ sc.setReturningAttributes(null);
/* 113*/ sc.setReturningObjFlag(true);
/* 114*/ sc.setDerefLinkFlag(false);
/* 115*/ sc.setLocale(super.request.getLocale());
/* 117*/ Map searchEnvironment = new HashMap();
/* 118*/ searchEnvironment.put("com.sap.portal.appdesigner.searchControls", sc);
/* 119*/ searchEnvironment.put("com.sap.portal.jndi.requested_aspect", "com.sap.portal.pcm.Administration");
/* 121*/ searchEnvironment.put("com.sap.portal.directory.search.locale", super.request.getLocale());
/* 123*/ searchEnvironment.put("com.sap.portal.directory.search.casesensitive", String.valueOf(true));
/* 126*/ IContentCatalogNode branchRes[] = firstLevelChildren<i>.search(searchFilter, searchEnvironment);
/* 129*/ for(int j = 0; j < branchRes.length; j++)
/* 131*/ childsList.add(branchRes[j]);
}
Romano
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.