UCM checkin validation

hi,
I got some difficulties in doing validation check during the content check in process, is there any way to do so such as checking the duplicated title, or other custom metadata fields??
Many thanks and regards,
Edited by: user8960906 on Mar 4, 2010 7:46 AM

This kind of work is sometimes performed by creating a component and using the validateStandard Java filter where you can do things like access the database to check for a previous piece of content with the same title or whatever other data validation you need to do.
To get started, check out the how-to components on oracle's site:
http://www.oracle.com/technology/products/content-management/ucm/samples/HowToComponentsBundle.zip

Similar Messages

  • 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 disable Switch Profile and Auxilliary Metadata set on UCM checkin screen?

    We are using webcenter content 11.1.1.6 with Record Management component installed on top of it
    While trying to checkin a new document from a normal checkin screen or from Manage attachments screen two options come at the top 'Switch Profile and Auxilliary Metadata set'
    How can these options be disabled?

    Hi,
    The xExternalDataSet is already an empty string on the check in page
    When i append &IsJava=1, the variables have these values
    xExternalDataSet=
    xExternalDataSet:isInfoOnly=1
    xExternalDataSet:isSetDefault=1
    Isn't there a config variable for this, as I see this component has come as part of record management but no option to disable when I configure record management
    Thanks,
    Gaurav

  • Creation of Custom service

    Hi All,
    I have created a custom component(ZipBulkDownload) in the content server, and created a resource(service) in the component. I am not able to call the service "No Service found for ZipBulkDownload" and in the backend (in the server log file) it is showing the following error message
    "The request was not processed by the Service handler because of a protocol error.".
    In the UCM the following error is been thrown
    IdcAdmin: The request was not processed by the Service handler because of a protocol error.
    The request headers parsed from the request are:
    {IDC_REQUEST_AGENT=webserver, HTTP_ACCEPT_ENCODING=gzip,deflate, SERVER_SOFTWARE=Apache/2.0.63 (Win32), QUERY_STRING=IdcService=ZipBulkDownload, HTTP_CGIPATHROOT=/idc/idcplg, HTTP_INTERNETUSER=sysadmin, ThreadCount=1, HTTP_HOST=localhost:90, EXTERNAL_EXTENDEDUSERINFO=\@Properties LocalData\ndUserLocale=English-US\nblFieldTypes=\ndEmail=abhijit\\\@estuate.com\nuPhone=\nblDateFormat=M/d/yy {h:mm[:ss] {aa}[zzz]}!mAM,PM!tAsia/Calcutta\nuCompany=\ndFullName=System Administrator\ndUserType=\ndUserAuthType=LOCAL\ndUserChangeDate={ts '2010-06-25 19:30:22.406'}\ndUserTimeZone=\ndUserArriveDate={ts '2010-06-25 19:30:12.890'}\nuPhoneNumber=\n\@end\n\n, HTTP_COOKIE=IntradocLoginState=1, HTTP_CONNECTION=keep-alive, SERVER_NAME=localhost, REMOTE_HOST=127.0.0.1, RemoteClientHostAddress=127.0.0.1, HTTP_USER_AGENT=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.4) Gecko/20100611 Firefox/3.6.4 ( .NET CLR 3.0.4506.2152), RemoteClientPort=4440, HTTP_TARGETINSTANCE=idc_ucm, EXTERNAL_USERSOURCE=IDC/LOCALUSERS, EXTERNAL_ACCOUNTS=#all, HTTP_ACCEPT_LANGUAGE=en-us,en;q=0.5, RemoteClientRemotePort=1395, REMOTE_ADDR=127.0.0.1, IdcAuthChallengeType=http, EXTERNAL_ROLES=admin,sysmanager, IsSocketConnection=1, SERVER_PORT=90, PATH_INFO=/cs-admin/pxs, IDC_REQUEST_CTIME=1277697906, SERVER_PROTOCOL=HTTP/1.1, SERVER_PROTOCOL_TYPE=NONE, HTTP_ACCEPT=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8, PATH_TRANSLATED=E:/UCM/weblayout/idcplg, GATEWAY_INTERFACE=CGI/1.1, REQUEST_METHOD=GET, HTTP_RELATIVEURL=/cs-admin/, SCRIPT_NAME=/idc/idcplg/cs-admin/pxs}
    !$IdcAdmin: !$The request was not processed by the Service handler because of a protocol error.<br>The request headers parsed from the request are:<br>{IDC_REQUEST_AGENT=webserver\, HTTP_ACCEPT_ENCODING=gzip\,deflate\, SERVER_SOFTWARE=Apache/2.0.63 (Win32)\, QUERY_STRING=IdcService=ZipBulkDownload\, HTTP_CGIPATHROOT=/idc/idcplg\, HTTP_INTERNETUSER=sysadmin\, ThreadCount=1\, HTTP_HOST=localhost:90\, EXTERNAL_EXTENDEDUSERINFO=\\@Properties LocalData\\ndUserLocale=English-US\\nblFieldTypes=\\ndEmail=abhijit\\\\\\@estuate.com\\nuPhone=\\nblDateFormat=M/d/yy {h:mm[:ss] {aa}[zzz]}\!mAM\,PM\!tAsia/Calcutta\\nuCompany=\\ndFullName=System Administrator\\ndUserType=\\ndUserAuthType=LOCAL\\ndUserChangeDate={ts '2010-06-25 19:30:22.406'}\\ndUserTimeZone=\\ndUserArriveDate={ts '2010-06-25 19:30:12.890'}\\nuPhoneNumber=\\n\\@end\\n\\n\, HTTP_COOKIE=IntradocLoginState=1\, HTTP_CONNECTION=keep-alive\, SERVER_NAME=localhost\, REMOTE_HOST=127.0.0.1\, RemoteClientHostAddress=127.0.0.1\, HTTP_USER_AGENT=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.4) Gecko/20100611 Firefox/3.6.4 ( .NET CLR 3.0.4506.2152)\, RemoteClientPort=4440\, HTTP_TARGETINSTANCE=idc_ucm\, EXTERNAL_USERSOURCE=IDC/LOCALUSERS\, EXTERNAL_ACCOUNTS=#all\, HTTP_ACCEPT_LANGUAGE=en-us\,en;q=0.5\, RemoteClientRemotePort=1395\, REMOTE_ADDR=127.0.0.1\, IdcAuthChallengeType=http\, EXTERNAL_ROLES=admin\,sysmanager\, IsSocketConnection=1\, SERVER_PORT=90\, PATH_INFO=/cs-admin/pxs\, IDC_REQUEST_CTIME=1277697906\, SERVER_PROTOCOL=HTTP/1.1\, SERVER_PROTOCOL_TYPE=NONE\, HTTP_ACCEPT=text/html\,application/xhtml+xml\,application/xml;q=0.9\,*/*;q=0.8\, PATH_TRANSLATED=E:/UCM/weblayout/idcplg\, GATEWAY_INTERFACE=CGI/1.1\, REQUEST_METHOD=GET\, HTTP_RELATIVEURL=/cs-admin/\, SCRIPT_NAME=/idc/idcplg/cs-admin/pxs}<br>--------------<br>No service defined for ZipBulkDownload.!syExceptionType,java.lang.Throwable
    java.lang.Throwable
         at intradoc.common.IdcLogWriter.doMessageAppend(IdcLogWriter.java:80)
         at intradoc.common.Log.addMessage(Log.java:270)
         at intradoc.common.Log.errorEx2(Log.java:218)
         at intradoc.common.LoggingUtils.logMessage(LoggingUtils.java:99)
         at intradoc.common.SystemUtils.reportErrorEx(SystemUtils.java:555)
         at intradoc.common.SystemUtils.errEx(SystemUtils.java:640)
         at intradoc.common.SystemUtils.err(SystemUtils.java:631)
         at intradoc.server.ServiceManager.onError(ServiceManager.java:630)
         at intradoc.server.ServiceManager.processCommand(ServiceManager.java:331)
         at intradoc.server.IdcServerThread.run(IdcServerThread.java:197)
    Please suggest us where we are going wrong or please give me a url which helps me to create a custom service.It is really urgent as my project deadline is too near
    With thanks and regards
    Mohan
    Edited by: user13306659 on Jun 27, 2010 10:02 PM

    Hey there,
    A couple things to check:
    1. Is the component enabled? Obvious question but you would be surprised how often it happens. I've been doing this 6+ years and sometimes I still forget to enable a new component I've created.
    2. Did you restart the content server? Service definitions need a content server restart to take affect.
    A few other things:
    1. There is an out of the box component called the ContentBasket that does the exact functionality you built. It takes a set of content items, and zips them up for download.
    2. A reference for creating almost all the pieces of a custom component in UCM: http://cfour.fishbowlsolutions.com/2010/05/28/how-to-adding-an-external-database-lookup-to-a-ucm-checkin-form/
    3. Take Venkat's suggestion and post anything UCM specific in the ECM forum in the future: WebCenter Content
    Hope that helps,
    Andy Weaver - Senior Software Consultant
    Fishbowl Solutions < http://www.fishbowlsolutions.com?WT.mc_id=L_Oracle_Consulting_amw_OTN_WCS >

  • Batchloader file with en dash characters in metadata not loading

    I'm trying to batch load metadata which has en dash characters (long hyphens) in the data.
    After I have loaded the batch file the en dash characters are not displayed correctly in UCM.
    I have manually added metadata which includes the en dash character using the UCM checkin page and it works fine.
    I have tried escaping the character in the batchloader file but it didnt work, I tried using \&#150;
    Is there anything else I could try?
    Thanks.

    Try one of options available here: http://www.fileformat.info/info/unicode/char/2013/index.htm

  • Desktop Integration Suite Feature

    Hi All,
    We have user requirement where in when user drags and drops a file in UCM using DIS from Windows explorer, metadata screen and the file that is dragged in should open side by side so that user can look in the file and input the metadata fields. We can make metdata prompts but file does not open(i think file is not in UCM yet). Is there any setting in UCM or DIS where file opens along with metadata when user drags the file?.
    Any help in this regard is appreciated.
    Thanks.

    There are two ways that you can try:
    1) Try ODDC. It seems exactly what you need considering the Xerox example you mentioned. You will need to write a mapping of ODDC vs UCM metadata.
    In ODDC, you can scan or import files from a location, to create a batch. Users then click on the batch - to see ODDC metadata & the batch pages side-by-side.
    User fills in metadata and then submits the batch [*INDEXING*]. The batch then gets checked into UCM, based on defaults/metadata mapping set in ODDC.
    You can further write a custom UCM checkin filter to take control of metadata/security that gets applied on the checked in file.
    2) Use DIS latest build. in Content Info page, provide a link to view the web-viewable file in the Preview Pane itself.
    Users can then right-click and use the new "Update Metadata" feature. (However it has a bug that it updates the Release Date!!!)
    I recommend first way. And indeed, the Kofax is market leader in this category but over-kill for sporadic usage.
    With ODDC, you can also write integration very easily using .VBS scripts that can be hooked at various events inside ODDC. We wrote one that uses IdcClientUX.ocx to talk to UCM, while document is being INDEXED
    Our users are loving it, to say the least. It's fast and easy to deploy for new users/workstations as it web-based.

  • External Data source

    Is it possible to connect to an external database and then use data from it in a Site Studio page via IdocScript?
    I know its possible to add Database Providers, but how can you work with the data from that Provider after connecting?
    Thanks,
    -Jason
    Edited by: jschulz on Aug 3, 2010 2:57 PM

    Hey Jason,
    Check out this blog post I wrote up a while ago that shows using data from an external provider on a checkin screen. It doesn't exactly match your use case for a Site Studio page but hopefully you can leverage most of the concepts to retrieve the data.
    http://cfour.fishbowlsolutions.com/2010/05/28/how-to-adding-an-external-database-lookup-to-a-ucm-checkin-form/
    Hope that helps,
    Andy Weaver - Senior Software Consultant
    Fishbowl Solutions < http://www.fishbowlsolutions.com?WT.mc_id=L_Oracle_Consulting_amw_OTN_ECM >

  • BPEL skip checkin documents in UCM

    Guru's :
    We have an serious issue, We are trying to load documents into UCM from BPEL that Invokes 2-way operation CheckIn.wsdl & service : CheckInUniversal as you can see below. There will be request in BPEL for creating multiple documents for the same opportunity header that is being created in UCM in second/ milli second time difference for each document. Here, Sometimes BPEL skipping /overwriting the documents while checkin & gives the same dID & dRevClassID in both the checkInUniversalOutput.
    For example : If Doc A & Doc B being process by BPEL, Doc A is missing in UCM & Doc B is being loaded. But, BPEL checkInUniversalOutput response says Boc A loaded successfully.
    Please refer checkInUniversalOutput section in both the below xml outputs (Document 1 & Document 2). Though we processed 2 different documents, it says “Successfully checked in content item '1481633'” in both the xml & we see only one document in UCM.
    Could anyone through some lights whats happening here? Is there any way to debug increasing the logging etc?
    thanks in advance.
    Document 1:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <part>
    - <messages>
    - <checkInUniversalInput>
    - <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameters">
    - <CheckInUniversal xmlns:s0="http://www.stellent.com/CheckIn/" xmlns="http://www.stellent.com/CheckIn/">
    <s0:dDocTitle>Impact Plan</s0:dDocTitle>
    <s0:dDocType>SiebelAttachment</s0:dDocType>
    <s0:dDocAuthor>admin</s0:dDocAuthor>
    <s0:dSecurityGroup>SiebelDocuments</s0:dSecurityGroup>
    - <s0:CustomDocMetaData>
    - <s0:property>
    <s0:name>xTrigger</s0:name>
    <s0:value>SiebelDocProfile</s0:value>
    </s0:property>
    - <s0:property>
    <s0:name>xsiebelOpprnty</s0:name>
    <s0:value>1-3D524</s0:value>
    </s0:property>
    - <s0:property>
    <s0:name>xsiebelStatus</s0:name>
    <s0:value>New</s0:value>
    </s0:property>
    - <s0:property>
    <s0:name>xsiebelConfidential</s0:name>
    <s0:value>No</s0:value>
    </s0:property>
    - <s0:property>
    <s0:name>xComments</s0:name>
    <s0:value>Impact Plan</s0:value>
    </s0:property>
    - <s0:property>
    <s0:name>xsiebelDocType</s0:name>
    <s0:value>Impact Plan</s0:value>
    </s0:property>
    - <s0:property>
    <s0:name>xOrganization</s0:name>
    <s0:value>UK,</s0:value>
    </s0:property>
    </s0:CustomDocMetaData>
    - <s0:primaryFile>
    <s0:fileName>Real_CV.pdf</s0:fileName>
    <s0:fileContent>dfssdggsgsgsgsdgssdgsdgsddffsfsdfsfsfsfsf
    </s0:primaryFile>
    </CheckInUniversal>
    </part>
    </checkInUniversalInput>
    - <checkInUniversalOutput>
    - <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameters">
    - <idc:CheckInUniversalResponse xmlns:idc="http://www.stellent.com/CheckIn/">
    - <idc:CheckInUniversalResult>
    *<idc:dID>1481741</idc:dID>*
    *<idc:dRevisionID>1</idc:dRevisionID>*
    *<idc:dRevClassID>1481633</idc:dRevClassID>*
    *<idc:dRevLabel>1</idc:dRevLabel>*
    - <idc:StatusInfo>
    *<idc:statusCode>0</idc:statusCode>*
    *<idc:statusMessage>Successfully checked in content item '1481633'.</idc:statusMessage> </idc:StatusInfo>*</idc:CheckInUniversalResult>
    </idc:CheckInUniversalResponse>
    </part>
    </checkInUniversalOutput>
    </messages>
    </part>
    Document 2 :
    <?xml version="1.0" encoding="UTF-8" ?>
    - <part>
    - <messages>
    - <checkInUniversalInput>
    - <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameters">
    - <CheckInUniversal xmlns:s0="http://www.stellent.com/CheckIn/" xmlns="http://www.stellent.com/CheckIn/">
    <s0:dDocTitle>C.V.</s0:dDocTitle>
    <s0:dDocType>SiebelAttachment</s0:dDocType>
    <s0:dDocAuthor>admin</s0:dDocAuthor>
    <s0:dSecurityGroup>SiebelSecureDocuments</s0:dSecurityGroup>
    - <s0:CustomDocMetaData>
    - <s0:property>
    <s0:name>xTrigger</s0:name>
    <s0:value>SiebelDocProfile</s0:value>
    </s0:property>
    - <s0:property>
    <s0:name>xsiebelOpprnty</s0:name>
    <s0:value>1-3D524</s0:value>
    </s0:property>
    - <s0:property>
    <s0:name>xsiebelStatus</s0:name>
    <s0:value>New</s0:value>
    </s0:property>
    + <s0:property>
    - <s0:property>
    <s0:name>xComments</s0:name>
    <s0:value>Dummy CV</s0:value>
    </s0:property>
    - <s0:property>
    <s0:name>xsiebelDocType</s0:name>
    <s0:value>C.V.</s0:value>
    </s0:property>
    - <s0:property>
    <s0:name>xOrganization</s0:name>
    <s0:value>UK,</s0:value>
    </s0:property>
    </s0:CustomDocMetaData>
    - <s0:primaryFile>
    <s0:fileName>CV_Dummy.pdf</s0:fileName>
    <s0:fileContent>dfhdhdhdhdhdhdhhddhdhdhdh
    </s0:primaryFile>
    </CheckInUniversal>
    </part>
    </checkInUniversalInput>
    - <checkInUniversalOutput>
    - <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameters">
    - <idc:CheckInUniversalResponse xmlns:idc="http://www.stellent.com/CheckIn/">
    - <idc:CheckInUniversalResult>
    *<idc:dID>1481741</idc:dID>*
    *<idc:dRevisionID>1</idc:dRevisionID>*
    *<idc:dRevClassID>1481633</idc:dRevClassID>*
    *<idc:dRevLabel>1</idc:dRevLabel>*
    - <idc:StatusInfo>
    *<idc:statusCode>0</idc:statusCode>*
    *<idc:statusMessage>Successfully checked in content item '1481633'.</idc:statusMessage> </idc:StatusInfo>*
    </idc:CheckInUniversalResult>
    </idc:CheckInUniversalResponse>
    </part>
    </checkInUniversalOutput>
    </messages>
    </part>
    Edited by: user12953613 on 19-Jan-2011 08:01

    Experts : Please help.

  • Not able to checkin video asset in UCM

    Hi,
    I have installed UCM 11g and also installed IBR server. Configured UCM and IBR and also in FileFormatWizard, I updated the conversion for video. But no video rendition is there. When I am checkin any AVI video file, the below error is coming:
    intradoc.common.ServiceException: !csUnableToCheckIn,test-PC_4444001401!wwRefineryZipRenditionNoDefaultRenditionName
    *ScriptStack CHECKIN_NEW_SUB
    3:doScriptableAction,dDocName=3:doSubService,dDocName=CHECKIN_NEW_SUB,dDocName=3:validateCheckinData,dID=1601,dDocName=test-PC_4444001401
    at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2115)
    at intradoc.server.Service.buildServiceException(Service.java:2260)
    at intradoc.server.Service.createServiceExceptionEx(Service.java:2254)
    at intradoc.server.Service.createServiceException(Service.java:2249)
    at damconvertersupport.DamConverterSupportFilter.doFilter(DamConverterSupportFilter.java:150)
    at intradoc.shared.PluginFilters.filterWithAction(PluginFilters.java:114)
    at intradoc.shared.PluginFilters.filter(PluginFilters.java:68)
    at intradoc.server.DocServiceHandler.determineDocConversion(DocServiceHandler.java:3688)
    at intradoc.server.DocServiceHandler.createDocData(DocServiceHandler.java:3396)
    at intradoc.server.DocServiceHandler.validateCheckinData(DocServiceHandler.java:1553)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    Could any one help me out ?
    Santanu

    Hi ,
    Can you check while checking-in , does the following metadata field is populated :
    Video Rendition
    If this is not being populated , then fill in the value for that and then complete check-in .
    Thanks
    Srinath

  • UCM Including profile rules in custom checkin page

    Hi ,
    I am looking for a way to include ucm profile rules in our custom check in page.
    Basically, we have a profile rule that includes custom metadata fields. We need to bring them over in our custom check in page.
    Does anyone know how can we do it ?
    For example, we have a HTMLDocumentRule with few application fields, and custom metadata.
    So for a custom HTML Document Checkin page, we want all fields as part of HTMLDocumentRule to be part of the checkin page.
    Thanks,
    Sunil

    Thanks Bunty..
    I tried doing the same. We noticed all the standard document checkin fields getting enabled. Not the one defined in the profile.
    I am assuming the custom check-in page is not getting aware of the dpTriggerValue="HTML Document"
    Any ideas what we may be missing ?
    Thanks,
    Sunil
    -- THE PAGE NOW LOOKS LIKE THIS ---
    <html>
    <head>
         <$dpTriggerValue="HTML Document"$>
         <$dpDisplayLabel="HTML Document"$>
         <$defaultPageTitle="Bpel Checkin Form"$>
         <$include std_html_head_declarations$>
    </head>
    <$include body_def$>
    <$include std_page_begin$>
    <h4 class="pageTitle">Bpel Checkin Form</h4>
    <div style="text-align:left;padding:0 2em 0 2em;">
    <p>This is an example of an bpel checkin form.</p>
    </div>
    <form name="Checkin" method="post" enctype="multipart/form-data" action="<$HttpCgiPath$>">
    <!-- prefilled default values... you can place other default
    values here for metadata such as 'dDocType' and 'dSecurityGroup'
    to make specialized contribution paes -->
    <input type=hidden name="IdcService" value="STN_CHECKIN">
    <input type=hidden name="dpTriggerValue" value="HTML Document">
    <input type=hidden name="dpDisplayLabel" value="HTML Document">
    <input type=hidden name=idcToken value="<$ idcToken $>">
    <input type=hidden name="dDocAuthor" value="<$UserName$>">
    <input type=hidden name="dRevLabel" value="1">
    <!-- these two values turn on autonumbering, and set the prefix. Generate Content ID -->
    <input type=hidden name="IsAutoNumber" value="1">
    <input type=hidden name="AutoNumberPrefix" value="STN_">
    <!-- these two values do not need to be set here, because they are
    set in the first line of the service definition for 'STN_CHECKIN. -->
    <input type=hidden name="dDocAccount" value="">
    <input type=hidden name="dSecurityGroup" value="">
    <table>
    <tr>
         <td colspan=2><hr></td>
    </tr>
    <tr>
         <td>Title</td>
         <td><input type="text" name="dDocTitle" size=35     maxlength=30>
         </td>
    </tr>
    <!-- this loads up all the doc types, security groups, option lists,
    and custom metedata definitions. -->
    <!-- this loads profile attributes. -->
    <$include std_document_checkin_fields$>
    <tr>
         <td>Type</td>
         <td>
              <select name="dDocType">
                   <option>
                   <$loop DocTypes$>
                        <option value="<$dDocType$>"><$dDocType$> <$if DocTypes.dDescription$>- <$DocTypes.dDescription$><$endif$>
                   <$endloop$>
              </select>
         </td>
    </tr>
    <tr>
         <td>File</td>
         <td><input type="file" name="primaryFile" maxlength=250>
         </td>
    </tr>
    <tr>
         <td colspan=2><hr></td>
    </tr>
    <tr>
         <td align=center colspan=2>
         <input type=submit name=submit value=" Check In ">
         <input type=reset name=reset value=" Reset ">
         </td>
    </tr>
    </table>
    </form>
    <$include std_page_end$>
    </body>
    </html>
    Edited by: user9138987 on Dec 4, 2012 12:54 PM

  • Modified Date as dInDate during checkin into UCM

    Hi UCM Experts,
    Is there a way I can map Windows "Modified Date" for a file to dInDate in UCM during checkin?
    Currently it takes the present date as dInDate, when you checkin using web-interface or DIS.
    Is that normal behaviour or else if it is a bug, is anyone aware of any patches?
    Regards,
    Prateek

    It's totally fine mate. May be I should re-phrase my question:
    - Is there a way to capture the binary file object passed as primary file, in UCM's java checkin filter? If yes, how?
    The user copies a bulk of documents to a DIS folder. The user identifies his current working files more by their last modified date.
    Hence, once the files are copied into DIS folder, all dates are lost.
    Our problem is mainly during bulk upload using folders (DIS). The time of copy operation is taken as dInDate, being the default behavior of UCM.
    We wish to override this if there is a way to capture the date during upload + if the Modified date in file object is passed as it is, from source location.
    I hope some Java/HTTP guru should be able to help me with this! :)
    Regards,
    Prateek

  • Triggering UCM workflow on content checkin

    Greetings all,
    How can i initiate a workflow on content checkin and initiate a custom workflow process.
    thanks

    Hi Snandyal
    If you don't yet consider yourself a world-class expert of Content Server workflows - this exclusive guide will almost certainly save you days (if not weeks) of trial and error, while going through hundreds of pages of online documentation.
    There're no gimmicks, just the street-tough, time-saving tips - hot from the trenches - where we fight our customer's UCM battles - day in and day out.
    [http://stellentexperts.blogspot.com/2010/10/complete-lazy-mans-guide-to-ucm-content.html|http://stellentexperts.blogspot.com/2010/10/complete-lazy-mans-guide-to-ucm-content.html]
    Best
    Dmitri Khanine, Oracle ACE
    www.stellentExperts.com
    Author, The Oracle UCM Handbook
    Discover Oracle UCM in a short afternoon. Tap into insider secrets. Master breakthrough shortcuts - to take your project and your career to the next level of success.
    Grab your copy here: http://www.amazon.com/Oracle-Universal-Content-Management-Handbook/dp/1849680388

  • How to check in an attachment when checkin a document in UCM 11g?

    Is there way to check in an attachment when checkin a document 11g UCM?
    Actually I am try to checkin two alternate files with primary file. But which is not supported.
    So I am thinking to checkin the second alternate file as a attachment.
    Or is there any other better ideas?
    Thanks.

    If you are referring to programmatic attachment though there is an enhancement request open. When a file is processing (the main checkin) attaching an attachment will fail until it is released. With a manual process this is not a problem but with some kind of script this will fail.
    just an FYI

  • UCM check-in validation and BatchLoader

    Hello,
    I've noticed that BatchLoader can check-in files into UCM with metadata values which are not in the option list of the metadata, even if it is a "Select List Validated" option list.
    Is it an expected behavior and/or is there a way to force the metadata to be actually validated upon check-in with BatchLoader?
    I tried the "HasRestrictedList" option in a profile rule but it has no effect with batchloader.
    Thanks in advance,

    We are experiencing the same issue noted above with RIDC check ins.  Option list is set up as "Select List Validated", but any value is allowed on check in.  The option list is using a view and is part of a DCL.  We are also on 11.1.1.6.
    Were you able to resolve the issue described above?
    Thanks in advance.

  • During checkin read the filename in oracle ucm

    During Checkin content from Profile I want to read the filename. Can we do this using Java filter?How?

    Hi Srinath,
    1) Whatever given code I placed in rule side effect and checkin content to content server and verified in the console output, could not find the trace log.
    2) I placed code in custom placed checkin  content and got below error
    Caused by: java.lang.IllegalArgumentException: !csDynHTMLArgumentMessage2,3,<$if &lt;$trace("content id side effect"\, "#0023console")$&gt;
    services/3 04.21 00:06:43.026 IdcServer-427 [[% start with original filename\, which may include path and/or extension %]]
    services/3 04.21 00:06:43.026 IdcServer-427 &lt;$filename=#0023local.primaryFile$&gt;
    services/3 04.21 00:06:43.026 IdcServer-427 [[% replace any backslashes with normal slashes %]]
    services/3 04.21 00:06:43.026 IdcServer-427 &lt;$filename=strReplace(filename\,"\\\\"\,"/")$&gt;
    services/3 04.21 00:06:43.026 IdcServer-427 [[% remove any leading text up to last slash %]]
    services/3 04.21 00:06:43.026 IdcServer-427 &lt;$filename=regexReplaceFirst(filename\,"^.*/"\,"")$&gt;
    services/3 04.21 00:06:43.026 IdcServer-427 [[% remove any trailing text starting with a dot and followed by anything other than a dot %]]
    services/3 04.21 00:06:43.026 IdcServer-427 &lt;$filename=regexReplaceFirst(filename\,"\\.[^.]+$"\,"")$&gt;
    services/3 04.21 00:06:43.026 IdcServer-427 &lt;$trace(filename\, "#0023console")$&gt;
    services/3 04.21 00:06:43.026 IdcServer-427 &lt;$dpPromote("dDocName"\, AutoNumberPrefix & "_" & filename)$&gt;$> <$isActive=1$> <$endif$>!csParserUnableToFindClosingElement,\s
    services/3 04.21 00:06:43.026 IdcServer-427        at intradoc.common.DynamicHtmlMerger.createArgumentException(DynamicHtmlMerger.java:2118)
    services/3 04.21 00:06:43.026 IdcServer-427        at intradoc.common.DynamicHtmlMerger.evaluateScriptToWriter(DynamicHtmlMerger.java:1907)
    services/3 04.21 00:06:43.026 IdcServer-427        at intradoc.common.DynamicHtmlMerger.evaluateScriptNoErrorHandling(DynamicHtmlMerger.java:1866)
    services/3 04.21 00:06:43.026 IdcServer-427        at intradoc.common.DynamicHtmlMerger.evaluateScriptReportError(DynamicHtmlMerger.java:1841)
    services/3 04.21 00:06:43.026 IdcServer-427        at intradoc.server.DocProfileStates.computeIsRuleActivated(DocProfileStates.java:642)

Maybe you are looking for