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

Vabs95-ttn
Vabs95-ttn
Offline

Badges

Badges
3

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts

Posts
5

Discussions

Discussions
5

Questions

Questions
0

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by Vabs95-ttn
Customize the badges you want to showcase on your profile
Mock Configuration Admin - Adobe Experience Manager 07-10-2019
Hi,I am writing Unit Test Cases for Sling Models, I have a function that gets Configurations from ConfigurationAdmin.listConfiguration() method. I'm using Junit 5 and Aem Mock for testing. How can I mock "listConfiguration()" method since currently an exception is thrown "java.lang.UnsupportedOperationException";I tried by using spy and return mocked object whenever this function is called but still I get the same error.

Views

2.1K

Likes

0

Replies

3
Re: Get formData of Adaptive Form Fragment - Adobe Experience Manager Forms 09-07-2019
Thanks, Mayank Gandhi​ I guess I have to go with my logic then.

Views

2.2K

Likes

0

Replies

1
Re: Get formData of Adaptive Form Fragment - Adobe Experience Manager Forms 09-07-2019
I have a requirement where I have to submit data of every sub-form in the back-end, that's why I was calling it a submit button. Anyway, is there a way I can do it without binding it to XML schema?Although, I have written a logic to pull data from every panel by using its somExpression and pulling value from guideObject. It working fine. I just want to confirm that can I achieve the same by any feature provided by AEM itself?

Views

2.2K

Likes

0

Replies

3
Re: Get formData of Adaptive Form Fragment - Adobe Experience Manager Forms 09-07-2019
Assume a long form which is subdivided into sub-forms, when each sub-form is filled user clicks on the submit button and moves to next sub-form. In my case, each sub-form is AF Fragment which I dropped in form having wizard layout. Can I extract Data without binding AF fragments to an XML schema?

Views

2.2K

Likes

0

Replies

6
Get formData of Adaptive Form Fragment - Adobe Experience Manager Forms 09-07-2019
Hi, My requirement is that I have AEM Form with wizard layout and I have dropped multiple AF fragments in that form with each panel having a submit button. Now on each click, I want to get that particular AF fragment data and submit it to back-end but currently unsuccessful. I tried using guideBridge.getDataXML() but it seems to give me data for every panel currently in the form. I am assuming getDataXML implementation is like something this; returns data based on the values saved in DOM rather ...

Views

2.4K

Likes

0

Replies

8