How do you pass a parameter to a data page when it is referred to in an activity?

Hi,

How do you pass a parameter to a data page when it is referred to in an activity?

Regards,

Venkatesh

Hi @VenkateshK0758

To pass parameters to a data page, we can use function as for example: D_AXASTATES [Param1:Value1, Param2:Value2]

Regards,

Prasad.

@VenkateshK0758

You can directly add it when you call the data page ie: D_DataPAge [Param1:Value1, Param2:Value2].

You can also add a property-set step before the data page call and set the params, then call the data page directly.

Hi @VenkateshK0758,

To reference a data page, you have several valid syntax options. For instance, when dealing with the ‘D_Customer’ data page, you can load or refer to it using any of the following formats:

  • D_Customer[CustomerID:“ANTON”,CompanyName:“BigCo”]
  • D_Customer[CustomerID:.CustID]
  • D_Customer[CustomerID:param.CustID]

Please go through below link

Regards,

Mohd Qizer Uddin

@VenkateshK0758 You can call this D_DataPage [Parameter1:Value1, Parameter2:Value2] .

@VenkateshK0758,

Please find the attached screenshot.

@Sai Guggilla

Above to the step where you are calling DP in activity , define a property set method and add same parameter of DP in that method and give the desired value.

refer this parameter in your datapage step.

this will solve the purpose.