Basic App Configuration - Advertisement View

  1. In Canvas Studio, click App Designer on the top right pane.



  2. Click to create a new App.

  3. Provide the basic app configuration details based on the description in the following table:



    #

    Field Name

    Description

    Sample Values

    1

    App Display Name

    Label key of the localized text that appears as App title.

    NEW ADVERTISEMENT

    2

    App ID

    Unique ID for the App.

    NEW_AD_WGT

    3

    View ID

    Unique ID for the App View. The View ID will be auto-generated based on
    the App ID whereas you can choose to edit while you create the App.

    NEW_AD_VW

    4

    App Resource Bundle

    Name of the bundle key associated with the property file.
    This file can contain label keys for the App title, and keys for all label text appearing on the app view.

    The bundle key allows only alphabets, numbers, hyphens and underscores.

    common

    Entitlement Configuration

    5

    Product Code

    Name of the Product that the app stands for.
    Only the users who are authorized to this product can view the data in this app.
    To add new entitlement details, make an entry of the product code in OD_PRODUCT_MASTER_MB
    and OD_FUNCTION_PRODUCT_MAP_MB tables in database.

    CUSER

    6

    Sub Product Code

    Name of the Sub Product within the Product for which the app stands for.
    The users who are authorized only to this sub product can view the data in this app.
    To add new entitlement details, make an entry of the sub product code in OD_PRODUCT_MASTER_MB
    and OD_FUNCTION_PRODUCT_MAP_MB tables in database.

    CUSER

    7

    Function Code

    Name of the Function within the Sub Product for which the app stands for.
    The users who are authorized only to this function can view the data in this app.
    To add new entitlement details, make an entry of the function code in OD_FUNCTION_MASTER_MB
    and OD_FUNCTION_PRODUCT_MAP_MB tables in database.

    VSBLTY

  4. Go to View Type > Miscellaneous and select ADS from the listed App View types.



  5. Click Datasource tab and perform any of the following:

    1. For static data, enter the Data Source ID in Data Src ID field. The value for this field must be the URL of the advertisement site or path of the image that is to be rendered as the advertisement. Proceed to step 6.



    2. Click the Data Src ID field and type the name of the Data Source to select it. 

      Here, AD data source created from the ADVERTISEMENT_WS web service connection is chosen.



  6. Click Proceed to design the App.