SUBSCRIBE Doc Services Core Oracle Content Server

Core Oracle Content Server Services 4-63 Example ■ IdcCommand command file format: ■ IdcService=SUBMIT_HTML_FORM dID=44 ■ HDA format with an optional parameter assigns a value to a text field: Properties LocalData IdcService=SUBMIT_HTML_FORM dID=44 Product=publisher end

4.3.60 SUBSCRIBE

Service that subscribes a user to a content item or group of items. The most likely errors are when the content item no longer exists in the system or when the user does not have the security level to perform this action. Access Level: Read 1 Queries Executed: ■ QdocInfo ■ QuserSubscription ■ Quser ■ UuserEmail ■ Isubscription Location: IdcHomeDirresourcescoretemplatesstd_services.htm Additional Required Service Parameters ■ dID: The generated content item revision ID. ■ dSubscriptionEmail: The e-mail address for the subscription. The service uses the value to overwrite the users e-mail value in their user profile. If no value is passed for this parameter, the profile not updated. Essentially, every time this service is executed, the users e-mail address is updated. ■ dSubscriptionType: The subscription type. You can optionally provide the name of a custom subscription. If this parameter is used, the service subscribes the user to a criteria-based subscription where the specified custom subscriptions criteria fields match the value of the corresponding metadata of the item specified through the dID parameter. If dSubscriptionType is left blank, the Basic subscription is used by default. Optional Service Parameters ■ RedirectUrl: Used to display another page. If omitted, the user is redirected to the Oracle Content Server home page. Results ■ Local Data: – dID – dName 4-64 Oracle Fusion Middleware Services Reference Guide for Oracle Universal Content Management – dSubscriptionAlias – dSubscriptionAliasType – dSubscriptionCreateDate – dSubscriptionID – dSubscriptionType – dUser ■ Response Template: – DOC_INFO – Default redirect service: DOC_INFO Used By ■ Resource Includes: – docinfo_subscription_form – doc_subscription_unsubscription ■ Other: SoapCustom:Wsdl:Subscription:Services Example These parameters are passed in the browser environment to execute this command: input type=hidden name=IdcService value=SUBSCRIBE input type=hidden name=dID value=63 input type=hidden name=dSubscriptionType value=my_subscription input type=hidden name=dSubscriptionEmail value=sysadminexample.com

4.3.61 SUBSCRIBE_DOC_USER