since ‎29-11-2017
‎20-01-2020
rsadhenetibalai
Level 1
Re: FDM PreProcessor not getting invoked rsadhenetibalai - Adobe Experience Manager Forms
Hi all, Received an update from the engineering team via daycare.So, the right way to register the Preprocessor is to implement the PreProcessor interface but register it as an IProcessor service. @component((immediate = true)) @Service((IProcessor.class)) public class MyPreProcessor implements IPreProcessor { private static final Logger LOG = LoggerFactory.getLogger(MyPreProcessor.class); //Implementation here }
1654
Views
0
Likes
0
Answers
Re: FDM PreProcessor not getting invoked rsadhenetibalai - Adobe Experience Manager Forms
I've tried it before and there was no difference. It doesn't work.I tried it again now and still the same.However, the question is, how would it identify if the service is a PreProcessor or PostProcessor if you are registering it as IProcessor?I would assume IPreProcessor would be the right service to register it as (so it can call the preprocess method in all preprocessors).I could be wrong though.
1423
Views
0
Likes
0
Answers
Re: FDM PreProcessor not getting invoked rsadhenetibalai - Adobe Experience Manager Forms
Here you go.The only difference in the code from my original questions vs the service running in my instance is the name of the class. I've renamed it from MyPreProcessor to ACRPreProcessor. The underlying code is exactly the same.A more fundamental question with this issue is, when would the PreProcessor actually get invoked? Would it get invoked when you have an adaptive form which invokes an FDM service? Or is it called during a different scenario? If so, what is the scenario in which the Pre...
1409
Views
0
Likes
0
Answers
Re: FDM PreProcessor not getting invoked rsadhenetibalai - Adobe Experience Manager Forms
I was able to deduce that from the docs.If you look at the sample code that I posted in the original question, the isSupported method returns true always.But the control never reaches the isSupported method.There are no logs that I have printed in that method nor are there any errors in the log file.
1426
Views
0
Likes
0
Answers
FDM PreProcessor not getting invoked rsadhenetibalai - Adobe Experience Manager Forms
Hi all,I was going through the AEM Forms Java Docs and came across the class IPreProcessor (AEM Forms API).​The description readsIPreProcessor is a service that is called directly before executing any operation. This can be used to do some pre-processing like authorization or request modification before the invocation of the operationI have a form data model which uses the OOB Microsoft Odata Connector to connect to Microsft Dynamics CRM and fetch some data.I configured an adaptive form and in o...
3928
Views
0
Likes
8
Answers and Comments
Re: How to add optional association or a 0 to many association in FDM rsadhenetibalai - Adobe Experience Manager Forms
Hi Mayank,Ticket ID is 189521
4013
Views
0
Likes
0
Replies
Re: How to add optional association or a 0 to many association in FDM rsadhenetibalai - Adobe Experience Manager Forms
Unfortunately, that is not an option within CRM without changing the system behaviour itself. At least, that is what our CRM specialists say. Is there an option to customize the behaviour of the OOB FDM?
4013
Views
0
Likes
2
Replies
How to add optional association or a 0 to many association in FDM rsadhenetibalai - Adobe Experience Manager Forms
Hi all,I am currently working on a form data model which is using Microsoft CRM as a data source.I am trying to define an association between 2 entities, however, the only options available in the editor are a One to One association and a One to Many association.I am able to define a One to One association, however, it throws an error if the value for the NavigationProperty is unavailable.A short summary of my current scenario below,In CRM, I have an entity let's say A, which contains a field (a...
4139
Views
0
Likes
4
Replies