Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

idekaresearch
idekaresearch
Offline

Badges

Badges
6

Accepted Solutions

Accepted Solutions
1

Likes Received

Likes Received
0

Posts & Comments

Posts & Comments
7

Discussions

Discussions
0

Questions

Questions
2

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by idekaresearch
Customize the badges you want to showcase on your profile
Re: Sort Order parameter for Dynamics 365 API call - Adobe Experience Manager Forms 20-11-2019
Thanks for the code snippet.I tried this code already; the callback function was not getting called. It seems like either an unsupported API with a 4th parameter, or has since been deprecated.The Adobe documentation does not indicate support for a callback function.I am using AEM v6.4.5

Views

959

Likes

0

Replies

0
Re: Sort Order parameter for Dynamics 365 API call - Adobe Experience Manager Forms 20-11-2019
The returned JSON is abstracted away from me as I am using the Adobe guidelib.dataIntegrationUtils libraries. The returned JSON is not available to use when binding to a drop-down list.

Views

950

Likes

0

Replies

0
Re: Sort Order parameter for Dynamics 365 API call - Adobe Experience Manager Forms 18-11-2019
Yes, the Option text and value need to be different. The text needs to be sorted alphabetically, whereas the Option value represents the Entity ID (guid).

Views

955

Likes

0

Replies

0
Sort Order parameter for Dynamics 365 API call - Adobe Experience Manager Forms 18-11-2019
I am using AEM Forms and connecting form elements to Microsoft Dynamics 365.I use the Form Data Model to create API endpoints to connect with the specific Dynamics 365 entities I am interested in.The problem I am facing is that the data returned from a Dynamics 365 entity is not in the order I require. The data coming back has a default sort order by created date; I need the data sorted alphabetically to populate a drop-down list.The APIs in Microsoft Dynamics 365 allow for an Order By parameter...

Views

1.7K

Likes

0

Replies

7
Re: AEM Forms drop-down list localization - Adobe Experience Manager Forms 04-11-2019
Here is the final code hat works in the drop-down list initialization:------------------------------------------------------------------------------------------var operationInfo = { "formDataModelId": "/content/dam/formsanddocuments-fdm/ms-dynamics-fdm", "operationTitle": "GET salutation /salutations", "operationName": "GET salutation /salutations_15592508761020"};var inputs = {};var outputs;var str = window.location.href.toLowerCase();var matches = str.match(/afacceptlang=([^&]*)/); // extract ...

Views

1.1K

Likes

0

Replies

0
Re: AEM Forms drop-down list localization - Adobe Experience Manager Forms 04-11-2019
I use the Visual Editor to bind the list once.Seems like the below should work in the Code Editor data-bindingif(languageParameter='en') {var operationInfo = { "formDataModelId": "/content/dam/formsanddocuments-fdm/ms-dynamics-fdm", "operationTitle": "GET salutation /salutations", "operationName": "GET salutation /salutations_15592508761020"};var inputs = {};var outputs={ savedValue:'salutationid', displayedValue:'name_en', field:this};guidelib.dataIntegrationUtils.setOptionsFromService(operatio...

Views

1.1K

Likes

0

Replies

0
AEM Forms drop-down list localization - Adobe Experience Manager Forms 04-11-2019
I am binding a drop-down list to an Entity in MS Dynamics. The data is just reference look-up data. I need to fetch either the English or French data from the Entity based on the language the user selects in the User Interface. e.g. list of countries in either English or FrenchIn the Forms editor, when binding a drop-down list to REST endpoint, the Display Value must be selected from the list of available fields from the endpoint. This basically hard-codes the returned values to just a single la...

Views

1.4K

Likes

0

Replies

4