Search By Category posible in KM?

Hi,
Can a search by category be done in KMC?
like selecting from a combo the category and type the text to be searched and only will be searched in that Category and nowhere else. can this be achieved?
Thanx in Advanced!
Gerardo J

Hi,
If I understand you well, you can:
1) Create 2 properties: Categories (Multivalued) and CategorieValue(String, dependant of Categories). It will work as you said, you select in the combo the category and in the textbox type the Value.
2) Create a Search Component Set with the predefined properties object and the search button object.
I hope it helps,
Best regards, Jorge M.

Similar Messages

  • Search by category, release 2

    Search by category in the custom and advanced search portlets doesn't give correct results.
    When searching for items in category 'A', the search results page shows files that are in category 'General' as well.
    How can we solve or work arround this?

    Created a Page group having items based on Category- CatA and also based on Category-General. Using the Advanced Search portlet
    searched by CatA in my pagegroup. Only items based on Category-CatA are returned in the results under items tab.which is the correct
    behaviour. Same is true for Custom Search portlet.
    I have tried this on portal version 9.0.2.2.22(Production)
    Can you please provide a step by step testcase and the version of Portal you are using.

  • Search result category with a custom layout set?

    Greetings,
    I've created a nice little search IVIEW with a custom search options set that will display the document category (taxonomy) in the search result (if the resulting document is categorized, of course.)  Works great.  However there is one little problem.  The categories in the search results are hyperlinked and when you select one, you get a new window with the taxonomy rendered in the default layout set (the ConsumerExplorer I think.)  Not good.  I need this displayed in a custom layout set.
    Any ideas how to make this hyperlink use a custom layout set without changing the default?
    Regards,
    Paul Federighi

    Hi Paul,
    As per my knowledge of the basic s of layout sets and iviews.
    You want to change the layout set of the iview(window) which opens when u click the hyperlink.
    You should do this:
    1)Make a new layout set by customizing the default one.
    2)If the iview opening is a standard iview then go to its properties and change the Layout set value to ur new layout.
    Please revert in case of issues.
    I hope it helps.
    Regards,
    Sumit

  • How to search within category in a community?

    Searching within a community is helpful, but narrowing my search to a category within a community would be really nice!
    How do I do this?
    Thanks in advance to all,
    Kurt

    Click the Search button, with or without any search terms provided. Then, select a community in the "Restrict to a Community" field. Note that you have to start typing something, and a list of possible matches will appear. Fill in a search string if you didn't already, then click the Search button again.
    Edit: never mind, I responded too fast. I don't know of a way to restrict to a particular category.

  • Search Parameter 'Category'  & wwsbr_all_categories

    Hi,
    We are trying to build a customized Advanced Search module. I have a question on the 'Category' parameter.
    Through Portal, we have created a category called 'Announcements' and under which two sub-categories called 'Informal' and 'Official'. In existing Portal's Advanced Search UI, when I pull down the 'Category' drop-down, I see that 'Informal' and 'Official' are grouped right under category 'Announcements'. We would like to keep this category/sub-category distinction/grouping when we build our customized Advanced Search UI.
    Does anybody know how the 'Category' drop-down on Portal's Advanced Search UI gets populated ?
    From the content area view wwsbr_all_categories, I see that all categories and their respective sub-categories are kind of 'mingle' together with no key/clue indicating that, for instance, 'Informal' and 'Official' are the two sub-categories of category 'Announcements'.
    Is there any way that I can find out the relationship between a category and its sub-categories ? Apart from the view wwsbr_all_categories, what other view(s) do I need to query on ? Any advice will be appreciated.
    Thanks,
    Dorothy

    The view wwsbr_all_categories is defined as:
    SELECT id,
    siteid caid,
    language language,
    name name,
    title display_name
    from wwv_topics
    If you select the parentid column from wwv_topics as well, I think this will give you what you need. Using the "connect by ..." clause will bring things back in the right order for you. However, I should point out that using portal tables directly is not supported by Oracle.

  • Search by Category

    Hi,
    I need to do a search with QueryFormHandler.searchResponse.question but using a categoryId as a filter. I managed to search with categoryId that returns all category products. When I combine both, the search is not returning only the product of the given categoryId. It's returning products from all categories.
    Anyone has a clue of how I can do it?

    I'm using ATG 10.0.3, the debug lists a lot of information and these two got my attention.
    /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-136/atg/commerce/search/catalog/QueryFormHandler 
    <strprop name="ancestorCategories.$repositoryId" op="equal" case="true">rootCategory</strprop>
    /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScope-136/atg/commerce/search/catalog/QueryFormHandler
    <strprop name="ancestorCategories.$repositoryId" op="equal" case="true">homeStoreRootCategory</strprop>Instead of rootCategory or homeStoreRootCategory, should'n it be the categoryId I specified as a filter?
    Thanks

  • Interaction Center Search by category

    Hi,
    I'd added the category search in BTQTransInbox. Everything works so far but it works not as expected.
    Example Category:
    Root
      Child_1
         Child_1_1
      Child_2
    If I enter Child_1_1 evertying with category child_1_1 will be returned. But If I enter child_1 nothing will be returned. It looks like, that the query searches evereytime only the lowest categorynode - but in this case I 'd like to get everything, where Child_1 is choosen, but where lower level categories exists.
    Any Idea how to solf this?
    Thanks in advance
    Paul

    Created a Page group having items based on Category- CatA and also based on Category-General. Using the Advanced Search portlet
    searched by CatA in my pagegroup. Only items based on Category-CatA are returned in the results under items tab.which is the correct
    behaviour. Same is true for Custom Search portlet.
    I have tried this on portal version 9.0.2.2.22(Production)
    Can you please provide a step by step testcase and the version of Portal you are using.

  • Monitor Shopping Cart, Product category search Issue

    Hi,
    In Monitor Shopping Cart, I am clicking on search product category to search the availble product cateogry
    It is showing all the product cateogry, some of which not required
    for Example :It is showing R3MATCLASS and R3PRODSTYP product cateogry
    My question is
    1) How I can restrict R3PRODSTYP  product category
    2) Can I restrict R3MATCLASS product category also individually in search
    Thanks,
    jai

    after debugginng, I found that the hirarchy data is calling from
    table ;comm_category and comm_prcat
    and
    The field Product Category (CATEGORY_ID) has search help(COM_CAT_HIER)
    I am working on this,
    Pls let me know your input on this.
    Thanks,
    Jai

  • Showing item attribute using category or perspective search

    Hi,
    When you use intermedia search, you get a Search Result page, for
    every found item, shows excatly where the item is situated
    plus some extra information, like:
    Content Area: Common, Folder: Human Resources, Category: Report,
    Author: PORTAL30
    Is there any possibility to show this for the item found when
    searching by category or perspective?
    regards
    /Mahnaz

    Hi,
    When you use intermedia search, you get a Search Result page, for
    every found item, shows excatly where the item is situated
    plus some extra information, like:
    Content Area: Common, Folder: Human Resources, Category: Report,
    Author: PORTAL30
    Is there any possibility to show this for the item found when
    searching by category or perspective?
    regards
    /Mahnaz

  • Searching pages by category doesn't retrieve its subcategories

    Hi,
    I've created the category 'Category1' with two subcategories: 'Subcat1' and 'Subcat2'. I have three pages, one of them assigned to 'Category1' and the other two assigned to 'Subcat1'.
    When using a custom search portlet to look for all 'Category1' pages, it only retrieves one of them, and not the three I expected.
    I thought I would get all subcategory objects when looking for the main category. Am I wrong? Can anybody help?
    Thanks in advance.
    PS - Our Portal version is 10.1.4.

    I'm afraid subcategory objects are not returned when a search by category is done.
    We reported this as an enhancement request, but I dont know if it will be available in v11.

  • How to search inside a category /community?

    Hi,
    to be honest, I find the support community website one of the worst in terms of usability, especially the search function. What I'm trying to achieve is pretty simple. I want to search a category or community for a keyword, e.g. I want to find discussions about the sidebar in Mail. When I go to OSX and click "Mail & Contacts", I get all discussions displayed, but I can't search or filter them any further. Isn't that possible? There is also no "extended" search where I could limit my search to anything. To me this would be the easiest and natural way to find something...
    p.

    Thanks for the hint. I've seen that already but unfortunately it didn't help. In theory I can limit the search to a community but there is no "More options" button to click on. There is a text field though, but for that I need to know the community names. For "Aperture" it works, but if I enter "Mail", it still shows results of random communities (iMac, Developers, iPad...).
    Nevermind, maybe I cant get along with this because I'm not a fan of the tagging philosophy/method. It never worked for me.

  • How can I enter my podcast in more than one category?  Mine covers arts, education and society and culture, but is listed as "Performing Arts".  Thank you for your time!

    How can I enter my podcast in more than one category, to reflect the fact that it covers arts, education and society and culture?  Thank you for your time!

    You can have more than one category - this page shows you how the tags are formed:
    http://www.apple.com/itunes/podcasts/specs.html#category
    The Store will list only the first category and its sub-category at the top of the page. Like the first category, the others will in theory make your podcast available for searching by category. However searching just on the category in the iTunes Store is most unlikely to throw up your podcast. There are thousands of podcasts out there, and it would be quite impossible to display on one page the entire list for any category. What you see are 'featured' podcasts, chosen by Apple as being special; please see this Tech Note:
    http://www.apple.com/itunes/podcasts/specs.html#getfeatured
    Note that there is no way you can influence the selection other than making your podcast really special.
    If you have further questions about making your podcast it's better to ask them in the Producing Podcasts forum.

  • Category attributes default values updating

    Hi,
    I'm developing an application that, upon upload of a file to the specified root folder(through the application), reads some values from a file, creates a folder structure based on those values, and moves the file in the bottom folder. Now, a predefined category should be attached to the file, to enable search by category attributes. My idea is to set the category as required on that bottom folder (or the first), and modify it's attribute default values, so that the file inherits them when moved in it. I have found mshannon's examples in some other thread ( Updating a document with category metadata using updateDocument(): error! ), the first one works only with files, not folders, and the second one doesn't work for me at all, I get an error:
    javax.faces.el.EvaluationException: ORACLE.FDK.AggregateError:ORACLE.FDK.AggregateError
    here is my code:
    public static void updateAttributes() throws FdkException, RemoteException{
    login();
    FileManager fm = s_WsCon.getFileManager();
    Item fajl = fm.resolvePath(prop.getProperty("userhome") + "/root folder/folder1/readme1.txt",
    null);
    long docID = fajl.getId();
    NamedValue[] catInstAtr = new NamedValue[] {
    new NamedValue("CUSTOM_138297", "changed value for att1"),
    new NamedValue("CUSTOM_138299", "changed value for att2")
    NamedValue[] catDef = new NamedValue[] {
    new NamedValue(Options.UPDATE_CATEGORY_ID,new Long(139054)),
    new NamedValue(Options.CATEGORY_DEFINITION_ATTRIBUTES, catInstAtr)
    NamedValue[] docDef = new NamedValue[] {
    new NamedValue(Options.CATEGORY_DEFINITION, catDef)
    AttributeRequest[] reqAtr = new AttributeRequest[]{
    new AttributeRequest(Attributes.DESCRIPTION, null)
    fajl = fm.updateDocument(docID, docDef, reqAtr);
    logut();
    This example is (I think) only for updating on document level, but I could use a solution for folder-level updating, as I explained before. Can anyone help me?
    Thanks,
    Pedja

    Pedja,
    Here is my code to get category from Folder this is updated version from sample code TestCategory2.java
    1. It will get the required category of a folder.
    2. gets the internal category attribute names
    3. get Category id if uploading file along with category attribute values OR
    updating file and also updating previous category instance values..
    package oracle.ifs.examples.content.testcases;
    import java.util.Map;
    import java.util.Properties;
    import java.util.*;
    // Facade Objects
    import oracle.ifs.fdk.AttributeRequest;
    import oracle.ifs.fdk.Attributes;
    import oracle.ifs.fdk.FdkConstants;
    import oracle.ifs.fdk.FdkErrorCodes;
    import oracle.ifs.fdk.FdkException;
    import oracle.ifs.fdk.FdkExceptionEntry;
    import oracle.ifs.fdk.Item;
    import oracle.ifs.fdk.Options;
    import oracle.ifs.fdk.NamedValue;
    import oracle.ifs.fdk.NamedValueSet;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import HTTPClient.HTTPConnection;
    import HTTPClient.HTTPResponse;
    import HTTPClient.HttpOutputStream;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.net.URL;
    // Web Services Managers
    import oracle.ifs.fdk.CategoryManager;
    import oracle.ifs.fdk.CommonManager;
    import oracle.ifs.fdk.FileManager;
    // Framework
    import oracle.ifs.examples.content.fdk.FdkSession;
    import oracle.ifs.examples.content.fdk.FdkUtils;
    import oracle.ifs.examples.content.fdk.Managers;
    import oracle.ifs.examples.content.fdk.constants.ItemAttributes;
    import oracle.ifs.examples.content.fdk.constants.NamedValueConstants;
    import oracle.ifs.examples.content.testcases.AbstractTest;
    public class TestCategories3
    implements ItemAttributes, NamedValueConstants
    public TestCategories3()
    public static void main(String[] args)
    TestCategories3 tc3= new TestCategories3();
    tc3.getCatinfo();
    * This is where you write your test program.
    public void getCatinfo()
    log(this.getClass().getName()+": starting");
    FdkSession session = null;
    try
    AttributeRequest[] requestedAttributes = null;
    NamedValue[] sortOptions = null;
    Map returnedAttrs = null, map = null;
    log("\nAuthenticating as regular test user ...");
    session = new FdkSession("http://xxx.com:8320/content/","anakkala","sample");
    CommonManager commonM = Managers.getCommonManager(session);
    CategoryManager categoryM = Managers.getCategoryManager(session);
    FileManager fileM = Managers.getFileManager(session);
    // save this attribute request so that it can be used later
    AttributeRequest[] AR_CATEGORY_CONFIGURATION_ATTRIBUTES =
    FdkUtils.newAttributeRequestArray(Attributes.CATEGORY_CONFIGURATION,
    FdkUtils.newAttributeRequestArray(new Object[]
    // Is the category configuration enabled
    FdkUtils.newAttributeRequest(Attributes.CONFIGURATION_ENABLED),
    // Can the category configuration be overridden or is it final
    FdkUtils.newAttributeRequest(Attributes.CONFIGURATION_FINAL),
    // What are the required categories for the category configuration
    FdkUtils.newAttributeRequest(Attributes.REQUIRED_CATEGORIES,
    // for the required categories ...
    FdkUtils.newAttributeRequestArray(new Object[]
    // What is the category classobject display name
    FdkUtils.newAttributeRequest(Attributes.DISPLAY_NAME),
    // get attributes inherited and introduced by category object
    FdkUtils.newAttributeRequest(Attributes.METADATA_ATTRIBUTES,
    // get full settings for each of these attributes
    FdkUtils.newAttributeRequestArray(METADATA_ATTRIBUTE_ATTRIBUTES)
    // Are there any attribute overrides for this category config?
    FdkUtils.newAttributeRequest(Attributes.ATTRIBUTE_OVERRIDES,
    // get full settings for each of these attribute overrides
    FdkUtils.newAttributeRequestArray(ATTRIBUTE_OVERRIDE_ATTRIBUTES))
    log("\nLooking up folder /d-rco/C1/L1/folder1 ...");
    // convert attribute request map to AttributeRequest[]
    requestedAttributes = AR_CATEGORY_CONFIGURATION_ATTRIBUTES;
    Item folder =fileM.resolvePath(
    "/d-rco/C1/L1/folder1",
    requestedAttributes);
    log("folder id is="+folder.getId());
    log("\nProcessing requested attributes - goal: generate override ...");
    //returns a map
    returnedAttrs = FdkUtils.getAttributesMap(folder);
    Item categoryConfig = (Item)
    returnedAttrs.get(Attributes.CATEGORY_CONFIGURATION);
    returnedAttrs = FdkUtils.getAttributesMap(categoryConfig);
    // is CategoryConfiguration enabled?
    Boolean ccEnabled = (Boolean) returnedAttrs.
    get(Attributes.CONFIGURATION_ENABLED);
    // is CategoryConfiguration final? false=subfolders can override
    Boolean ccFinal = (Boolean) returnedAttrs.
    get(Attributes.CONFIGURATION_FINAL);
    // what are the attribute overrides for this category configuration
    log("\nAttribute overrides ...");
    Item[] attributeOverrides = (Item[]) returnedAttrs.
    get(Attributes.ATTRIBUTE_OVERRIDES);
    FdkUtils.log(attributeOverrides);
    // what are the requred categories for this category configuration
    log("\nRequired categories ...");
    Item[] reqCategories = (Item[]) returnedAttrs.get(Attributes.REQUIRED_CATEGORIES);
    FdkUtils.log(reqCategories);
    log("After printing required categories");
    if(ccEnabled.booleanValue() && !ccFinal.booleanValue()
    && reqCategories != null && reqCategories.length >= 1)
    // Folder /<domain>/<basecontainer>/L1/F3.EC has an enabled category
    // configuration that can be overridden and has required categories
    // present ...
    Item category = null;
    for (int i=0; i < reqCategories.length; i++)
    returnedAttrs = FdkUtils.getAttributesMap(reqCategories);
    log( "xxx name="+((String) returnedAttrs.get(Attributes.DISPLAY_NAME) ));
    if ( ((String) returnedAttrs.get(Attributes.DISPLAY_NAME)).
    equals("BG_Serv_Req"))
    category = reqCategories[i];
    break;
    log("category id="+category.getId());
    if (category != null)
    NamedValue[] internalCategoryAttrs = null;
    try {
    internalCategoryAttrs =getInternalCategoryAttrNames("BG_Serv_Req",session);
    }catch(Exception e)
    log("error getting internal names");
    e.printStackTrace();
    log("Category Attribute internal Name ="+ (String)internalCategoryAttrs[0].getValue());
    log("Category Attribute internal Name ="+ (String)internalCategoryAttrs[1].getValue());
    NamedValue[] categoryInstanceAttributes = new NamedValue[] { 
    // use the internal attribute name for all attributes
    new NamedValue((String)internalCategoryAttrs[0].getValue(), "XNXNXNXN 234"),
    new NamedValue((String)internalCategoryAttrs[1].getValue(), "SNKKSKSK 1234")
    NamedValue[] categoryDef = new NamedValue[] { 
    // the id of the category object class for which this new category will be an
    //instance of
    new NamedValue(Options.CATEGORY_CLASS_ID, new Long(category.getId())),
    // the updated values of the category instance
    new NamedValue(Options.CATEGORY_DEFINITION_ATTRIBUTES, categoryInstanceAttributes)
    String sourceFile="test.doc";
    String folderPath = "C:\\upload";
    requestedAttributes = FdkUtils.newAttributeRequestArray(Attributes.URL);
    Item doc = fileM.resolveRelativePath(folder.getId(),sourceFile, requestedAttributes);
    log("START ORACLE TEST CODE FROM TAR");
    // this will get the category instance id
    AttributeRequest categoryAR = new AttributeRequest();
    categoryAR.setAttributeName(Attributes.CATEGORIES);
    AttributeRequest[] attrRequests = new AttributeRequest[]
    { categoryAR};
    Item myDoc = commonM.getItem(doc.getId(), attrRequests);
    NamedValue[] requestedAttributesNV = myDoc.getRequestedAttributes();
    int length = requestedAttributesNV == null ? 0 :
    requestedAttributesNV.length;
    Item[] itemCategories = null;
    log("length="+length);
    for (int i = 0; i < length; i++)
    log("requestedAttributesNV[i].getName()="+requestedAttributesNV[i].getName());
    if(requestedAttributesNV[i].getName().equals(Attributes.CATEGORIES))
    itemCategories = (Item[]) requestedAttributesNV[i].getValue();
    length = itemCategories == null ? 0 : itemCategories.length;
    log("length="+length);
    long categoryInstanceId = 0;
    for (int i = 0; i < length; i++)
    log("Category instance " + itemCategories[i].getName() + " has id " +
    itemCategories[i].getId());
    categoryInstanceId = itemCategories[i].getId();
    log("END ORACLE TEST CODE FROM TAR");
    /* If the document does not exist in OCS */
    if (doc == null) {
    requestedAttributes = FdkUtils.newAttributeRequestArray(Attributes.URL);
    NamedValue[] nvdoc = FdkUtils.newNamedValueArray(
    new Object[][] { { Attributes.NAME,sourceFile} }
    Item def = fileM.createDocumentDefinition(nvdoc,requestedAttributes);
    int uploadStatusCode = uploadContent(
    session,
    getSampleFileStream(sourceFile,folderPath),
    (String) FdkUtils.getAttribute(def,Attributes.URL)
    log("Upload Status to definition file: "+uploadStatusCode);
    nvdoc = FdkUtils.newNamedValueArray(
    new Object[][]
    { Attributes.NAME,sourceFile},
    { Options.USE_SAVED_DEFINITION, new Long(def.getId())},
    { Options.DESTFOLDER, new Long(folder.getId()) },
    // apply category instance informationnew
    { Options.CATEGORY_DEFINITION, categoryDef }
    requestedAttributes = FdkUtils.newAttributeRequestArray(Attributes.URL);
    doc = fileM.createDocument(nvdoc,null,requestedAttributes);
    }else /* if document already exist in OCS */
              log(sourceFile+" file exists so updating ...");
    int uploadStatusCode = uploadContent(
    session,
    getSampleFileStream(sourceFile,folderPath),
    (String) FdkUtils.getAttribute(doc ,Attributes.URL)
    log("uploadStatusCode="+uploadStatusCode);
    FileInputStream fi= getSampleFileStream(sourceFile,folderPath);
    log("category id using in update="+ category.getId());
    NamedValue[] updatecatdef = new NamedValue[] {
    //new NamedValue(Options.UPDATE_CATEGORY_ID, new Long(category.getId())),
    new NamedValue(Options.UPDATE_CATEGORY_ID, new Long(categoryInstanceId)),
    new NamedValue(Options.CATEGORY_DEFINITION_ATTRIBUTES,
    new NamedValue[] {
    new NamedValue((String)internalCategoryAttrs[0].getValue(), "AH234 V2"),
    new NamedValue((String)internalCategoryAttrs[1].getValue(), "SNHGZ12 V2")
    NamedValue[] nv = FdkUtils.newNamedValueArray(
    new Object[][]
    { Attributes.NAME,sourceFile},
    { Attributes.DESCRIPTION,"Sample file"},
    //{Options.CONTENTSTREAM, fi},
    { Options.CATEGORY_DEFINITION, updatecatdef }//Newly added for category upload
    requestedAttributes = FdkUtils.newAttributeRequestArray(Attributes.URL);
    // THIS IS WHERE WE ARE GETTING ERROR
    fileM.updateDocument(doc.getId(),nv,requestedAttributes);
    System.out.println("doc = fm.updateDocument is complete ........." );
    } // end if (Document Confidentiality category present)
    } // end if category configuration enabled / overridable etc
    catch (FdkException fe)
    FdkUtils.log(fe);
    fe.printStackTrace();
    catch (Exception e)
    // java.net.MalformedURLException;
    // java.rmi.RemoteException;
    // javax.xml.rpc.ServiceException;
    // org.apache.axis.AxisFault
    log("Fatal exception occurred in run():");
    e.printStackTrace();
    finally
    if (session != null)
    session.disconnect();
    log("\n"+this.getClass().getName()+": ending");
    private FileInputStream getSampleFileStream(String filename,String path)
    throws FileNotFoundException
    FileInputStream stream = null;
    if (filename != null && filename.length() >= 1)
    if (path.length() >=1 && !path.endsWith("/"))
    path += "/";
    stream = new FileInputStream(new File(path+filename));
    return stream;
    public int uploadContent(
    FdkSession session,
    InputStream inputStream,
    String destinationURL
    throws Exception
    int statusCode = -1;
    if (inputStream == null) return statusCode;
    HTTPConnection conn = null;
    try
    URL url = new URL(destinationURL);
    conn = session.getHttpConnection(url);
    byte[] buffer = new byte[8192];
    int count=0;
    HttpOutputStream outputStream = new HttpOutputStream();
    HTTPResponse response = conn.Put(url.getFile(), outputStream);
    try
    while ((count = inputStream.read(buffer)) != -1)
    outputStream.write(buffer, 0, count);
    finally
    outputStream.flush();
    outputStream.close();
    statusCode = response.getStatusCode();
    finally
    if (inputStream != null)
    inputStream.close();
    if (conn != null)
    conn.stop();
    conn = null;
    return statusCode;
    // Handle the response. Note that a successful response may not be
    // 200, but may also be 201 Created, 204 No Content or any of the other
    // 2xx range responses.
    public void log(String s)
    System.out.println(s);
    public NamedValue[] getInternalCategoryAttrNames(String categoryName,FdkSession session) throws Exception
    NamedValue[] returnNV = null;
    Map attmap = new HashMap();
                   attmap.put(Attributes.METADATA_ATTRIBUTES,
                   FdkUtils.newAttributeRequestArray(
                   new String[] { Attributes.ATTRIBUTE_NAME,
                   Attributes.DISPLAY_NAME }));
                   AttributeRequest[] request = FdkUtils.getAttributeRequestArray(attmap);
                   Item cat = FdkUtils.getCategoryObject(session, null, categoryName, request);
    log("inside method cat id="+cat.getId());
    /** ANAKKALA START **/
    NamedValue[] catNV = cat.getRequestedAttributes();
    if( catNV != null && catNV.length >0)
    for (int i=0; i<catNV.length; i++)
    if(catNV[i].getName().equals("METADATA_ATTRIBUTES"))
    //log("** CatNV.getName="+catNV[i].getName()+" value="+catNV[i].getValue());
    Item[] meta = (Item[]) catNV[i].getValue();
    log("meta length="+meta.length);
    returnNV = new NamedValue[meta.length];
    for (int j=0; j<meta.length; j++)
    log("--Item getname="+meta[j].getName()+" value="+meta[j].getId()+" gettype="+meta[j].getType()+" gettypedesc="+meta[j].getTypeDesc());
    returnNV[j] = new NamedValue(meta[j].getName(),meta[j].getName());
    NamedValue[] metaNV = meta[j].getRequestedAttributes();
    log("---metaNV length="+metaNV.length);
    for(int k=0; k<metaNV.length; k++)
    log("------metaNV.getName="+metaNV[k].getName()+" value="+metaNV[k].getValue());
    /** ANAKKALA END **/
    //NamedValue[] ret = null;
    return returnNV;

  • Business Transaction Search for Inbox In SPRO

    Hi,
      I am creating my own Index Table for Transaction Search in SPRO to optimize the search performance. This will be used in icweb client Inbox Search.
      I will remain all standard search fields and some customizing ID fields.
      In the SPRO, I would like to add all fields into the Flat Structure.
      For example: to add standard search field "Category", I can get it from "CRMT_ORDERADM_H_IX" - "PROCESS_TYPE".
      But for some standard fields such as "Account", "Responsible Employee", "Time Period" and "Assigned To", I could not find the right field.
      Does anybody know about this? Deep appreciation for that.
      Thanks in advance.
    br,
    ginnie

    Hi,
    These different searches refers to the organization assignments and the partner functions assigned to the transaction (Service Ticket). Like for ME the system will look for all the tickets in which employee responsible is assigned as your BP.
    Similarly for My Team ,My Group and My resp group will look for the Org model in CRM and display the results accordingly.
    In the result list if you want to display the Service Employee Group Column then goto the Personalize button and make that column as Display.
    Regards,
    PP

  • Folder option in KM search Iview

    Hi All,
    I am using KM search Iview, when I click on "Show Options" link in the header, it is showing many option like " Search Scope", "Display Results',"Filter by Properties", and ect..
    Now I wanted to customize this search options, for this I choose "Search option set" under "Configuration-> Content Management -> User Interface -> Search ". I can manage to customize the screen to some extent. like enable / disable the properties etc....
    Now, I have a problem.... I need to remove the radio button and option for " Folders (and Subfolders)" which have a radio button infront of it,a text area after the name and a browse button.
    I dont want this option in "search scope" at all. I need only one option with Indexes. I tried giving default search as INDEX but still the folder option appears. What I need to remove the FOLDER option totall.
    Any Idea? Also If I want to change the text or removing input boxes under a category like               "Filter by Properties" what I need to do? where I need to make the changes.
    Please let me know the solution.
    1) remove the folder / browser option from "search scope" category.
    2) remove / add new fields under "Filter by Properties" category.
    thanks in advance.
    PradeeP

    Hi Pradeep
    1)
    The search from folders can only be customized using the parameter I mentioned. And this parameter needs to be added in the search iview, you are using - not the search option set, nor the search component set.
    2.1)
    See http://help.sap.com/saphelp_nw70/helpdata/EN/cc/f4e77ddef1244380b06fee5f8b892a/frameset.htm for a thorough description of how to use the Search Options Set. You will have to enter the predefined properties specifically in the search options set in order to give the end user the possibility to filter by these values.
    2.2)
    If you want to translate some of the labels from the Search Interface (headings for search components, labels for buttons, etc), you will have to edit the .properties-file I mentioned (and perhaps others).
    If you want to change the labels from your predefined properties, you should do it through this: http://help.sap.com/saphelp_nw70/helpdata/EN/65/6fc63ed4027f6be10000000a114084/frameset.htm
    3)
    If you could not remove the links for the Administrator then this might be caused by the fact that the administrator is using a different layoutset than the one, you configured.
    If you want to change "size of file, view html links below the individual results / documents", you should go to your search result layout set > collection renderer > displayed properties (single entry in the collection renderer). See documentation here: http://help.sap.com/saphelp_nw70/helpdata/EN/87/3d48475ee8bd448c4031aa98d90524/frameset.htm
    Unfortunately I dont have the time to make a step by step guide for you, but I believe I have answered your questions.
    Best regards,
    Martin Søgaard

Maybe you are looking for

  • How do i get my apps back after os 5 update

    I upgraded to os 5* and have now lost all my apps.  They will not sync from the computer to the ipad. Any ideas?

  • KVM for mini-dv?

    Hi. I've got a MacBook Pro with a mini-DVI video port and one of the new LED Cinema Displays that go so beautifully with it, also using mini-DVI. I'm getting one of the just-released Mac Minis, which also has a mini-DVI video out. I'd like to set up

  • Install Creme and MI Client on SD Card

    Hi All, Due to low memory in my device, I have tried install creme and mi client on SD card follwing the below instructions suggested by some one. +Refer the steps mentioned below for MI Client + CreMe on SD Card.....+ Installing MI and data on SD RO

  • Linking two JFrames using JButton-very,very urgent

    Hello, I have two JFrames I created using javax.swing.I am new to ActionListener.The two classes are the frames.Could someone please link them for me?Their code is as follows:- 1. import java.awt.*; import javax.swing.*; import java.awt.event.*; publ

  • Logging date/time with measurements put into a spreadsheet

    I have a VI set up to receive temperature readings and log them to a spreadsheet. I also want to log the time and date with each reading. How do I do that since the temperature readings are numbers and time/date is a string.