since ‎24-09-2020
‎18-02-2021
Sandeep6
Level 4
Re: AEM Number Field with decimal value as Zero
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
Updated my answer, check now.

Views

150

Likes

0

Replies

0
Re: AEM Number Field with decimal value as Zero
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
Add step property as below.

Views

176

Likes

0

Replies

0
Re: AEM Number Field with decimal value as Zero
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
Hi @vasgurug , Which version of coral you are using. Please use below as sling:resourceType in dailog. Then it will work as expected . granite/ui/components/coral/foundation/form/numberfield. To work with Coral UI-2. please step property as below.Thanks,Sandeep.

Views

190

Like

1

Replies

2
Re: API compatibility for AEM upgrade from AEM 6.4 to 6.5
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
Hi @Amit_Zulphe .Please follow below links.https://experienceleague.adobe.com/docs/experience-manager-65/deploying/upgrading/upgrade.html?lang=en#what-has-changed https://labs.tadigital.com/index.php/2019/11/18/how-to-upgrade-aem-6-5-safely/ https://hashouttech.com/blog/How-to-Upgrade-Adobe-Experience-Manager-to-AEM-Version-6.5 Thanks,Sandeep.

Views

123

Like

1

Replies

0
Re: FileUpload needs img to upload again and again
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
Hi @pillaivinit ,please update the dialog as below. Spoiler (Highlight to read)

Views

167

Likes

2

Replies

0
Re: HTTP package deployment AEM 6.5 failing
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
Hi @ashishkhadpe ,Could you please try with below command.mvn -PautoInstallSinglePackage clean installThanks,Sandeep.

Views

126

Like

1

Replies

0
Re: How to programmatically add Date object to crx repo
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
Hi @Harsh161987 , please use below code to set date property to node.String dateString = "your_date"Calendar cal = new GregorianCalendar();cal.setTimeZone(TimeZone.getDefault());SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSXXX");cal.setTime(formatter.parse(dateString))node.setProperty("date", cal ); Thanks,Sandeep.

Views

143

Likes

2

Replies

0
Re: Thanks, @Sandeep6 for the feedback, the resource type is...
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
Hi @Albin_Issac , Is there any way to invoke the servlet without adding the _jcr_content for json and txt extension.http://localhost:4503/content/wknd/us/en.dynamic.json http://localhost:4503/content/wknd/us/en.dynamic.txtThanks,Sandeep.

Views

328

Like

1

Replies

1
Re: How to Register Servlets Dynamically in AEM? | AEM Community Blog Seeding
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
Hi @kautuk_sahni ,Is there any specific reason is there that JSON or txt extensions can be accessed only from jcr:content node. http://localhost:4503/content/wknd/us/en/_jcr_content.dynamic.json http://localhost:4503/content/wknd/us/en/_jcr_content.dynamic.txtPlease provide me some explanation. In this article for configuration class static is added. Because of that configuration is not registering. After removing static it worked perfectly.public static @interface Config Thanks,Sandeep.

Views

370

Like

1

Replies

4
Re: JUnit - Page model NullPointerException
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
you forgot to add json

Views

177

Likes

0

Replies

0
Re: quickstart.jar just hangs when I run it.
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
Hi @nutmix ,This error can occur when the AEM installation files have become corrupt during the download process. There is no way of knowing which files are corrupt, therefore, you should download the jar again.After that Double-click the jar file to install the Author instance. This will start the author instance, running on port 4502 on the local computer. Thanks,Sandeep

Views

202

Like

1

Replies

1
Re: JUnit - Page model NullPointerException
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
Hi @nitinjl ,Please try below line.PageModel model = context.request().adaptTo(PageModel.class);https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-wknd-tutorial-develop/unit-testing.html?lang=en#testing-get-occupations If possible, please share json what you are referencing below. Thanks,Sandeep.

Views

203

Like

1

Replies

3
Re: AEM 6.4 SAML integration with SSO
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
Hi @pradeepd1320668 ,Please follow below articles.https://helpx.adobe.com/experience-manager/using/aem63_saml.html https://experienceleague.adobe.com/docs/experience-manager-64/administering/security/saml-2-0-authenticationhandler.html?lang=en#configure-a-logger-for-saml Thanks,Sandeep.

Views

220

Like

1

Replies

2
Re: custom validation for coral text filed
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
var maxlength = parseInt(el.getAttribute("data-myapp-maxlength"), 10); this value is not coming

Views

165

Likes

0

Replies

0
Re: custom validation for coral text filed
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
I know this, but I have to show alert after reaching limit.Please provide me some reference to achieve using js.

Views

174

Likes

0

Replies

0
custom validation for coral text filed
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
Hi all,I am using below code for validation for text field in dialog.(function(document, $, Coral) {var $doc = $(document);$doc.on('foundation-contentloaded', function(e) {$(window).adaptTo("foundation-registry").register("foundation.validation.validator", {selector: "[data-validation=txt-validate]",validate: function(el) {var maxlength = parseInt(el.getAttribute("data-myapp-maxlength"), 10);if (isNaN(maxlength)) {return;}var length = el.value.length;if (length > maxlength) {return "The field ne...

Views

227

Likes

0

Replies

6
Re: Obtaining resourceresolver in Sling Model
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
Hi @v1101 , Please try @SlingObject to get resource resolver.please follow below link for reference .https://sling.apache.org/documentation/bundles/models.html Thanks,Sandeep.

Views

423

Like

1

Replies

0
Re: Overlay createlivecopywizard
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
Please follow https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/sling-resource-merger.html

Views

223

Likes

0

Replies

0
Re: Overlay createlivecopywizard
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
For every node overlay option is there, you can go to require child node and overlay it.manual copy doesn't work properly.

Views

193

Likes

0

Replies

0
Re: Overlay createlivecopywizard
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
Hi @AEMnewbie ,Don't copy the node from libs to apps manually. Please use overlay button as shown in below picture.Thanks,Sandeep.

Views

214

Like

1

Replies

2
Re: Unable to download aem 6.5
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
Hi @shreyjuneja , Please write a mail to SPP(spphelp@adobe.com) from office mail id. They will provide link to download AEM.You can get it but only for some certain periods by dropping an access request to spphelp@adobe.com for the same.Thanks,Sandeep.

Views

148

Like

1

Replies

0
Re: design mode in slightly
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
Hi arun, Do we have any workaround for this?

Views

162

Likes

0

Replies

0
Re: design mode in slightly
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
Hi @Arun_Patidar ,I have tried using java also. still no luck. Please find below for code. Here I am getting wcmmode as. EDIT even in design mode. @Model(adaptables = SlingHttpServletRequest.class)public class WCMModel {private static Logger logger = LoggerFactory.getLogger(WCMModel.class);@Injectprivate SlingHttpServletRequest httpServletRequest;private boolean isDesign;@PostConstructprotected void init() {logger.info("wcmmode = " + WCMMode.fromRequest(httpServletRequest));if (WCMMode.DESIGN ==...

Views

243

Likes

0

Replies

0
Re: design mode in slightly
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
Is there anywany to get design mode in slightly?

Views

258

Likes

0

Replies

0
Re: design mode in slightly
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
XYZ

Views

206

Likes

0

Replies

0
design mode in slightly
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
Hi Team,${wcmmode.design} is giving false even in design mode.Please help me to resolve the issue.Aem version - 6.4 Thanks,Sandeep.

Views

406

Likes

0

Replies

12
Re: Creating Unit Test Cases for AEM Servlet with "system...
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
Please add below lines your servlet. Then it will work. private ResourceResolverFactory resourceResolverFactory;@referencepublic void setResourceResolverFactory(ResourceResolverFactory resourceResolverFactory) {this.resourceResolverFactory = resourceResolverFactory;} Thanks,Sandeep.

Views

264

Likes

0

Replies

0
Re: Creating Unit Test Cases for AEM Servlet with "system...
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
I think you are getting null pointer for resourceResolverFactory. Please add below line mockContentOwnerServlet.setResourceResolverFactory(resourceResolverFactory);

Views

277

Likes

0

Replies

0
Re: Creating Unit Test Cases for AEM Servlet with "system...
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
Hi @Parvathy_C , Please try below.Map params = new HashMap<>();params.put(resourceResolverFactory.SUBSERVICE, systemUserName);ResourceResolver resourceResolver = mock(ResourceResolver.class);ResourceResolverFactory resourceResolverFactory = mock(ResourceResolverFactory.class);when(resourceResolverFactory.getServiceResourceResolver(params)).thenReturn(resourceResolver); Thanks,Sandeep.

Views

295

Likes

2

Replies

6
Re: Design time path not found for model with ID: /var/wo...
Avatar

Sandeep6

Sandeep6
- Adobe Experience Manager
Hi @saibul , Have you upgraded your aem instance recently. If yes, please follow below article. https://helpx.adobe.com/in/experience-manager/kb/cannot-read-workflow-model-error.html Thanks,Sandeep.

Views

254

Likes

2

Replies

0