since ‎26-01-2016
‎10-12-2019
hitesh_m
Level 2
AEM Form size is getting too big
Avatar

hitesh_m

hitesh_m
- Adobe Experience Manager Forms
Hi, We have complex AEM form in 6.3 and we are finding our form size (HTML doc only) is getting too big. We analyze that and found some of the JS rendering on the page is one of the reason. See screenshot. Is there a way we to avoid this script printing in the HTML doc?

Views

473

Likes

0

Replies

0
Curl command for a bundle status
Avatar

hitesh_m

hitesh_m
- Adobe Experience Manager
Hi, I am looking for a curl command that can tell me the status of my bundle (Active, Resolved etc). I am using following to start but it returns me results like - {"fragment":false,"stateRaw":32} curl -u admin:admin http://localhost:4502/system/console/bundles/com.my.aem-project-bundle -Faction=start

Views

2.2K

Likes

0

Replies

1
Re: Hidden fields are visible in AEM 6.3
Avatar

hitesh_m

hitesh_m
- Adobe Experience Manager Forms
We did not change the rules in the editor. We migrated forms from 6.1 to 6.3. However we are getting following JS error - not sure if its related to this problemTypeError: Cannot read property 'id' of undefined at child.handleAccessibility (guideRuntime.js:21263) at child.tempXfaFixes (guideRuntime.js:20420) at child._newWidget (guideRuntime.js:20471) at child._initOrUpdateWidget (guideRuntime.js:21217) at HTMLDivElement. (guideRuntime.js:21231) at Function.each (en.js:2) at n.fn.init.each (en.j...

Views

2.7K

Likes

0

Replies

1
Javascript error after migration
Avatar

hitesh_m

hitesh_m
- Adobe Experience Manager Forms
Hi, we are migrating our forms from 6.1 to 6.3. When we are launching our forms in 6.3 we are getting a javascript error that is blocking everything. Can someone help us to identify the root cause ? Following is the error.TypeError: Cannot read property 'id' of undefined at child.handleAccessibility (guideRuntime.js:21263) at child.tempXfaFixes (guideRuntime.js:20420) at child._newWidget (guideRuntime.js:20471) at child._initOrUpdateWidget (guideRuntime.js:21217) at HTMLDivElement. (guideRuntime...

Views

683

Likes

0

Replies

1
Hidden fields are visible in AEM 6.3
Avatar

hitesh_m

hitesh_m
- Adobe Experience Manager Forms
Hi,We are in a process of migrating AEM forms 6.1 to AEM 6.3. We recently encountered one issue that all the fields which we made hidden in 6.1 are visible in 6.3. We used Visibility expression to make them hide. When we see in the rule editor - the rule is set correct. Any information ?

Views

3.1K

Like

1

Replies

3
Re: Rule editor is not working in 6.3
Avatar

hitesh_m

hitesh_m
- Adobe Experience Manager Forms
Yes " AEM 6.3 Forms add-on package" is installed and we are following Migrate AEM Forms assets and documents as well. But after installing the migration utility I can access http://[hostname]:[port]/[context path]/content/changeType.html But not http://[server]:[port]/lc/libs/fd/foundation/gui/content/migration.htmlI am not sure whats wrong here. One thing I am not able to find "lc" in my nodes too. but http://localhost:4502/libs/fd/foundation/gui/content/migration.html exists. However that also...

Views

4.4K

Likes

0

Replies

3
Rule editor is not working in 6.3
Avatar

hitesh_m

hitesh_m
- Adobe Experience Manager Forms
Hi, We have adaptive forms built in 6.1 (Without rule editor) and we have to migrate them to 6.3We are able to install our form content package in 6.3. With the help of Dialog Conversion tool we are also able to launch rule editor. Now we have two problems. 1. Rule editor is not showing our existing rules.2. When we are creating new rules its deleting all the existing rules For example we have a textfield firstName. We have valueCommitScript and initScript for this text field. If we are trying t...

Views

4.9K

Likes

0

Replies

5
Re: Not able to login in AEM Publish instance
Avatar

hitesh_m

hitesh_m
- Adobe Experience Manager
Yes, I was always able to login.

Views

7.8K

Likes

0

Replies

0
Re: Not able to login in AEM Publish instance
Avatar

hitesh_m

hitesh_m
- Adobe Experience Manager
I wanted to check some properties in CRXDE, hence I went to http://:4503/crx/de/index.jsp , I got the login window I entered username and password (admin:admin) Workspace is crx.default I got the error Provided username and password do not match. However, the same instance works when I try curl -u admin:admin http://localhost:4503/crx/packmgr/service.jsp?cmd=ls Error in the browser console is Request URL: /crx/de/j_security_checkRequest Method:POSTStatus Code: 403 ForbiddenHere are the logs in e...

Views

7.8K

Likes

0

Replies

0
Not able to login in AEM Publish instance
Avatar

hitesh_m

hitesh_m
- Adobe Experience Manager
Hi, I am not able to login in AEM publish instance through web browser - :4503/crx/packmgr/index.jsp But if I test the same from replication agent, it says "Test connection successful"Also if I check it from CURL , like curl -u admin:admin http://localhost:4503/crx/packmgr/service.jsp?cmd=ls It works. Can you please help me understand the issue.

Views

9.2K

Likes

0

Replies

9
Numeric fields doesn't work with Android
Avatar

hitesh_m

hitesh_m
- Adobe Experience Manager Forms
Hi,I am creating an Adaptive form (AEM 6.1). My problem is all the numeric fields are not working good in Android phone browser. Here is the scenario1. Create a form2. Create a numeric text box (Make it decimal)3. Lets say lead digit 9, fraction 2 Now, there are following issues1. The field accepts more then 9 chars, including alphabets and special chars2. When you use alphabets in numeric box (for testing or by accident), you can not edit the numeric field. Please suggest any solution.

Views

379

Likes

0

Replies

0
Re: Email Validation for AEM Forms
Avatar

hitesh_m

hitesh_m
- Adobe Experience Manager Forms
I would suggest to write an AEM forms validation expression in Javascript.

Views

467

Likes

0

Replies

0
Content update in AEM forms
Avatar

hitesh_m

hitesh_m
- Adobe Experience Manager Forms
Hi all,We are using AEM forms one of our production implementation. We need your suggestion for content updates.Right now, our Authors can update certain content areas in AEM forms (like Error Messages, Help Content, Placeholder text etc) in production. Our problem is if we release our new code version to production , these content areas may overwrite. Our code versions include - Javascript validations (AEM forms expressions) , UI, etc, Is there any way to handle this ?PS: We release our AEM cod...

Views

808

Likes

0

Replies

1
Re: Embed Adaptive Forms in external website
Avatar

hitesh_m

hitesh_m
- Adobe Experience Manager Forms
Adaptive forms are driven by a lot of server side components. With the existing version on AEM Forms, I dont think this is a right idea to use them forms in external website. However this is a good suggestion 🙂

Views

1.7K

Likes

0

Replies

0
Re: AEM forms and javascript
Avatar

hitesh_m

hitesh_m
- Adobe Experience Manager Forms
radzmar wrote... Sorry, but this.value != "" isn't a good validation (see here on page 18). You better use this.rawValue !== null; or the built-in method isNull() to check a fields value against null. this.isNull(); Thanks. I updated the answer !

Views

529

Likes

0

Replies

0
Re: AEM forms and javascript
Avatar

hitesh_m

hitesh_m
- Adobe Experience Manager Forms
You can make your filed mandatory to avoid JS. OrYou can write your validation script under "Validate" expression. If you are using rule editor its quite simple. One sample validation is - this.value !==null or this.isNull() for blank fields. Just write this script in validate expression.

Views

515

Like

1

Replies

0
Tabindex in AEM forms
Avatar

hitesh_m

hitesh_m
- Adobe Experience Manager Forms
We are building an AEM form with no customization. For one of our Accessibility requirement we have to set tabindex of text fields. I am wondering if there is any way to do the same ?

Views

982

Likes

0

Replies

1
Re: Session handling across the nodes and web server
Avatar

hitesh_m

hitesh_m
- Adobe Experience Manager
Thanks yogesh. We can not use query parameter as the data is a long string and little sensitive. When you say COOKIE, I tried this in my JSP- Cookie cookie = new Cookie("key","value");But I am not able to retrieve this value in my redirected page. Am I doing it right ?

Views

1.7K

Likes

0

Replies

0
Form validation for hidden fields
Avatar

hitesh_m

hitesh_m
- Adobe Experience Manager Forms
Hi,I have a form with multiple child panels like -MainPanelName, MaritalStatus and ProvinceChildPanel_one (Only visible if MaritalStatus is true in MainPanel)Spouse Name, Spouse DOB, Spouse Salary I have set a validation expression for ChildPanel fields. My problem is, even if the ChildPanel is not visible- AEM form validates the childPanel fields and gives me the validation error.Right now to avoid this, for every child panel field I have to set validationDisable=true in initialization expressi...

Views

574

Likes

0

Replies

1
Session handling across the nodes and web server
Avatar

hitesh_m

hitesh_m
- Adobe Experience Manager
Hi experts, I am working in an AEM app which does following - User submits the data through AEM formsWe collect the data in AEM form action jsp and make a string We store string in a session (HTTP session i.e. session.setAttribute )AEM redirects user to a thank you pageWe have a “Call to action” on thank you pageOn this call to action, we hit a backend JSP say”createfile.jsp” that reads the string from session variable and create a text file to download (session.getAttribute) This works in singl...

Views

2.0K

Likes

0

Replies

5
Vault is not saving the data
Avatar

hitesh_m

hitesh_m
- Adobe Experience Manager
I am using vault for synchronizing the code from eclipse to AEM. The checkout command is working good. But in checking I am not seeing my changes in CRXDE. Instead I m getting a message in CRXDE "Binary property is only editable after saving". So I have to go to CRXDE and save the content to see the changes. Here is my CI commandvlt ci --force The message i get "Done" in CL. When I go to CRX to see the changes , I see inMyFile.jsp-->jcr:content "Binary property is only editable after saving". I ...

Views

905

Likes

0

Replies

3
External JAR in AEM project
Avatar

hitesh_m

hitesh_m
- Adobe Experience Manager
Hi , I have an AEM project setup like this -->myproject-->componentsmyproject-->templatesI need to use an external JAR in my project. For that I created a folder like myproject-->install and through webdev I placed my jar "helloworld.jar" in install folder. But I am not able to use this JAR in my component file. Its not resolving the class. Any idea.

Views

1.3K

Likes

0

Replies

2
AEM form CRUD Operations
Avatar

hitesh_m

hitesh_m
- Adobe Experience Manager Forms
Hi Experts,I am using AEM forms for storing some content in CRX (through Submit and Store Action). Now , I have to do certain operations like Edit or Delete the records within the form. I know AEM suggests to use bulk editor for same but requirement is to perform operations from AEM forms itself. Any idea ?

Views

2.0K

Likes

0

Replies

3
Validation check on a field
Avatar

hitesh_m

hitesh_m
- Adobe Experience Manager Forms
Hi Experts,I am creating an Adaptive form in AEM which uses multiple wizards (panels). I have a requirement like the user should not move to the next panel until his inputs are validated for existing panel. Is there any property I can use to achieve this functionality ? Basically, what I am trying to achieve is this If(myTextFieldValidated){MoveToNextPanel; }

Views

654

Likes

0

Replies

1
Re: Panel Validation with Rule Editor
Avatar

hitesh_m

hitesh_m
- Adobe Experience Manager
Thanks for your reply. I am not using JQuery plugin. Is there any way from AEM out of the box ?

Views

541

Likes

0

Replies

0
Panel Validation with Rule Editor
Avatar

hitesh_m

hitesh_m
- Adobe Experience Manager
Hi I am working on a wizard based form in AEM. As per the requirement I have to validate fields in panel before moving to the next panel. I am using Rule Editor for JS validations. I am not sure how to validate the panel with rule editor. As per adobe it should be called for "Step Completion Expression". I am not able to find this expression with Rule Editor. I tried following on click of a button if(window.guideBridge.validate([],this.panel.navigationContext.currentItem.somExpression)){//Move t...

Views

975

Likes

0

Replies

3
Two Mail Templates in AEM Email
Avatar

hitesh_m

hitesh_m
- Adobe Experience Manager
Hi Experts ,I am writing a custom form action in AEM. My action sends email as per a predefined template. Here is the code MailTemplate mailTemplate = MailTemplate.create("/apps/custom_submit_action/store_and_email/temp.html", resolver.adaptTo(Session.class));MultiPartEmail email = mailTemplate.getEmail(StrLookup.mapLookup(parameters), HtmlEmail.class);This works fine. Now I have an another template /apps/custom_submit_action/store_and_email/temp.xml, I want to send the data in this template as ...

Views

596

Likes

0

Replies

1
Adaptive form through XML Schema
Avatar

hitesh_m

hitesh_m
- Adobe Experience Manager
Hi, I am trying to create an adaptive form based on example - https://helpx.adobe.com/aem-forms/6/adaptive-form-xml-schema-form-model.html I am using XSD for creating the form. The issue is I am not able to create Radio Button in XSD. So far I am only able to create drop-downs. I am using following XSD for radio button -

Views

449

Likes

0

Replies

0
Re: Using email template in AEM form
Avatar

hitesh_m

hitesh_m
- Adobe Experience Manager
From Adobe I started following https://helpx.adobe.com/aem-forms/6/custom-submit-action-form.html this article. But there is following problem in thisemail.setMsg((String)props.get("template")); This does not render the template. Instead it prints the template as a plain text in email. I assume some work required here to map with the template.Then I moved to a basic example of template rendering. I followed various links and blogs (Other than adobe as well). Here is one I am following http://lab...

Views

1.5K

Likes

0

Replies

3
Using email template in AEM form
Avatar

hitesh_m

hitesh_m
- Adobe Experience Manager
Hi, I am working on a form where on submit, I have to send an email using email template. I am writing this custom action since I have to write some more business logic further (Like attaching a doc, reading an XML etc). But I am stuck in this basic code just to send the mail first. Map mailTokens = new HashMap(); mailTokens.put("subject", "Testing the mail template"); mailTokens.put("thanks", "Thanks"); mailTokens.put("author", "Team."); mailTokens.put("message","This is the message"); Resource...

Views

2.3K

Likes

0

Replies

6