since ‎12-04-2015
‎10-12-2019
rishim22446870
Level 2
Re: Unit Testing Adaptive Forms & Fragment 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...
755
Views
0
Likes
1
Replies
Re: Empty field appearing with id "emptyValue" to all dropdown field. 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
1268
Views
0
Likes
0
Replies
Re: AEM Form 6.3 (What's New) - Single Page Applications (SPA) 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...
369
Views
0
Likes
0
Answers
Re: Rule Editor Stopped Working 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...
272
Views
0
Likes
0
Answers
Re: Sidebar/siderail not coming in touchUI mode 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...
335
Views
0
Likes
0
Answers
Re: adaptive form || custom message after custom,serverside validation fails 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/
797
Views
0
Likes
0
Answers
Re: Adaptive form validation (server side) 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
269
Views
0
Likes
0
Answers
Re: AEM Forms Rules Editor 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...
461
Views
0
Likes
0
Answers
Re: AEM Forms Header and Footer 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...
486
Views
0
Likes
0
Answers
Re: how can we integrate and pre-populate the adaptive form with JSON data 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...
501
Views
0
Likes
0
Answers
Re: AEM Forms Header and Footer 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...
470
Views
0
Likes
0
Answers
Re: What is first? 'Document ready' or guideBridge.connect() ? 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
388
Views
0
Likes
0
Answers
Re: Display default value of Dropbox rishim22446870 - Adobe Experience Manager Forms
Hi Alex,This was a bug in 6.1 Feature Pack 1 and it recently got fixed.Thanks,Rishi
769
Views
0
Likes
0
Answers
Re: OOTB captcha component for adaptive forms 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
225
Views
0
Likes
0
Answers
Re: Adaptive forms - visibility/access expressions and mandatory option 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...
432
Views
0
Likes
0
Answers
Re: Pre-populate form fields 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
814
Views
0
Likes
0
Answers
Re: Chrome auto-completion of form fields rishim22446870 - Adobe Experience Manager Forms
Hi Alex,This is a known bugThanks,Rishi
581
Views
0
Likes
0
Answers
Re: How to extend or sub-type 'guideField' ? 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) {%> <% } %>
315
Views
0
Likes
0
Answers
Re: How to use guideBridge.validate([], <some-expression>) ? 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", ...
511
Views
0
Likes
0
Answers
Re: How to extend or sub-type 'guideField' ? 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
323
Views
0
Likes
0
Answers
Re: adaptive form || custom message after custom,serverside validation fails 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...
798
Views
0
Likes
0
Answers
Re: logging of widget's script or expression evaluation 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...
274
Views
0
Likes
0
Answers
Re: logging of widget's script or expression evaluation 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...
262
Views
0
Likes
0
Answers
Re: Sharing design styles across templates in the same website 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...
341
Views
0
Likes
0
Answers
Re: Populate dropdown field using java script 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...
3178
Views
0
Likes
3
Replies
Re: Regarding Terms and Conditions Field 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.
443
Views
0
Likes
0
Answers
Re: Script to Show Hide 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...
995
Views
0
Likes
0
Answers
Re: Parsys component layout overlapping 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
407
Views
0
Likes
0
Answers
Re: Visibility Logic 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.
495
Views
0
Likes
0
Answers
Re: local repository access with sling resource resolver 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...
617
Views
0
Likes
0
Answers