cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to figure out binding fields for surveys and Visits

Former Member
0 Kudos


Hi,

I want to fetch surveys and visits related records.But I am not able to find their binding fields into AppointmentActivity BO.

I opened COD_VISIT_TI which is bound to AppointmentActivity BO.But not able to get the binding fields for survey ID ,Survey Name ,Visit ID,Visit Name.It always points to the Root element.

Can anyone help me out into this.

Regards,

Vijaya Chavan

Accepted Solutions (0)

Answers (1)

Answers (1)

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Vijaya,

Can you explain where you looked for  survey ID ,Survey Name ,Visit ID,Visit Name?

Thanks,

   Horst

Former Member
0 Kudos

Hi Horst,

I want to fetch Survey ID by sending visitID. Currently I am passing static Visit ID to the query to fetch all the surveys associated with it since I don't know to retrieve the Visit ID.

Pasting the code below,don't know whether it is the correct approach for fetching survey details.

If not AppointmentActivity BO then which BO can get me survey and visit related data ?

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Vijaya,

From the above mentioned UI COD_VIST_TI the SurveyId is retrieved via some associations from the BO Questionnaire, which is not in the PSM.

Therefore you will not be able to access this field.

You may can do the following:

  • Extend the AppointmentActivity BO with a field "MySurveyId"
  • Enhance the UI to fill the "MySurveyId" with the SurveyId field from the UI.
  • Afterwards you should be able to have the SurveyId value in the extension field.

HTH,

    Horst

Former Member
0 Kudos

Hi Horst,

I tried extending the AppointmentActivity BO.But can You please tell me in more details how to fill the

"MySurveyId" with the surveyId field from the UI because I am not able to figure out  which binding fields  from AppointmentActivity BO will give me SurveyID and Visit related data.

Regards,

Vijaya Chavan

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Vijaya,

I've played around a little bit and found a way by this would work in principle.

But I am afraid not for your needs.

What to do:

  • Use the Key User Tool to add a field to the UI (Adaption Mode -> "Edit Screen")
  • Use the Calculation Rule mechanism to transfer the value of the required field (e.g. SurveyId) to the Key User Field
  • Go to the SDK and create a mapping of the Key User Fields to the SDK via "Add" -> "New Item" -> "Reference to Customer-Specific Fields"
  • Access the Key User Field in your ABSL code.

Unfortunately for you I did not find the "SurveyId" in the list of accessible field in the Key User Tool.

Only the header section is marked as extensible.

Sorry,

    Horst

Former Member
0 Kudos


Hi Horst,

Basically I want to fetch the Survey Questionnaire data.

Requirement :

When we click on Survey item under Survey Tab in Visits,it opens an html file with questions and answers .I want to fetch that data and  convert it to pdf.

Regards,

Vijaya Chavan

Former Member
0 Kudos

Hi,

You can have look at this image

This data I want to access and convert into pdf And I am not able to figure out how to access this data using absl script.

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Vijaya,

As only the header section is marked as extensible, this Suryvey Questionaire data is not available in the Key User Tool.

Therefore I am sorry, but you can not access this data.

Sorry,

     Horst