since ‎01-11-2020
‎09-02-2021
Sumit1191
Level 1
Sightly Issue : data-sly-test: redundant constant value comparison
Avatar

Sumit1191

Sumit1191
- Adobe Experience Manager
-

Views

212

Likes

0

Replies

2
Re: How to get resource bundle (for localization) in cust...
Avatar

Sumit1191

Sumit1191
- Adobe Experience Manager
@KiranVedantam1992, thanks for the solution

Views

148

Likes

0

Replies

0
Re: How to get resource bundle (for localization) in cust...
Avatar

Sumit1191

Sumit1191
- Adobe Experience Manager
@Anudeep_Garnepudi thanks for the solution.

Views

153

Likes

0

Replies

0
Re: How to get resource bundle (for localization) in cust...
Avatar

Sumit1191

Sumit1191
- Adobe Experience Manager
I tried above solution, its not working. State of the process step is showing Unsatisfied.

Views

173

Likes

0

Replies

0
Re: How to get resource bundle (for localization) in cust...
Avatar

Sumit1191

Sumit1191
- Adobe Experience Manager
We are planning to trigger workflow manually. As you mentioned 2 ways to get i18n object, we need slingRequest object, but we don't have the object in process step.

Views

214

Likes

0

Replies

0
Re: How to get resource bundle (for localization) in cust...
Avatar

Sumit1191

Sumit1191
- Adobe Experience Manager
Actually the payload is Content Fragment.Also using the path I got resource as well. But how we can get Resource Bundle (Dictionary object) using it.

Views

228

Likes

0

Replies

0
How to get resource bundle (for localization) in custom workflow process step
Avatar

Sumit1191

Sumit1191
- Adobe Experience Manager
How to get i18Dictionary object in custom workflow process step?Following points tried :1. As we dont have slingHttpRequest object exists so can not get resource bundle using request.2. ResourceBundle rb = ResourceBundle.getBundle("projectName");3. ResourceBundle rb = ResourceBundle.getBundle("project full qualified name");

Views

381

Likes

0

Replies

11
Likes given to