UPDATE_DOCINFO_BYFORM Doc Services Core Oracle Content Server

Core Oracle Content Server Services 4-77 Used By ■ Applets: Repository Manger ■ Other: SoapCustom:Wsdl:CheckIn:Services Example ■ IdcCommand command file format: IdcService=UPDATE_DOCINFO dID=66 dDocName=test_000048 dSecurityGroup=Secure dRevLabel=2 ■ HDA format with additional and optional parameters assigns a value to a metadata field: Properties LocalData IdcService=UPDATE_DOCINFO dID=66 dDocName=test_000048 dSecurityGroup=Secure dRevLabel=2 dDocAccount=mainaccount xComments=Preliminary end

4.3.73 UPDATE_DOCINFO_BYFORM

Service that updates content information for a content item from a browser. This service executes the subservice UPDATE_DOCINFO_SUB. This subservice updates content item information. The difference between this service and UPDATE_DOCINFO is that this service provides an option to redirect to a display template. Access Level: Write 2 Calls Subservice: ■ UPDATE_DOCINFO_SUB, which may also call REMOVE_METAFILE_SUB, REPLACE_METAFILE_SUB, and UPDATE_DOCINFO_STATUS Queries Executed all queries executed within subservices: ■ QdocInfo ■ QlatestID ■ Qdocuments ■ Ddocument ■ Idocument ■ Urevision2 ■ Umeta ■ IdocHistory Location: IdcHomeDirresourcescoretemplatesstd_services.htm 4-78 Oracle Fusion Middleware Services Reference Guide for Oracle Universal Content Management Additional Required Service Parameters ■ dDocName: The Content ID for the content item. ■ dID: The generated content item revision ID. ■ dRevLabel: The content item revision label. ■ dSecurityGroup: The security group such as Public or Secure. ■ dDocAccount: The account for the content item. Required only if accounts are enabled. Optional Service Parameters ■ Metadata fields: You can submit any metadata field as an optional parameter and pass a value to that field. For example, if the system has a metadata field called xComments, the string value Preliminary could be assigned to that field xComments=Preliminary. ■ RedirectUrl: Used to display another page. If omitted, the user is redirected to the Oracle Content Server home page. Results ■ Local Data: – Oracle Content Server: dAction dActionDate dClbraName dCreateDate dDocAccount dDocName dDocType dExtension dID dOriginalName dOutDate dpAction dpEvent dPublishState dPublishType dReleaseState dRevClassID dRevLabel dSecurityGroup dStatus dUser Core Oracle Content Server Services 4-79 isCurRevEmpty isDocProfileUsed isEditMode IsNotLatestRev IsUpdate IsUpdateMetaOnly prevReleaseState updateSideEffectServices – Workflow: dCurRevID dWfComputed dWfCurrentStepID dWfDirectory dWfDocState dWfID dWfName dWfStatus dWfStepDescription dWfStepID dWfStepIsAll dWfStepName dWfStepType dWfStepWeight dWfType dWorkflowState IsWorkflow wfAction wfCurrentStepPrefix wfEditFinished wfMessage wfQueueActionState wfStepCheckinType – Plus any custom doc meta fields ■ Response Template: – REDIRECT_TEMPLATE redirect_template.htm – Default redirect service: DOC_INFO 4-80 Oracle Fusion Middleware Services Reference Guide for Oracle Universal Content Management Used By ■ Resource Includes: std_doc_page_definitions Example ■ IdcCommand command file format: IdcService=UPDATE_DOCINFO_BYFORM dID=66 dSecurityGroup=Secure dDocName=test_000048 dRevLabel=2 ■ HDA format with additional and optional parameters assigns a value to a metadata field: Properties LocalData IdcService=UPDATE_DOCINFO_BYFORM dID=66 dSecurityGroup=Secure dDocName=test_000048 dRevLabel=2 dDocAccount=mainaccount xComments=Preliminary end

4.3.74 UPDATE_DOCINFO_BYREV