Site Studio wcm:idcService Tag

6-6 Oracle Fusion Middleware Developers Guide for Site Studio for External Applications pThe content item em{row.dDocName}em is a u{row.xWebsiteObjectType}up c:forEach

6.1.7 Site Studio wcm:idcService Tag

The Idc Service tag is used in combination with the Idc Parameter tag to execute a IDC service call on the content server. Important : Parameters will vary depending on the service called. Refer to the Oracle Fusion Middleware Services Reference Guide for Universal Content Management for the list of service calls and parameters. Parameters ■ service: The Idc Service. Enter the IDC Service call to be executed on the content server. The service call returns a data binder. Use the Site Studio IdcParameter tag to set parameters for the service call. Required. ■ var: An Idc Service variable. Enter a name for the variable that will hold the results of the returned response from the content server. Required. ■ type: If set to stream, the response from the content server is an InputStream object. By default, the response is a oracle.stellent.ridc.model.DataBinder. Optional. Example This example used both the Idc Service tag and Idc Parameter tag. In this example, the CHECKIN_UNIVERSAL service is called and the parameters for the service are defined using fieldvalue pairs ■ The doFileCopy parameter is set to TRUE 1, so the file will not be deleted from hard drive after successful check in. ■ The dDocName parameter defines the Content ID. ■ The dDocTitle parameter defines the Title. ■ The dDocType parameter defines the Type. ■ The dSecurityGroup parameter defines the Security Group. ■ The dDocAuthor parameter defines the Author. ■ The primaryFile parameter defines original name for the file and the absolute path to the location of the file as seen from the server. wcm:idcservice service=CHECKIN_UNIVERSAL var=callStatus wcm:idcparameter name=doFileCopy value=1 wcm:idcparameter name=dDocName value=RemoteTestCheckin23 wcm:idcparameter name=dDocTitle value=Test1 wcm:idcparameter name=dDocType value=ADACCT wcm:idcparameter name=dSecurityGroup value=Public wcm:idcparameter name=dDocAuthor value=sysadmin wcm:idcparameter name=primaryFile value=C:inetpubScriptsquery2.asp This example shows how to get data back from the service call: wcm:idcService service=DOC_INFO_BY_NAME var=docinfo wcm:idcParameter name=dDocName value=DATAFILE1234 wcm:idcParameter name=RevisionSelectionMethod value=LatestReleased wcm:idcService Site Studio Tag Library and Helper Methods 6-7 c:forEach var=row items={docinfo.resultSets.DOC_INFO.rows} pThe content item em{row.dDocName}em is a u{row.xWebsiteObjectType}up c:forEach

6.1.8 Site Studio wcm:metadata Tag