webMethods and Intelligent Business Operations 10.2 | Designing and Implementing Composite Applications | webMethods CAF and OpenCAF Development Help | Working with CAF Events and Notifications | Creating a Subscription | Configuring the Default Subscription View
 
Configuring the Default Subscription View
When you create a subscription, a template, or default, subscription view is created and opened in the view editor, as described in Creating a Subscription. Several control properties are pre-configured in the default view, and you can modify other control properties as described in the following procedure.
* To configure the default subscription view
1. Locate the portlet application in the tree view and expand it to expose the subscription View Declaration Language (VDL) file:
portlet_application/WebContent/subscriptionName.view
2. Double-click the VDL file to open it in the editor.
3. Configure a label for the Property Group control.
a. Click the Property Group control, and in the Properties view, click the Display tab.
b. In the Value text box, type the text you want to appear for the subscription, or click and then select a field that will provide the text.
4. Configure the Property Line control.
a. Click the Property Line control, and in the Properties view, click the Display tab.
b. In the Value text box, accept the default value of “Subscribed”, type a different label for the Property Line, or click and then select a field that will provide the text.
5. Configure the Text Output control.
a. Click the Text Output control, and in the Properties view, click the Value tab.
b. In the Value text box, type the text that you want to appear in the text box, or click and then select a field that will provide the text.
6. Configure the Subscribe button. The key properties of this control are pre-configured as follows, but you can modify them as required:
*In the Properties view, on the Display tab, the Disabled property is preset to:
#{SubscriptionNameView.subscriptionProvider.subscribed}
*On the Action tab, the Action property is preset to:
#{SubscriptionNameView.subscribe}
*On the Value tab, the Value property is preset to Subscribe.
7. Configure the Unsubscribe button. The key properties of this control are pre-configured as follows, but you can modify them as required:
*In the Properties view, on the Display tab, the Disabled property is preset to:
#{SubscriptionNameView.subscriptionProvider.subscribed}
*On the Action tab, the Action property is preset to:
#{SubscriptionNameView.unsubscribe}
*On the Value tab, the Value property is preset to Unsubscribe.
8. Save your changes.

Copyright © 2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release