since ‎11-10-2018
‎08-01-2021
v1101
Level 2
Re: Handling Optional Field Property - cq:dialog
Avatar

v1101

v1101
- Adobe Experience Manager
Do we have any "emptyOption" property available for dialog (Classic UI dialog) ?

Views

64

Likes

0

Replies

0
Re: Handling Optional Field Property - cq:dialog
Avatar

v1101

v1101
- Adobe Experience Manager
Thanks for your inputs.

Views

70

Likes

0

Replies

0
Re: Handling Optional Field Property - cq:dialog
Avatar

v1101

v1101
- Adobe Experience Manager
I can see the changes now. Since I have already selected the value, it didn't show up. when I create a new one it shows up. My requirement is say, if I select any value and then it should let me to unselect the selected option. Please let me know if this is doable.

Views

91

Likes

0

Replies

0
Re: Handling Optional Field Property - cq:dialog
Avatar

v1101

v1101
- Adobe Experience Manager
I have added but the dropdown is not showing the empty text. Can you tell me what is wrong here?

Views

103

Likes

0

Replies

0
Re: Rearranging tabs using sling:orderBefore
Avatar

v1101

v1101
- Adobe Experience Manager
@Ravi_Pampana - It worked. Thanks for the wonderful solution.

Views

61

Likes

0

Replies

0
Rearranging tabs using sling:orderBefore
Avatar

v1101

v1101
- Adobe Experience Manager
Hello All - I have a page with the below tabs in the page properties. All tabs are part of cq:dialog expect Live Copy option. is there any way to move the Live Copy tab as a last tab or last but one. I tried with sling:orderBefore but it is not working. Can someone tell how to re-arrange the order?

Views

75

Likes

0

Replies

2
Handling Optional Field Property - cq:dialog
Avatar

v1101

v1101
- Adobe Experience Manager
Hello All - There is a cq:dialog for the page component for capturing the page properties. In that, I have a drop-down with two options for the authors to select and it is not a mandatory field. When the values are not selected, the productType property shouldn't be captured in jcr:content. Could some suggest how to handle this?

Views

122

Likes

0

Replies

8
Re: Issues with etc/map redirect
Avatar

v1101

v1101
- Adobe Experience Manager
@Albin_Issac - Thank you so much for your wonderful inputs. After adding the content/test/en in the sling:match, the redirect started working. Can you please provide your inputs for the below? 1. Currently I don't have any page specific rewrite rules in apache level. Even after I delete the folders underneath the etc/map/ in all publish instances and verified, I still some of the redirects are still working. I have even cleared CDN and Dispatcher cache as well and no etc/map in the publish insta...

Views

69

Likes

0

Replies

0
Re: Issues with etc/map redirect
Avatar

v1101

v1101
- Adobe Experience Manager
Not sure if I have anything that is incorrect in the setup.

Views

109

Likes

0

Replies

0
Re: Issues with etc/map redirect
Avatar

v1101

v1101
- Adobe Experience Manager
If I check the "Resolver Map" Entries, it shows the below : Pattern: ^https/prepaid.test.com/prepaidcards.com.443/prepaidcards/student.html Replacement: /content/test/en/account/enrollment.html

Views

122

Likes

0

Replies

0
Re: Issues with etc/map redirect
Avatar

v1101

v1101
- Adobe Experience Manager
Thanks so much for your inputs. I have changed the entries like below in the publish instances. sling:match - prepaidcards/student.html, sling:redirect - /content/test/en/account/enrollment.html The Resource Resolver output is below. Configuration Test: https://prepaid.test.com/prepaidcards/student.html RedirectResource, type=sling:redirect, path=/prepaidcards/student.html, values={sling:target=/content/test/en/account/enrollment.html, sling:status=301} The redirect is still not working. Is ther...

Views

128

Likes

0

Replies

0
Re: Issues with etc/map redirect
Avatar

v1101

v1101
- Adobe Experience Manager
@Albin_Issac - Please find below. { "jcr:primaryType": "sling:Folder", "jcr:createdBy": "admin", "hidden": "true", "jcr:created": "Fri Feb 07 2020 05:31:05 GMT-0600", "http": { "jcr:primaryType": "sling:Folder", "jcr:mixinTypes": [ "cq:ReplicationStatus" ], "jcr:createdBy": "admin", "cq:lastReplicationAction": "Activate", "cq:lastReplicatedBy": "admin", "jcr:created": "Fri Feb 07 2020 05:31:05 GMT-0600", "cq:lastReplicated": "Tue Jan 05 2021 14:06:49 GMT-0600", "prepaid.test.com": { "jcr:primary...

Views

151

Likes

0

Replies

0
Re: Issues with etc/map redirect
Avatar

v1101

v1101
- Adobe Experience Manager
@Albin_Issac - I have added the mapping under http node as well but the redirect is not happening. Currently I have two modes under map - http & https

Views

163

Likes

0

Replies

0
Re: Issues with etc/map redirect
Avatar

v1101

v1101
- Adobe Experience Manager
@Albin_Issac - Thanks for your inputs. I tried with sling:internalRedirect. Can you tell me how to check HTTPS traffic or X-Firwarded header? Also what property should I use it for the headers?

Views

183

Likes

0

Replies

0
Re: Issues with etc/map redirect
Avatar

v1101

v1101
- Adobe Experience Manager
@kunal23 - I have mistakenly pressed this as a solution. We dont want to have it in Apache. The requirement is to keep it in etc/map

Views

90

Likes

0

Replies

0
Issues with etc/map redirect
Avatar

v1101

v1101
- Adobe Experience Manager
Hello Community - I need your suggestion related to etc/map redirect. I am trying to implement the below redirect PS: We don't want to make any changes in Apache. DNS: www.prepaid.test.com/prepaidcards/student.html -> www.prepaid.test.com/content/test/en/account/cardenrollment.html Existing setup is CDN -> Dispatcher -> Publish Instance I have the following entries but the redirect is not happening. I have also verified in /system/console/jcrresolver. I wanted to implement it as a 301 redirect. ...

Views

265

Likes

0

Replies

15
Issues with 301 Redirect
Avatar

v1101

v1101
- Adobe Experience Manager
I have followed the below article to implement the 301 redirect in AEM 6.5. RedirectType & Target options are available in Page properties for the authors to make the selection. Also created separate servlet with the same selector(redirect) with 301 redirect logic in it and also assigned the highest service ranking for this servlet.The redirectType & Target values are getting stored in jcr:content of the page. The results of the Sling Servlet Resolver is also showing the expected results. For so...

Views

79

Likes

0

Replies

1
Re: Issues with source-edit mode in RTE
Avatar

v1101

v1101
- Adobe Experience Manager
@kunal23 - I have already verified the error logs imeediately after the action but no useful details in the logs. I have already checked the link and it talks about XSS issue. in my case, this is not XSS issue.

Views

120

Likes

0

Replies

0
Re: Issues with source-edit mode in RTE
Avatar

v1101

v1101
- Adobe Experience Manager
@kunal23 - The HTML is well formed. This is happening in 6.5 version. All the tags are properly closed. If it is XSS issue, the values will be saved in crx/de but in my case, the values are not saving in crx/de. This is happening even if we change only the content/text scenarios as well.

Views

132

Likes

0

Replies

0
Re: Issues with source-edit mode in RTE
Avatar

v1101

v1101
- Adobe Experience Manager
@shelly-goel - Content is showing in the UI sometimes and sometimes it doesn't. This is the case for only changing the text in the RTE (Not adding any tags or html)

Views

111

Likes

0

Replies

0
Re: Issues with source-edit mode in RTE
Avatar

v1101

v1101
- Adobe Experience Manager
@shelly-goel - We dont use any custom html tags in source edit. Content is showing sometimes and sometimes doesn't. It is not related to custom html tags.

Views

124

Likes

0

Replies

0
Issues with source-edit mode in RTE
Avatar

v1101

v1101
- Adobe Experience Manager
Hello Community - I have an issue related to the content(HTML/Text) added in RTE source-edit mode is lost. Once the content is added in RTE and click "Done". I have verified the below. Can someone tell me what is causing the issue? Step 1: Checked content node in CRX/DE and found that the saved changes is not there.Step 2: Which means it is not related to XSS issue. If it is an XSS issue, the saved HTML will be captured in CRX/DE and it will be removed by XSS.Step 3: Moreover, this is not a cons...

Views

199

Likes

0

Replies

10
Restrict Page Properties in Classic UI
Avatar

v1101

v1101
- Adobe Experience Manager
Hello -I have a template which has both cq:dialog and dialog in it. Basically I wanted to show all the cq:dialog properties/tab only for the rootpage (E.g. 10 properties) and shouldn't all the properties for other child pages. i.e. The child pages should only show the required properties (E.g. 5 properties).If I check the child page properties in classic UI, it should show all 10 properties. Can someone tell me if this can be achieved?E.g.cq:dialog - has 10 propertiesdialog - has 10 properties

Views

122

Likes

0

Replies

2
Re: Header & Footer as XF
Avatar

v1101

v1101
- Adobe Experience Manager
@shelly-goel - Basically I am looking to include the XF only inside .

Views

108

Likes

0

Replies

0
Re: Header & Footer as XF
Avatar

v1101

v1101
- Adobe Experience Manager
@shelly-goel - This is the existing iparsys which holds the header components in it. Since we are creating the header related items in XF, how do I include the header XF in place of the below section.

Views

149

Likes

0

Replies

0
Re: Header & Footer as XF
Avatar

v1101

v1101
- Adobe Experience Manager
@shelly-goel - Thanks for your reply. While creating Header XF, The header related components is having parsys in it. I don't need any resizing for header XF, so I can drag the components inside the parsys, which is part of XF? Please confirm.

Views

171

Likes

0

Replies

0
Header & Footer as XF
Avatar

v1101

v1101
- Adobe Experience Manager
Hello - I need your suggestion to implement the header and footer as separate experience fragments in the page. Currently we are using static template which is having iParsys for Header and Footer. The goal is to move to Editable template with minimal changes. Current static template (header and footer comes inside the body tag:Loading all the required scripts and meta tagsBelow is the sample header.html which has iparsys in it.Since the header.html is having an iparsys and iParsys won't work in...

Views

185

Likes

0

Replies

7
Fetching values from request attributes
Avatar

v1101

v1101
- Adobe Experience Manager
Hi,I am trying to set some value in request scope and fetch the same in HTL, it is not working, Not sure if this is doable in HTL without using Use API or backend changes.product.jsp:<%@include file="/libs/foundation/global.jsp" %><%boolean isActive = false;%>HTL:productStatus Flag - ${request.getAttribute("productStatus").toString} Thanks

Views

98

Likes

0

Replies

1
HTL Expression in Javascript
Avatar

v1101

v1101
- Adobe Experience Manager
Hello Community - I am working on a component which uses the sling model to get the required values for the properties that is working as expected. My question here is, I need to use the values I received from Sling Model in javascript (Included as a clientlib in the component). E.g. ${productData.prodDescription @ context='unsafe'} - Can this be used directly used in clientlibs (Not USE API) ?ClientLibrary:var prodDetails = '${productData.prodDescription @CONTEXT='unsafe'}';-------------------...

Views

144

Likes

0

Replies

3
Issues with Fetching RunMode
Avatar

v1101

v1101
- Adobe Experience Manager
Hello Community - I am facing some issues with obtaining the run modes in Sling Model. Can someone tell mw what is wrong in this? @Model(adaptables = { SlingHttpServletRequest.class,Resource.class }, defaultInjectionStrategy = DefaultInjectionStrategy.OPTIONAL)public class TestData {private String runMode="";@referenceprivate SlingSettingsService settingsService;@PostConstructprotected void init() {runMode = settingsService.getRunModes().toString();}}

Views

136

Likes

0

Replies

3