How to subcategories DocType in UCM

Hii all,
i am developing an portal application,
in the application i am uploading the document according to the DocType in ucm
The document types are been called with the help of RIDC call GET_DOCTYPES in select one option list on jspx.
Now i want to subcategories this doctypes into different categories
i.e when user select the main category,
For example depending upon the department name so this doctype should populate into select one option list according to the department name.
The problem is that UCM doesn't offer any direct relationship for this Doctypes...
Is there is any way by which we can group this doctypes into different category or groups in UCM itself..???
Thanks

The simplest approach is to use the DocType metadata field as the parent not the child. Put your departments there, or if DocType has been autopopulated by some of the components make a seperate set of fields.
As an example just set DocType = Documents.
Then create two new metadata fields xDepartment and xContentType. Make xContentType a dependent choice list to xDepartment.
With this approach you can easily limit the type of content each department contributes, but you can still search on xContentType independently.

Similar Messages

  • How to generate field on UCM check-in form???

    Hi,
    How to generate field on UCM check-in form???
    I mean in check-in new document form i have an option list metadata field (ex: Type)
    When i select Person like Type value, it generate me input text depended on it for exemple
    - Name (input text)
    - Adress (input text)
    - phone (input text)
    And when i click on check-in button it save the input value on Person table
    Please help me
    Khadim

    Hi jiri.machotka
    I Know this link but what i want to do is generating dynamically a sub form (in checkin form) depending on choice
    For example when my choice is Person it generate a sub form containing
    Name (input with its label)
    Firstname
    Lastname
    Age
    Regard
    CABDiop

  • How Indexing function in Oracle UCM 11g

    Hello All,
    I am using Oracle UCM 11g on Windows platform.
    I wanted to know as how the indexing in Oracle UCM Funtions? Here are few more questions related to this.
    1. If multiple language characters are added in document and if document is indexed, then
    how the data (tokens) will be stored in Database?
    2. How the search will function

    Hi
    1. If multiple language characters are added in document and if document is indexed, then
    a. how the data (tokens) will be stored in Database?
    This is stored in the DB tables IdcColl1 or IdcColl2 ( if DB FullText is search indexer engine) and table would be IdcText1 or IdcText2(if OracleTextSearch indexer is used) . It is these tables that store the entire data from the contents and they are referred to / queried when a FT search is invoked from UCM .
    b. how indexing will be done?
    Indexer would extract all the data from the contents in case of FT indexer mechanism and would store them in the DB tables mentioned above . It is stored in BLOB columns where in the extraction process would do an insert for every content item that is being processed when Collection Rebuild Cycle / Automatic Update cycle is started .
    2. What is settings to be done in Oracle and search engine for this?
    For DB the relevant UCM scripts need to be executed so that the correct role are created and the packages are created.
    3. What will be extra settings need to be done in case if the OS changes for example Linux.
    The relevant libraries need to be checked to make sure that indexer can access them since there are lots of dependent libraries for the indexer process which is invoked by the TextExport process and these libraries vary for different OS . As part of the indexer process to be running fine all that needs to be done is to install/enable the OS specific versions of ContentAccess component on UCM .
    Hope this gives an understanding on the Indexing part of UCM .
    Thanks
    Srinath

  • How Can I call a UCM service from SOAP request

    Hi,
    I have created one custom service and I would like to call that service from 3rd Party system via SOAP call. The 3rd Party system does not have the capability to call through RIDC.
    Now I have exposed my service and tried to call but authentication exception was coming status code 401.
    So I created one sample ADF application and tried to call the DocInfo service for testing (I thought let's try DocInfo then I will check my custom service). I downloaded the DocInfo service from UCM and  uploaded the WSDL into the project and got the client DocInfoSoapClient.java file.
    public class DocInfoSoapClient
      @WebServiceRef
      private static DocInfo docInfo;
      public static void main(String [] args)
        docInfo = new DocInfo();
        DocInfoSoap docInfoSoap = docInfo.getDocInfoSoap();
        DocInfoByNameResult res = docInfoSoap.docInfoByName("TEST_001603", null);
        System.out.println(res.getContentInfo());
        // Add your code to call the desired methods.
    The error is coming like:
    Exception in thread "main" com.sun.xml.ws.client.ClientTransportAccessException: The server sent HTTP status code 401: Unauthorized: http://xxxxxxxx:16200/_dav/cs/idcplg
      at com.sun.xml.ws.transport.http.client.HttpTransportPipe.getClientTransportException(HttpTransportPipe.java:340)
    I tried a lot but same error. There should be some process by which I can send the userid and password but failed. Even I tried to send the properties as key value pair in IdcPropertyList but I know that is wrong.
    I checked the Issue: https://community.oracle.com/thread/2424460
    But there was no answer.
    Can anyone help on it?
    Regards,
    Santanu

    Hi Santanu,
    You need to write SoapHandler in order to pass username and pwd. You will need 2 classes namely HeaderHandlerResolver & SoapHandler. This is how i do in in my JAX-WS clients. I generate stubs and then attach handler to webserviceinterface
    PFA HeaderHandlerResolver.java and SoapHandler.java you would attach soap handler something like this in your code i have never done this via ADF so not sure.
    HeaderHandlerResolver soapHandlerResolver = new HeaderHandlerResolver();
    docInfo.setHandlerResolver(soapHandlerResolver);
    In SoapHandler class you will mention username and pwd like this
    soapMessageContext.put(BindingProvider.USERNAME_PROPERTY,"username");
    soapMessageContext.put(BindingProvider.PASSWORD_PROPERTY,"pwd");
    Regards,
    Amol Gavali

  • How to install and configure UCM VCR adapter in WLP 10.3.x?

    Hi,
    There is a requirement for my client where need to use Oracle Universal Content Management as a content repository and Weblogic Portal as a portal user interface.
    For this requirement, i read this article to do the same " http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/ucm_adapter/install.html#wp1087653 " but as specified in this article section " Add a reference to UCM VCR Adapter Shared Library", i am not able to find the oracle-ucm-spi-app-lib.ear in the specified location i.e <BEA_HOME>/wlportal_10.3/content-mgmt/lib/j2ee-modules/
    My Queries are
    1. Is it anything wrong in my WLP installation because of that the specified ear file is missing in that location?
    2. Is the UCM has to be installed in my machine , but the UCM content server is already available in some other server?
    3. where can i get the oracle-ucm-spi-app-lib.ear file to follow the next steps in the article
    4. Is there any other way to configure VCR to refer the UCM content server which is already available in remote server?
    Please guide me on " how to configure the VCR in my local WLP server" .
    Thanks a lot
    Suresh

    Hi Suresh
    Only the latest version of WLP which is WLP 10.3.2 has facility to integrate with Oracle UCM with Adapaters. So make sure that you do have this latest version of WLP 10.3.2. Older versions like WLP 10.3 do not have this provision.
    Also I guess when you install and configure this Oracle UCM Adapater and choose above WLP Home, I guess these modules may be added in already installed WLP folders. I checked on my side for WLP 10.3.2 and I could NOT find the modules you mentioned. So most probably you may be missing some installation/configuration stuff from UCM side.
    Thanks
    Ravi Jegga

  • How to fetch content from UCM in WLP using VCR

    Hi,
    I configured the connection between weblogic portal v10.3.2 and UCM 11g using VCR adapter guide. But i am struck in how to fetch the content from UCM/VCR and display it in Weblogic portal.
    Please guide me on how to fetch the content from UCM/VCR and display it in Weblogic Portlet ( JSF Portlet). is there any api is available to get the content from ucm and display it in portlet.
    Appreciate your support here.
    Thanks a lot,
    Suresh

    Suresh,
    Please check the name of the VCR configured in the UCm.
    You can use a batch file to load the VCR on to your Weblogic server. Using the name you can retrieve the contents from UCM.
    Please let us know other configuration details to help you further

  • How to ignore DOCTYPE when parsing xml java?

    Hello
    i am trying to parse some sml files that have:
    <!DOCTYPE ModuleRoot SYSTEM "C:\xxx\xmlapp.dtd">
    i don;t have the dtd file
    how can i ignore it by changing my code and not changing the xml file.
    DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
    DocumentBuilder documentBuilder = documentBuilderFactory.newDocumentBuilder();
    this.doc = documentBuilder.parse(xmlFileName);
    i got exception in this.doc = documentBuilder.parse(xmlFileName);
    (The system cannot find the path specified)
    Thanks in advance.

    You need to create an EntityResolver that returns a dummy DTD. Since you aren't actually validating, this can be as simple as:
            db.setEntityResolver(new EntityResolver()
                public InputSource resolveEntity(String publicId, String systemId)
                    throws SAXException, IOException
                    return new InputSource(new StringReader(""));
            });For more information, here's an article that I wrote on [XML parsing and validation|http://www.kdgregory.com/index.php?page=xml.parsing].

  • How to recreate database for UCM

    I was able to change the DB connection from one to another by change the settings through "System properties". however, there were some database objects(tables) created during the UCM installation. is there anyway I can switch to new database and get UCM database objects recreated without re-installing the UCM? there seems some sql scripts in the database directory, but I'm not sure how to run them, the order and parameter are not clear to me.
    Thanks

    Hi
    One thing that you can do to recreate the default tables and columns is to run the all.sql script on the DB which is specific for your db .If you want to just recreate an image replica then extract the ddl statements from your current db and put it in a sql script and execute that directly on the other db instance . In this case make sure to change the instance specifc details in the ddl script extracted and replace them with the newer instance details like the table space name , user name executing it and like wise.
    Another way would be to use Archiver to create export batch file for the Tables and then importing them to the target instance. The way out for this is to go to Archiver Applet - Create New Archive - Export - Tables and here and include all the tables that are there in the content server.
    Hope this helps
    Thanks
    Srinath

  • How to add doctype when generating XML from an arbitrary data structure

    I was reading SUN's tutorial "Working with XML - PART IV: Using XSLT". Inside this tutorial, in 3, it talks about how to generate XML from an arbitrary data structure making use of a XMLReader and a Transformer. The example only shows adding elements. Is there a way to add DTD information in the XML generated, i.e. <!DOCTYPE ... >? What APIs can I use?
    Thanks,
    Alex

    The simplest way seems to me is to use a XSL file for that. The <xsl:output> attributes doctype-system and doctype-public generate the DTD declaration <!DOCTYPE YOUR_ROOT SYSTEM "yourDTDfile.dtd"> and <!DOCTYPE YOUR_ROOT PUBLIC "yourDTDfile.dtd">, respectively.
    When calling transformerInstance.transform() the XSLT processor performs the identity transformation - it just copies elements, attributes, content, processing instructions and comments to the result stream.
    If you're using an xsl file for your transformation already, simply add <xsl:output doctype-system="yourDTDfile.dtd"/> to your existing XSL file.
    If you're only using the identity transformation you'd need to change the line of code where you obtain the transformer instance from the TransformerFactory to:
    t_factory.newTransformer(new StreamSource("test.xsl"));
    and use this as test.xsl:
    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
       <xsl:output doctype-system="yourDTDfile.dtd"/>
       <!-- this is the identity transformation -->
       <xsl:template match="*|@*|comment()|processing-instruction()|text()">
          <xsl:copy>
             <xsl:apply-templates select="*|@*|comment()|processing-instruction()|text()"/>
          </xsl:copy>
       </xsl:template>
    </xsl:stylesheet>Good luck.

  • How to add DOCTYPE in XML using jaxp-1.2 ????

    Hi all,
    I know this question has been asked at least 2000 times. But I couldn't find the answer from the previously posted messages.
    I would like to create a new Document (actually a XML document) and to write it out into a file. Of course, to be useful, that document needs a DTD... But I can't find a way to create that DOCTYPE tag.
    In fact, I get this error: org.apache.crimson.tree.DomEx: HIERARCHY_REQUEST_ERR: This node isn't allowed there.
           at org.apache.crimson.tree.XmlDocument.appendChild(XmlDocument.java:661)
           at ServiceManager.PlaylistDOM.createDoc(PlaylistDOM.java:99)
           at ServiceManager.PlaylistDOM.load(PlaylistDOM.java:52)
           at java.lang.Thread.run(Thread.java:536)The code I have is the following:
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    try {
        //create a factory and configure it
        DocumentBuilder builder = factory.newDocumentBuilder();
        playlistDoc = builder.newDocument();
        DOMImplementation impl = builder.getDOMImplementation();
        DocumentType doctype = impl.createDocumentType(ROOT_EL, null, "playlist.dtd");
        playlistDoc = impl.createDocument(null, ROOT_EL, doctype);
    catch (ParserConfigurationException pce) {}
    //create the root of the XML file
    Element root = (Element) playlistDoc.createElement(ROOT_EL);
    root.setAttribute(FRAME_ATTR, fNb);
    playlistDoc.appendChild(root);
    //now print it out into XML file
    TransformerFactory tfactory = TransformerFactory.newInstance();
    try {
        Transformer transformer = tfactory.newTransformer();
        DOMSource source = new DOMSource(playlistDoc.getDocumentElement());
        StreamResult res = new StreamResult(new File(filename));
        transformer.transform(source, res);
    catch (TransformerConfigurationException tce) {}
    catch (TransformerException te) {}Thank you for your help

    add both SYSTEM and PUBLIC, then you will find PUBLIC :P
    ================
    If the doctype-public or doctype-system attributes are specified, then the html output method should output a document type declaration immediately before the first element. The name following <!DOCTYPE should be HTML or html. If the doctype-public attribute is specified, then the output method should output PUBLIC followed by the specified public identifier; if the doctype-system attribute is also specified, it should also output the specified system identifier following the public identifier. If the doctype-system attribute is specified but the doctype-public attribute is not specified, then the output method should output SYSTEM followed by the specified system identifier.
    reference: http://java.sun.com/j2se/1.4.1/docs/api/javax/xml/transform/OutputKeys.html

  • How to boost search in UCM?

    I am talking about performance tuning. one option may be to increase the memory, but what should be the memory size.and where to check the current memory size of my content server?
    Thanks.

    Hi ,
    CS Search performance to a large extent is very much dependent on how good is the DB health . For eg : if the db indexes are fragmented then it very cause search to perform really bad .
    So , one of the first checks to be done is to make sure that DB is in good shape . Please follow the steps mentioned in following post :
    https://forums.oracle.com/message/11021379
    https://forums.oracle.com/message/10212265
    Look at the last post where steps on how to de-fragment the indexes are provided .
    Hope this helps.
    Thanks,
    Srinath

  • How should the DOCTYPE statement appear when saving as XML?

    This seems so trivial, but I cannot figure it out.
    When I save a Frame file as XML, the DOCTYPE statement is written as
    <?DOCTYPE ..... ?>
    instead of
    <!DOCTYPE ..... >
    I noticed this because Frame exports the content of empty table cells as the nobreaking space entity. When I try to open the XML file in a browser, the browser cannot parse the nobreaking space entity, even if I include its definition in the ?DOCTYPE statement. Changing the DOCTYPE statement to <!DOCTYPE ... > makes the ENTITY definition visible to the browser.
    What am I missing?
    Thanks,
    Van

    Van,
    I tried that document and got the expected and correct <!DOCTYPE declaration.
    I'm at a loss to know what to suggest. This will not be anything that can be set in maker.ini because there are no circumstances where a processing instruction should replace the real DOCTYPE declaration.
    This is what my FrameMaker 9 produced:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE Chapter SYSTEM "file:///C:/Program%20Files/Adobe/Adobe%20Technical%20Communication%20Suite%202/Adobe%20F rameMaker%209/structure/xml/Book/app_xml/Book.DTD" [
    <!-- Begin Document Specific Declarations -->
    <!NOTATION cgm SYSTEM "">
    <!ENTITY Equation1 SYSTEM "Equation12.cgm" NDATA cgm>
    <!ENTITY Equation2 SYSTEM "Equation23.cgm" NDATA cgm>
    <!ENTITY Equation3 SYSTEM "Equation34.cgm" NDATA cgm>
    <!-- End Document Specific Declarations -->
    ]>
    Regards
    Ian

  • HOW TO: do external db lookups with AJAX on UCM checkin pages

    Several folks have been asking how to use ajax in UCM and how to do external data source lookups.
    So we posted the step by step for you on our C4 blog:
    http://bit.ly/bgOfm2
    The post is full of code-goodness and addresses
    * Custom Components
    * Custom Services
    * Database Providers
    * Custom Query Resources
    * Custom Java Service Handlers
    * MergeInclude
    * Resource Includes
    it assumes you are familiar with:
    * basic UCM component architecture
    * creating components using the Component Wizard
    * creating a database provider in the UCM interface
    * how to create a custom class and include it in a component.
    * how to take sample code and make it your own
    If you are not familiar with those things or if you want supported components that work on 10 and 11g then reach out to us directly and we will help
    Warmly,
    Billy Cripe
    Fishbowl Solutions

    Several folks have been asking how to use ajax in UCM and how to do external data source lookups.
    So we posted the step by step for you on our C4 blog:
    http://bit.ly/bgOfm2
    The post is full of code-goodness and addresses
    * Custom Components
    * Custom Services
    * Database Providers
    * Custom Query Resources
    * Custom Java Service Handlers
    * MergeInclude
    * Resource Includes
    it assumes you are familiar with:
    * basic UCM component architecture
    * creating components using the Component Wizard
    * creating a database provider in the UCM interface
    * how to create a custom class and include it in a component.
    * how to take sample code and make it your own
    If you are not familiar with those things or if you want supported components that work on 10 and 11g then reach out to us directly and we will help
    Warmly,
    Billy Cripe
    Fishbowl Solutions

  • How to get top downloaded or accessed content from ucm in webcenter

    Hi,
    How to get the top ucm accessed contents or downloads from ucm using ridc?
    Is it possible to retrieve content tracker details using ridc?
    Thanks,
    Chandrasekar M

    Like anything else Content Tracker functionality is provided in a form of services, but it might require a bit search to find which services are to be called and how.
    However, Content Tracker stores data in the database tables - (also to be available for External Report Generator), so why not to take data directly from the database? Alternatively, you could configure the system to send reports for you and take it from there.
    What exactly is your use case?

  • How integrate ODC with UCM 11g

    Hi i need conect ODC with UCM 11g.
    Somebody knows as I can connect ODC with UCM 11g what is the form to make the connection or that connectors and of I can download where them, I have made the connection of ODC with UCM 10g and it has worked to me but profit not to do it with UCM 11g somebody can help me?

    See the answer to your other post: Configure a commit profile in ODC to UCM 11g
    If you know the technique how to create File Cabinets - UCM Commit Profile for 10g, it is almost the same. You may have to upgrade your ODC, though (I have noticed there is a new tab available)

Maybe you are looking for

  • How to use  array of obects  in jsp

    I had passed an array of objects (Bean object) by using request.setAttribute("Bean",req); but how i display the values in my textbox on clicking next or prev button of my jsp. Customer ID      <input type="text" name="customerid" value=<%=req.getCust

  • Problem with decimal symbol

    When I import in string format and after try to convert to number sometimes my procedure fails. I see that sometimes database need number string decimal symbol to be '.' and I replace ',' with '.' . But time after I find that I must change my procedu

  • Adding drives, what to do next

    Our XServe RAID currently has in service (4) 250GB drives in RAID 5 on channel 1 for a total of 750GB usable space. We just purchased (4) 750GB drives and installed and formatted them for 2.1TB of usable space on channel 2. I would like to use all of

  • Verizons best kept secret

    I purchased a new iPhone 6 plus when it first came out was on a waiting list to get one. after I received the phone in less than 2 weeks the phone died. T took the phone back to the Verizon store and they told me they would replace the phone but I ha

  • Back (or show previous page) button and Ebay....

    Hello all. I am having a problem with ebay and the back button on Safari. It started with version 3, and it continues to version 4. When I am looking at an item, if I click the back button, the page just reloads. I have to double click the back butto