Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Submit to a Form Data Model in which entities have associations and configured with Microsoft Dynamics

Avatar

Level 2

Hi all,

Bear with me, I am fairly new to both Dynamics 365 and this connector.

I have run into a bit of an issue.

So I've done the following:

  • Configured my Microsoft Dynamics O-Data Cloud Service
  • Created a Form Data Model
  • Made some associations with some of the Entities
  • Configured Submit Action to "Submit to a Form Data Model" 

What I was expecting: For everything to work perfectly without a hassle.

What I got: Submission only happens to the Entity configured in the Submit action of the adaptive form despite the associations to any other Entity. (Hassle)

What else I tried: Submitting through "Invoke service"(My idea was for invoke service to return an id of newly submitted entry  and assign it to a hidden field then make another call to submit to the Associated Entity using that Id). But that didn't work out well as per the following screenshot. 

 
 

output.PNG

 I went confidently to my Service to configure the return type but that was grayed outoutput type.PNG

 So please help me out. Is it possible to enable the grayed out area? If so, Please explain how I can do that or maybe provide a link where someone does the same. If not, please help me with ideas of how I can get around my dilemma or a link where someone explains this.

Thanks in advance

Belinda

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

8 Replies

Avatar

Employee

@Belinda_Please validate if your GET/PUT services are working fine using Test Model Object.

Please refer to the video at [1] .

[1]. https://helpx.adobe.com/experience-manager/kt/forms/using/Integrate-AEM-Forms-With-Dynamics-365.html

Avatar

Employee

@Belinda- Output Type of service can't be changed from FDM (Form Data Model). You need to implement following workflow 

  1. Create custom action/service in dynamics which store contact and return Id.
  2. Include custom action in FDM and use it instead of default POST contact/contact then remaining follow should work 

Avatar

Level 2
@Rakhi_Sukhadeve They are working correctly, I've tested them and I've even done a few submissions.

Avatar

Level 2
@Vijay_Kumar_Jalagari Thank you for your response, could you please guide me through that process, like I said I am pretty new to Dynamics, perhaps a link to an article/tutorial where I could find guidance.

Avatar

Level 2
I guess at the end of the day I just want to submit to multiple tables from the same form and obviously prefill, if my ideas aren't gonna get me there faster please let me know. I'd appreciate any guidance really.

Avatar

Employee
@Belinda - Can you please confirm which version of AEM is used as I remember return type of function was changed.

Avatar

Employee
@Belinda - Can you please confirm which version of AEM is used as I remember return type of function was changed. Can you also try to remove it and add again?