UNSUBSCRIBE_FORM UNSUBSCRIBE_FROM_LIST

Core Oracle Content Server Services 4-71 – dSecurityGroup – 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 IdcService=UNSUBSCRIBE dID=66 dSubscriptionType=test dSubscriptionID=test_000048

4.3.68 UNSUBSCRIBE_FORM

Service that retrieves the form used when unsubscribing from a content item. This service is identical to the SUBSCRIBE_FORM service except the template it returns. Access Level: Read 1 Queries Executed: QdocInfo, QisSubscribed Location: IdcHomeDirresourcescoretemplatesstd_services.htm Additional Required Service Parameters ■ dID: The generated content item revision ID. ■ subscribeService: For response pages such as the default template for this service that provide a link that allows the user to unsubscribe, a value must be passed as a parameter. If omitted an error does not appear but the unsubscribe link on the response page produces an error if clicked the standard value should be SUBSCRIBE. Results ■ Result Sets: – DOC_INFO All fields from Revisions and DocMeta for the revision specified by dID – SUBSCRIPTION_LIST All fields from the Subscription table plus the additional fields scpFields, scpDescription, scpEnabled, and notSubscribed for all defined subscriptions ■ Local Data: – dID – dSubscriptionAlias 4-72 Oracle Fusion Middleware Services Reference Guide for Oracle Universal Content Management – dSubscriptionID – dSubscriptionType – dUser ■ Response Template: UNSUBSCRIBE_FORM unsubscribe_form.htm Used By ■ Resource Includes: – docinfo_subscription_form – doc_subscription_unsubscription

4.3.69 UNSUBSCRIBE_FROM_LIST

Service that cancels a content item subscription from a browser when multiple subscriptions are defined. This service is run from the Subscriptions page, either by clicking the Unsubscribe link, or by clicking the Subscription Info link for that content item and then clicking Unsubscribe on the Subscription Info page. This service differs from the UNSUBSCRIBE service primarily in what data it returns. UNSUBSCRIBE_FROM_LIST redirects to the subscription listing page by default, so it loads the data necessary to display the users subscriptions. UNSUBSCRIBE redirects to the Content Info page by default, so it loads content info for the item specified by dID. Access Level: Read, Global 17 Queries Executed: ■ Dsubscription ■ QdocNameSubscription ■ QnotDocNameSubscriptions Location: IdcHomeDirresourcescoretemplatesstd_services.htm Additional Required Service Parameters ■ dSubscriptionID: The subscription ID. For a Basic subscription, this is the Content ID. For a Criteria subscription, this is a comma-delimited list of the values of the criteria fields. For example, if the criteria fields are Author and Security Group, the dSubscriptionID parameter setting for a Public content item authored by user1 would be Public,user1. ■ dSubscriptionType: The subscription type. ■ Optional Service Parameters ■ RedirectUrl: Used to display another page. If omitted, the user is redirected to the Oracle Content Server home page. ■ dSubscriptionAlias: The user alias for the criteria subscription, set to a valid user name or alias name, depending on the value for dSubscriptionAliasType. ■ dSubscriptionAliasType: The alias for the subscription type, set to either user or alias. ■ If the current user has Admin privileges, the dSubscriptionAlias parameter with dSubscriptionAliasType can be used to unsubscribe a different user or alias from a Core Oracle Content Server Services 4-73 subscription. If these parameters are omitted, the service defaults to a dSubscriptionAliasType of user and uses the current user dUser for the value of dSubscriptionAlias. If these parameters are included but the current user doesnt have Admin privileges, they are disregarded. Results ■ Result Sets: SUBSCRIPTION_LIST. Each row contains all fields from the Subscription table corresponding to each of the current users subscriptions. Additionally, for Basic subscriptions, each row contains all fields from the Revisions table metadata for the latest revision of the item subscribed to. ■ Local Data: – dID – dSubscriptionAlias – dSubscriptionAliasType – dUser ■ Response Template: – SUBSCRIPTION_LIST – Default redirect service: SUBSCRIPTION_LIST Used By ■ Applets: Repository Manager ■ Resource Includes: pne_nav_userprofile_links ■ Templates: – DOC_SUB_LIST doc_sub_list.htm – USER_INFO user_info.htm ■ Standard Navigation: commonNav.js Example IdcService=UNSUBSCRIBE_FROM_LIST dSubscriptionType=test dSubscriptionID=test_000046

4.3.70 UNSUBSCRIBE_FROM_LIST_EX