Article ID: 126597, created on Aug 18, 2015, last review on Aug 18, 2015

  • Applies to:
  • Odin Business Automation Standard 4.5

Symptoms

The following is mentioned in OBAS SDK Guide:

Object defines the general object type a placeholder is available for (for example, subscription or payment). And a class allows to filter a placeholder availability down to a particular type of object. For example, in the Control Center > Configuration Director > Event Manager > Events when you create an e-mail notification for an event that involves a subscription object, you can select whether to add an action (notification in this case) for all subscription types or for a particular subscription type. If you add an action just for Subscription (i.e., all subscriptions), you will see placeholders available for the HSPC::MT::Billing::Subscription_base class. And if you add an action for a particular subscription type (domain, for example), you will see placeholders available both for the HSPC::MT::Billing::Subscription_base class and some additional placeholders available for domain subscriptions, i.e., for HSPC::MT::Billing::Subscription_domain class only. Thus, for notifications created for each type of subscription you can use a basic placeholders set and a specific placeholders that are not available for subscriptions of the other types.

Nevertheless, custom placeholders that were defined in a basic placeholders set (e.g. order) are not visible in a placeholders list for a particular type of object (e.g. order on domain subscription).

For example:

  1. The following placeholder was added in /var/opt/hspc-root/custom/EV/PlaceHolder.pm

    use constant PLACEHOLDERS => {
            'order.current_end_date' =>{
                    method=>'subscr_end',
                    ph_type=>6,
                    is_vector=>0,
                    explain=>'Current end date of subscription',
                    obj_type_id=>'HSPC::MT::Billing::Order',
            }
    
    };##/PLACEHOLDERS
    
  2. Go Top > Configuration Director > Event Manager > Events > #2 Renewal order has been created > Actions > Order > Order notification for customer > Edit and at the bottom of the page there will be the newly added placeholder

    @@order.current_end_date@  Current end date of subscription
    
  3. Go Top > Configuration Director > Event Manager > Events > #2 Renewal order has been created > Actions > Order on Domain Subscription > Order notification for customer > Edit and there will be no mentioned placeholder @@order.current_end_date@

Cause

Such behavior was classified as the software issue PBAS-30034 and will be fixed in future OBAS releases.

Please consider watching Odin public sources for information about updates in our products:

Public roadmaps for partners

Marketing news and important announces

Knowledge base, each product update comes with a corresponding KB article.

Resolution

Custom placeholders should work even though they are not visible in a placeholders list.

For example:

Just enter @@order.current_end_date@ in the message template under Top > Configuration Director > Event Manager > Events > #2 Renewal order has been created > Actions > Order on Domain Subscription > Order notification for customer > Edit and it will work despite it is missing in the list of available placeholders.

Search Words

Custom placeholder is not visible

placeholder

624ca542e40215e6f1d39170d8e7ec75 caea8340e2d186a540518d08602aa065 400e18f6ede9f8be5575a475d2d6b0a6 70a5401e8b9354cd1d64d0346f2c4a3e

Email subscription for changes to this article
Save as PDF