since ‎12-04-2015
‎10-12-2019
rishim22446870
Level 2
Re: Unit Testing Adaptive Forms & Fragment
Avatar

rishim22446870

rishim22446870
- Adobe Experience Manager Forms
PriyankPardiwala wrote... Hello Experts, How do we go about writing/performing Automated Unit Tests for Adaptive Forms and Form Fragments. I tried looking up on help site but I couldn't find any material. Any guidance will be helpful ! Thanks, Priyank P Hi,Recently in 6.3, we have introduced an adaptive form testing framework called "Calvin" which would enable you to write automated test cases to test forms, fragments. Since this was part of 6.3 release, the document is still in progress. Once t...

Views

843

Likes

0

Replies

1
Re: Empty field appearing with id "emptyValue" to all dropdown field.
Avatar

rishim22446870

rishim22446870
- Adobe Experience Manager Forms
DIPEN wrote... Hi, For all dropdown autogenerated empty option appearing with id "emptyValue". How to get rid of this option tag? Can you elaborate on the use-case you are trying to solve ? Did you find any issues with the "emptyValue" option present in drop down list component

Views

1.4K

Likes

0

Replies

0
Re: AEM Form 6.3 (What's New) - Single Page Applications (SPA)
Avatar

rishim22446870

rishim22446870
- Adobe Experience Manager Forms
AEM Forum wrote... Hi, I read in AEM Form 6.3 (What's New) that it helps to build Single Page Applications (SPA). What is an SPA? How is it different from regular applications? Thanks, Rama. You would have probably got to known about what exactly is a SPA and how is it different from other regular application. I would now try to answer this question in the context of AEM Forms.Let's understand this by taking a simple use-case. Say, there is an AEM/Non AEM Page which is already built and you woul...

Views

527

Likes

0

Replies

0
Re: Rule Editor Stopped Working
Avatar

rishim22446870

rishim22446870
- Adobe Experience Manager Forms
mikep35030180 wrote... Using AEM Forms 6.2 I've created several adaptive forms, each with rules applied to many of the fields. Today I can see the rules but I cannot create a new rule nor can I edit the existing rules. If I select a field that has a rule I can select the Edit Rules icon. Here I see a list of rules that were created. If I select a rule's checkbox, I see the Edit icon. But if I click on the Edit icon it does not do anything. Same for the Create icon. Any ideas? Can you try using t...

Views

374

Likes

0

Replies

0
Re: Sidebar/siderail not coming in touchUI mode
Avatar

rishim22446870

rishim22446870
- Adobe Experience Manager Forms
hemant_1991 wrote... I am also facing the same problem. All of a sudden, the side panel stopped working, edit, annotate no more in function. Did you get the solution? ************************************************Error log*************************************************************************** 24.03.2017 13:13:45.141 *WARN* [127.0.0.1 [1490341425137] GET /editor.html/content/aia-sg-stp/en/lufthansa-test.html HTTP/1.1] libs.granite.ui.components.foundation.admin.page.page$jsp @deprecated /li...

Views

426

Likes

0

Replies

0
Re: adaptive form || custom message after custom,serverside validation fails
Avatar

rishim22446870

rishim22446870
- Adobe Experience Manager Forms
Joel Lucuik wrote... Just decompiled the Java from the bundle. But formal docs would still be nice. Joel Thanks for your valuable feedback. The class got missed in the java documentation [1] We would update the same in the next release.[1] https://helpx.adobe.com/aem-forms/6-2/javadocs/

Views

934

Likes

0

Replies

0
Re: Adaptive form validation (server side)
Avatar

rishim22446870

rishim22446870
- Adobe Experience Manager Forms
Hi Joel,Apologies for the delay. Let me know if you face any further issues with your custom implementation. Thanks,Rishi

Views

344

Likes

0

Replies

0
Re: AEM Forms Rules Editor
Avatar

rishim22446870

rishim22446870
- Adobe Experience Manager Forms
RNYSHADH SHADH wrote... But what is the application of Code Editor in Rules Editor? When do we use it? In those cases, how do we ask Marketing people to code? Code Editor was built for a developer persona to write complex rules. It is never meant to be used by a marketing guy. In fact, for 6.3, we have added another layer of security for code editor to be usable only for a particular set of users and not all.If you have a complex rule in your form which is to be re-used, you could create a fragm...

Views

529

Likes

0

Replies

0
Re: AEM Forms Header and Footer
Avatar

rishim22446870

rishim22446870
- Adobe Experience Manager Forms
RNYSHADH SHADH wrote... Hi Rishi, You mentioned "AEM Forms follow similar notion of creating templates as done in AEM Sites.". In AEM, if the template has iParsys, if I author header & footer to a page at a folder level, all the child pages underneath that page inherit those header and footer. But in Forms, where is the concept of parent page, iParsys, child page and all child forms inheriting all iParsys elements from parent? Thanks, Rama. By similar notion, I meant the way templates are create...

Views

663

Likes

0

Replies

0
Re: how can we integrate and pre-populate the adaptive form with JSON data
Avatar

rishim22446870

rishim22446870
- Adobe Experience Manager Forms
Hi Sandhya,As of AEM Forms 6.2 release, you could pre-populate an adaptive form using XML data. If you have JSON data as per business requirements, you could convert the JSON data to XML data for pre-populating the form. If you wish to know more details on how pre-populating adaptive form fields work, you could refer to details at [1]In 6.3 release, we are also planning to incorporate the notion of pre-populating adaptive form using JSON Data.Thanks,Rishi[1] https://helpx.adobe.com/aem-forms/6-2...

Views

569

Like

1

Replies

0
Re: AEM Forms Header and Footer
Avatar

rishim22446870

rishim22446870
- Adobe Experience Manager Forms
HI Rama,AEM Forms follow similar notion of creating templates as done in AEM Sites. In 6.2, a new feature of template editor was added in AEM. With this, you could actually create editable templates(template created using template editor) as detailed here [1]. You could also refer to a video tutorial at [2]If you are using 6.1, you could follow steps mentioned here [3]. Please Note, these templates are static template meaning, they don't have any editor for authoring them.Template editor is very...

Views

646

Likes

0

Replies

0
Re: What is first? 'Document ready' or guideBridge.connect() ?
Avatar

rishim22446870

rishim22446870
- Adobe Experience Manager Forms
Hi,It is always recommended to use guideBridge API's once guideBridge is initialized(inside connect function). What is your use-case of using jQuery inside guideBridge.connect ?Ideally, DOM operations through jQuery should be done inside document ready irrespective of guideBridge being connected or not.Thanks,Rishi

Views

469

Likes

0

Replies

0
Re: Display default value of Dropbox
Avatar

rishim22446870

rishim22446870
- Adobe Experience Manager Forms
Hi Alex,This was a bug in 6.1 Feature Pack 1 and it recently got fixed.Thanks,Rishi

Views

851

Likes

0

Replies

0
Re: OOTB captcha component for adaptive forms
Avatar

rishim22446870

rishim22446870
- Adobe Experience Manager Forms
Hi Daniel,There is no OOTB captcha component available in AEM Forms as of today. There is a captcha component available OOTB as part of AEM Foundation component as seen here [1] in CRX/DE.You can anytime create a custom component in AEM forms for your usecase.Thanks,Rishi[1] /libs/foundation/components/form/captcha/captcha.jsp

Views

300

Likes

0

Replies

0
Re: Adaptive forms - visibility/access expressions and mandatory option
Avatar

rishim22446870

rishim22446870
- Adobe Experience Manager Forms
Hi Daniel,The functionality to "set" a mandatory property for a field was introduced in 6.1 Feature Pack 1. For the given use-case, you can follow the steps mentioned below:a) Say, we are controlling visibility of a field Y based on a field's(say X) value.b) On "value commit" script of X, you can write the following script,if(this.value === "4"){ Y.visible = true; Y.mandatory = true; } else { Y.visible = false; }A similar approach could be followed for "access" too.Hope this solve's your use-cas...

Views

520

Likes

0

Replies

0
Re: Pre-populate form fields
Avatar

rishim22446870

rishim22446870
- Adobe Experience Manager Forms
Hi,Can you throw some light on what was the problem and what were the steps taken to solve it ? Also, with 6.2, we have introduced a much simpler and manageable way to prefill forms with the notion of "prefill service", the documentation of this would be live soon.Thanks,Rishi

Views

947

Likes

0

Replies

0
Re: Chrome auto-completion of form fields
Avatar

rishim22446870

rishim22446870
- Adobe Experience Manager Forms
Hi Alex,This is a known bugThanks,Rishi

Views

662

Like

1

Replies

0
Re: How to extend or sub-type 'guideField' ?
Avatar

rishim22446870

rishim22446870
- Adobe Experience Manager Forms
properties object is exposed as part of global objects, it is not a part of guideField bean. You should try the following code in the component's jsp,<% String hasUrlForAutocompleteLookUp = properties.get("hasUrlForAutocompleteLookUp", null); %> <% if(hasUrlForAutoCompleteLookUp != null) {%> <% } %>

Views

391

Likes

0

Replies

0
Re: How to use guideBridge.validate([], <some-expression>) ?
Avatar

rishim22446870

rishim22446870
- Adobe Experience Manager Forms
Hi,On using the validate API, the fields specified in the validate API get the class "validate-failure" only if the field does not pass the validate test. Probably, in your case, there must be a call to validate the entire AF before the actual validate to the field is called. To verify this, you can perform the following steps:a) Open the AF in preview mode.b) Once done, before doing any changes in AF, execute the below mentioned script.c) Say the som expression of the field to validate is "A", ...

Views

685

Likes

0

Replies

0
Re: How to extend or sub-type 'guideField' ?
Avatar

rishim22446870

rishim22446870
- Adobe Experience Manager Forms
Hi,You can create a new "customized texbox component" which inherits from textbox component and leverage the global object "properties" [1] exposed by AEM for your use-case. I don't think there is a need to create a bean.Thanks,Rishi[1] https://docs.adobe.com/docs/en/cq/5-6-1/developing/scripts.print.html

Views

401

Likes

0

Replies

0
Re: adaptive form || custom message after custom,serverside validation fails
Avatar

rishim22446870

rishim22446870
- Adobe Experience Manager Forms
Hi Kanwaljit,These are the answers to the three questions which you have asked,a) Ajax Submit of adaptive form can be achieved using guideBridge#submit API. This API take an options object which consists of four members, (success, error, validate and context) as seen below./** * Submits the adaptive form to the pre-configured submit action. It can also validate the adaptive form * before submission. * * @param options {object} The signature of the object is * * { * validate: true, * success: fu...

Views

933

Likes

0

Replies

0
Re: logging of widget's script or expression evaluation
Avatar

rishim22446870

rishim22446870
- Adobe Experience Manager Forms
To enable logging follow these stepsa) Navigate to system console [1]b) Search for the service DAY CQ HTML Library Manager (or Granite HTML Library Manager) and open the settings for the samec) Check the checkbox which says Debug Consoled) In the text box which says Debug Init Script define a js variable window.AF_log_config with the value "a7-b7-c7-d7". To know what this value represents have a look at Log Configuration[2]e) Save the settings.f) Open any Guide and the logger will be enabledNote...

Views

337

Likes

0

Replies

0
Re: logging of widget's script or expression evaluation
Avatar

rishim22446870

rishim22446870
- Adobe Experience Manager Forms
Hello,Your question arise's mainly from the perspective of debugging Adaptive form expressions right ? If yes, as of today there is no OOTB support to debug expression, but you can make use of the in-build browser support to add a javascript breakpoint during code exection [1] using the debugger; keyword. For Example,Say, you are writing a calculate expression to compute a field's value, then you can add debugger; keyword before the actual business logic,debugger; textbox.valueHope this answer's...

Views

324

Likes

0

Replies

0
Re: Sharing design styles across templates in the same website
Avatar

rishim22446870

rishim22446870
- Adobe Experience Manager Forms
Hi,Design dialog is specific to a component instance but shared across pages which are using same template. Additionally, the design path for each template can be configured using cq:designPath property of the jcr:content node.Considering the above statement, I don't think design assets could be shared across templates.Thinking loud, I think there can two solutions to your problem:a) Either you create the node hierarchy in the design path pertaining to the template using sling (or)b) You could a...

Views

410

Likes

0

Replies

0
Re: Populate dropdown field using java script
Avatar

rishim22446870

rishim22446870
- Adobe Experience Manager Forms
Hi, You should have used options expression [1] instead of calculate expression to dynamically populate drop down list. Calculate Expression is to calculate the value of drop down list and not the options.[EDIT] Few more things,GuideBridge acts as a "bridge" for external application to communicate to "adaptive form", In your case, the recommended approach is to pass a reference of the address panel to the address setter API, something like var addressSetter = function(addressPanel){ // use the i...

Views

3.4K

Likes

0

Replies

3
Re: Regarding Terms and Conditions Field
Avatar

rishim22446870

rishim22446870
- Adobe Experience Manager Forms
As of now, bind Ref property is not supported in terms and conditions field. But if you have a use case, I would like to hear it.

Views

513

Likes

0

Replies

0
Re: Script to Show Hide
Avatar

rishim22446870

rishim22446870
- Adobe Experience Manager Forms
Visibility Expression is used to control the visibility of field/panel. The return value of visibility expression should be a boolean(true/false), where true says that the component should be visible and false says that it should be hidden.Suppose, you have two fields A and B and say, you want to control the visibility of A based on the value present in B. In such case, the visibility expression would look like this,// suppose we want to make the field A visible only when the value of // field B...

Views

1.1K

Likes

0

Replies

0
Re: Parsys component layout overlapping
Avatar

rishim22446870

rishim22446870
- Adobe Experience Manager Forms
A quick question, Have you used AEM forms or its a normal CQ Page ?? If you have not used AEM forms, please post it here

Views

500

Likes

0

Replies

0
Re: Visibility Logic
Avatar

rishim22446870

rishim22446870
- Adobe Experience Manager Forms
There could be three solutions to your problem:a) Suggested by mandeep.b) You can use this visible expression in text field, (radiobutton.value === null ? true : (radibutton.value == "1")) . Assuming you have no default value set.c) Set a default value for the radio button.

Views

572

Likes

0

Replies

0
Re: local repository access with sling resource resolver
Avatar

rishim22446870

rishim22446870
- Adobe Experience Manager Forms
There can be two approach to solve your problema) Considering the test class resides inside OSGI, you can inject a reference to this service [1]b) If you still need a slingRequest Object(from current user session), you can make a rest end point(write all ur test class code in jsp) and hit this rest end point. For this you can refer [2] [3][1] http://docs.adobe.com/docs/en/cq/5-5/javadoc/org/apache/sling/api/resource/ResourceResolverFactory.html[2] http://sling.apache.org/documentation/developmen...

Views

696

Likes

0

Replies

0
Likes from