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

aemdevn
Community profile aemdevn Level 1
Job title here
Location here
3 BADGES
Level 1

Level 1

Learn more
Joined the community 10-07-2018 2:36:24 PM
Offline
Top badges earned by aemdevn
Customize the badges you want to showcase on your profile
Re: XssApi is null - 6.5
Avatar
Ignite 1
Level 1
aemdevn
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back
Validate 1
View profile
aemdevn
- Adobe Experience Manager
Hi @sdouglasmc Experienced the same issue after upgrading to 6.5...I was using getRequest().adaptTo(org.apache.sling.xss.XSSAPI.class).getValidJSON("data", null) in 6.4.It failed with an NPE on getRequest().adaptTo(org.apache.sling.xss.XSSAPI.class);Some one in https://stackoverflow.com/ gave the idea of using the service from the java class. so ended up coding this way:getSlingScriptHelper().getService(org.apache.sling.xss.XSSAPI.class).getValidJSON(sdProp.toString(), null);(Im using this from ...

Views

1.8K

Likes

0

Replies

0
AEM Forms: Customizing "Submit using Form Data Model"
Avatar
Ignite 1
Level 1
aemdevn
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back
Validate 1
View profile
aemdevn
- Adobe Experience Manager Forms
Trying solve a custom case where I need to submit the form (AEM 6.4 Adaptive Form) to store the fields in a database and then email the same set of fields as an email. What would be the optimal way to do this using forms?1. Customize "Form Data Model" Submit type (/libs/fd/afaddon/components/actions/fdm) ?2. Invoke a workflow from the form submission?As first trial tried to customize /libs/fd/afaddon/components/actions/fdm (taking Adobe Experience Manager Help | Writing custom Submit action for ...

Views

932

Likes

0

Replies

2