since ‎21-12-2018
‎04-04-2020
vigiaemnewbie
Level 2
How to hide/show fields based on checkbox in AEM 6.5? vigiaemnewbie - Adobe Experience Manager
Can someone please give me a step by step solution to hide show a set of fields based on checkbox in AEM 6.5? I have tried everything I could find on Google and nothing works as expected. It's ridiculous how we're up to AEM 6.5 and Adobe still hasn't provided an out of the box solution for this. And if there is an out of the box solution it's ridiculous how tough it is to find documentation for it.
1693
Views
0
Likes
3
Answers and Comments
AEM Publish Instance - Cannot serve request to <path> on this server vigiaemnewbie - Adobe Experience Manager
I have configured an AEM author and publish instance on two different servers and configured the replication agent and the connection is successful. After publishing the we.retail pages I am not able to view any pages on publish server. I get the following error:I am not able to access any other path either (such as /siteadmin, /sites.html, /useradmin etc.)Through crx/de I logged in as admin and tried the paths but still the same issue. I was even able to access /libs/granite/security/content/us...
887
Views
0
Likes
1
Answers and Comments
AEM overlays not adding new property in jcr. vigiaemnewbie - Adobe Experience Manager
I am overlaying the editable template creation wizard accessed as shown below:In the template creation wizard I have added my own field by overlaying as follows:After submitting this dialog, the template gets created with the default properties Template Title and Description but my new property does not get stored in the jcr as shown below:Are there any other steps to be followed in order to add my own properties in this node?After the above is achieved, the next step would be to add the same fi...
751
Views
0
Likes
1
Replies
How to inherit editable templates into child templates? vigiaemnewbie - Adobe Experience Manager
Let's say I have created a configuration and editable templates for my parent site A and now I have to create editable templates for my child sites B and C. I need to inherit the various editable templates created for my parent site A into the child sites B and C and I should be able to edit these templates and provide a layout and content unique to the child sites. The following structure should roughly illustrate the idea:Site AEditable Template 1AEditable Template 2ASite BEditable Template 1B...
1431
Views
0
Likes
3
Answers and Comments
How to restrict adding components in child pages created from iParsys template? vigiaemnewbie - Adobe Experience Manager
The following is a page hierarchy created from the same template:The header and footer is authored in the us page and the en page is child page of us and inherits the header and footer from the parent through iparsys. I need to restrict author from adding any components in the header and footer iparsys in the child pages. The header and footer must stay constant throughout the website and I want to restrict author from cancelling or disabling inheritance at any point in the child pages. How to r...
951
Views
0
Likes
1
Replies
How to create editable templates based on another editable template? vigiaemnewbie - Adobe Experience Manager
I need to create a base editable template which contains the header and footer for the site, then I need to create more editable templates for the different types of pages for the site as illustrated in the following structure:It's needs to be done in a way such that when the template author edits the base editable template, the header and footer content needs to be reflected throughout all the derived editable templates. Is there a way to derive editable templates from other editable templates?
605
Views
0
Likes
0
Replies
How to create templates with components already placed? vigiaemnewbie - Adobe Experience Manager
I need to create a template which when used to create a page, will already have certain components placed in the page and some content will be authored. Once the page is created, the author should be able to author the existing components, delete them or add new components. Is there a way to achieve this without dynamic/editable templates? Is there a way developer can create a static template with some preexisting components and author can later modify the page created from this template?
1058
Views
0
Likes
1
Answers and Comments
How to disable a field in a dialog after submit? vigiaemnewbie - Adobe Experience Manager
I have a dropdown based on which I'm displaying some fields in a component, but after the author has selected an option and submitted the dialog once, they should not be able to change it again. If a different option needs to be selected then the component must be added again to the page and authored from the beginning. Look at the following example:The first time I open the Test Component dialog I have the freedom to select any of the 4 options, but after submitting and reopening the dialog, I ...
1792
Views
0
Likes
2
Replies
How to disable fields based on checkbox? vigiaemnewbie - Adobe Experience Manager
I need to disable some fields based on the checkbox. If the checkbox is checked, I need to disable some fields, not hide them. When the checkbox is selected the fields need to be grayed out and not authorable.
1754
Views
0
Likes
1
Answers and Comments
Re: How to ensure only one checkbox checked at a time in multifield? vigiaemnewbie - Adobe Experience Manager
Thank you. This script worked for me.
977
Views
0
Likes
0
Answers
How to ensure only one checkbox checked at a time in multifield? vigiaemnewbie - Adobe Experience Manager
Below I have a multifield for a tab component and obviously at a time only one tab can be active, therefore the requirement is to have only one of the checkboxes checked at a time.In this scenario there's only one checkbox. Radio buttons also have the same problem since each radio button in a multifield behaves independently and does not check for the status of other radio buttons in other multifields. Does anyone have a working example where this single checkbox validation occurs?
1202
Views
0
Likes
3
Answers and Comments
Re: How to enter any number in a number field with a step value? vigiaemnewbie - Adobe Experience Manager
The documentation link I have provided mentions two options under the "step" property wherein we can restrict the values to multiples of the step value OR also enable author to enter any value. Is it not possible to allow a step increment at the same time enter any value in the field manually?
1110
Views
0
Likes
0
Answers
Re: How to enter any number in a number field with a step value? vigiaemnewbie - Adobe Experience Manager
I do need the step value but at the same time author should be able to enter any value. I have referred to this documentation: NumberField — Granite UI 1.0 documentation
956
Views
0
Likes
0
Answers
How to enter any number in a number field with a step value? vigiaemnewbie - Adobe Experience Manager
I have the following number field with the given properties:The dialog is throwing an error asking me to enter values only in multiples of 500. I am following the granite ui documentation and entering the step value as a string. Still I am not able to enter any value. Is this a bug or have I given the wrong properties?
2233
Views
0
Likes
5
Answers and Comments
Re: How to create a component which has multiple parsys based on a multifield? vigiaemnewbie - Adobe Experience Manager
Yes I am using granite/ui/components/coral/foundation/form/multifield but I am not talking about the nodes created for each multifield item. I am talking about the parsys created for each multifield item through the above sightly code. The multifield nodes are behaving as expected, but the parsys nodes are not getting deleted along with the multifield sections. In the image of the nodes "tabList" is the parent node for my multifield and tab1, tab2, tab3 are the parsys nodes created by the sightl...
8318
Views
0
Likes
6
Replies
How to create a component which has multiple parsys based on a multifield? vigiaemnewbie - Adobe Experience Manager
I am creating a component wherein the component will render multiple parsys based on a multifield, i.e., if I add three multifields then three parsys will be rendered on the page. I am using the following code to iterate and display multiple parsys on the page:Here I am storing a list in Java based on number of items in the multifield. I am storing a value of tab+i in the list which mean the values stored are tab1, tab2 etc. and I am using each item of the list as the parsys path in jcr which gi...
8802
Views
1
Like
8
Replies
Re: How to use certain page properties on page creation but not after page is created? vigiaemnewbie - Adobe Experience Manager
Thank you. This solved it for me.
907
Views
0
Likes
0
Answers
How to use certain page properties on page creation but not after page is created? vigiaemnewbie - Adobe Experience Manager
I am creating a custom page properties dialog for my page but I need to use some default page properties like "Title" etc. but don't want to display these fields once that page is created. I know about the "cq:showOnCreate" and "sling:hideResource" properties but both cannot be used together. If I give a property cq:showOnCreate=true and sling:hideResource=true then the property is hidden on page creation and also after page creation. How can I display certain properties only during page creatio...
1056
Views
1
Like
3
Answers and Comments
Re: How to create custom renditions of images uploaded in DAM and how to export those images through JSON? vigiaemnewbie - Adobe Experience Manager
I am actually using AEM for authoring and content only. All the content authored in the page will be sent as JSON data to a third party. This is why I need to have all image placed in the page as JSON with all its renditions.
1816
Views
0
Likes
1
Replies
How to create custom renditions of images uploaded in DAM and how to export those images through JSON? vigiaemnewbie - Adobe Experience Manager
I need to create a custom workflow or add a custom process step in the existing DAM update workflow such that I can provide my own image dimensions for renditions. After these renditions are created I need to send these images through JSON. How to obtain these images in JSON and how to create custom renditions?
2274
Views
0
Likes
3
Replies
How to use multiple color picker fields in the same tab in a dialog? vigiaemnewbie - Adobe Experience Manager
I have installed the color picker package provided by Adobe helpx document and I need to use two color pickers in the same tab of a page properties dialog that I'm creating. I have given the following structure for the color pickers.The first color picker:The second color picker:But the output on the dialog appears like this:Only the first color picker is recognized and the second appears as a normal textfield. How do I include two independent color pickers in the same tab of a dialog?
1140
Views
0
Likes
4
Answers and Comments
Re: How to create a site level configuration dialog which contains properties to be applied for entire site? vigiaemnewbie - Adobe Experience Manager
I also thought of the same thing but I need to create a dialog for site level configuration. I noticed that in AEM 6.4 the We Retail site uses a different page properties dialog at the top level We Retail page and a different dialog for the child pages. The child page dialogs inherits values from the parent page and we are able to cancel inheritance from parent dialog. I need to do something like this and my site level and page level dialogs have different tabs and fields too.The above is the We...
815
Views
0
Likes
0
Answers
How to create a site level configuration dialog which contains properties to be applied for entire site? vigiaemnewbie - Adobe Experience Manager
I have a requirement to create certain page level and site level configuration dialogs which will be authored to apply some properties at the page level and site level respectively. The page level properties can be authored through the page properties dialog by adding a few of my own fields in the page properties dialog, but I need to have a site level dialog which may need to be used before the creation of any pages and it applies these properties to all pages in the site. The main use of these...
939
Views
0
Likes
3
Answers and Comments
Is it possible to hide or show a field(s) in a dialog based on a dropdown selection in another dialog? vigiaemnewbie - Adobe Experience Manager
What I need to do is hide or show a text field (may be many more fields in the future) based on an option I select in another dialog. Let's say there are two dialogs A and B. There is a dropdown in dialog A which has two options 'Hide' and 'Show' and a textfield in dialog B. If I choose 'Show' from dialog A, a field in dialog B should be made visible the next time I open dialog B. If I choose 'Hide' from dialog A, then that field must be hidden in dialog B. The field in dialog B needs to be hidd...
879
Views
1
Like
5
Answers and Comments
How to create a simple catalog page? vigiaemnewbie - Adobe Experience Manager
I am trying to create a simple catalog page with a few products for demonstration purposes. The online articles are only up to AEM 6.3 which includes the Geometrixx project, but AEM 6.4 contains only We Retail project which is using a different structure and a confusing approach. How do I create a simple catalog page in AEM 6.4?
651
Views
0
Likes
3
Answers and Comments
Re: How do I commit my custom workflows in Git? vigiaemnewbie - Adobe Experience Manager
Thanks Arun,I was able to figure this out and commit the required files.The above filter would do.
913
Views
0
Likes
0
Answers
How do I commit my custom workflows in Git? vigiaemnewbie - Adobe Experience Manager
I have some custom workflows under var/workflows/models but committing this to my local directory and deploying my maven project completely overwrites AEM's existing workflows and only leaves my workflows in the folder. How do I include my workflows in Git so that other developers can use the workflows when deploying from Git to their AEM instances? In a general sense, how do I commit files which are not under /apps/ or files which are in already existing AEM folders?
1075
Views
0
Likes
2
Answers and Comments
Re: How do I add a custom button in the AEM toolbar? vigiaemnewbie - Adobe Experience Manager
Thanks Arun,Assigned a granite:id to each of my buttons and triggered an ajax call on click.
1150
Views
0
Likes
0
Answers
Re: How do I add a custom button in the AEM toolbar? vigiaemnewbie - Adobe Experience Manager
But where do I put my script that makes the call? I am not able to find where AEM is triggering actions for the already existing buttons on the page, although it is clear that the "granite:class" property is populating the class attribute when the AEM user interface is rendered in authoring and AEM is using these classes to identify when it is clicked to trigger the preview or edit mode, but where are these scripts and how can I add my ajax call under /apps/?
1149
Views
0
Likes
0
Answers
Re: How do I add a custom button in the AEM toolbar? vigiaemnewbie - Adobe Experience Manager
Thanks Arun,I was able to overlay the buttons and add my own two buttons for preview build and production build. I need to trigger a workflow when I click these buttons. I have copied the "Preview" button node and modified according to my needs but it seems this node is using the below properties to trigger the preview mode during authoring. How can I trigger my workflow from this node, i.e., when the author clicks on these respective buttons on the authoring screen?Node properties:How the butto...
1149
Views
0
Likes
0
Answers
Likes given to