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
BedrockMission!

Learn More

View all

Sign in to view all badges

Form editor - Invoke service dropdown does not list services from my Form Data Model

Avatar

Avatar
Boost 1
Level 1
JiriFKovarik
Level 1

Like

1 like

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
JiriFKovarik
Level 1

Like

1 like

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
JiriFKovarik
Level 1

16-04-2020

Hello,

i've created an AEM 6.4 form based on my custom Form Data Model - which exposes two services. I can teste these two services in the FDM definition UI and both return success. In a Form Editor window, i want to create a rule that invokes one of these services, so for then i select Invoke Service option and a dropdown with available services is rendered for me - but none of my services appear in an Invoke Service dropdown. The only service available seems to be a sample AEM forms service called "Get location by zip code".
By inspecting where the list of available services come from i found following XHR call:
/content/forms/af/sample2/jcr:content/guideContainer.af.dermis?functionToExecute=getAllServices which returns only one sample service: 

 

{
others: {
title: "Others",
items: [
{
id: "/apps/aemforms-fragment-commons/preconfiguredWebServices/getLocationByZip",
jcr:title: "Get location by zip code",
url: "http://wsf.cdyne.com/weatherws/weather.asmx?wsdl",
operation: "GetCityForecastByZIP",
input: {
id: "/apps/aemforms-fragment-commons/preconfiguredWebServices/getLocationByZip/input",
zip: {
id: "ZIP"
}
}
}
]
}
}

 

 Any idea how to get my services listed?

AEM Forms Form data model form editor

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

309 likes

Total Posts

1,131 posts

Correct Reply

184 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

309 likes

Total Posts

1,131 posts

Correct Reply

184 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

27-04-2020

Mayank_Gandhi_0-1587997046570.png

 

make sure the service folder is correctly mapped to the form properties.

 

Answers (2)

Answers (2)

Avatar

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

309 likes

Total Posts

1,131 posts

Correct Reply

184 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

309 likes

Total Posts

1,131 posts

Correct Reply

184 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

20-05-2021

@NLC_Tarrant_Cou Difficult to comment without seeing a screenshot of the service URL and rule editor mapping.  Share more details on what you have implemented.

Avatar

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

309 likes

Total Posts

1,131 posts

Correct Reply

184 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

309 likes

Total Posts

1,131 posts

Correct Reply

184 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

16-04-2020

@JiriFKovarik  This should work. what kind of FDM is it?