since ‎01-07-2020
‎30-07-2020
dipu2
Level 1
Re: condition compare in sightly dipu2 - Adobe Experience Manager
HI Brian, I do not think there is any issue in my slingmodel , as it is very much blank. Below is my slingmodel. protected static final Logger LOGGER = LoggerFactory.getLogger(InstallationDocumentImpl.class);private Session session;@referenceprivate QueryBuilder builder;// Inject a Sling ResourceResolverFactory@referenceprivate ResourceResolverFactory resolverFactory;@ValueMapValue@Via("resource")private String header;@ValueMapValue@Via("resource")private String description;@ValueMapValue@Via("r...
48
Views
0
Likes
0
Comments
Re: condition compare in sightly dipu2 - Adobe Experience Manager
My cq:dialog for pathlink is as below.   
37
Views
0
Likes
0
Answers
Re: condition compare in sightly dipu2 - Adobe Experience Manager
Thanks Nupur .It is working now.I have one small question here. Currently I have hard coded the href , as shown below Is there any way to not hard coded ??http://localhost:4502/assetdetails.html/content/dam/referencesite/bathroomproducts and show the url Also when I am trying to use below in my HTML by using the path link , ${installationdocuments.installationLabel} My PDF file is downloading , but not opening as URL...in new tab. My cq dialog is like above .
40
Views
0
Likes
0
Answers
Re: condition compare in sightly dipu2 - Adobe Experience Manager
Adding to above , in my sightly output both null and not null is coming , as shown above.
56
Views
0
Likes
0
Answers
condition compare in sightly dipu2 - Adobe Experience Manager
Dear All, I have one dialog , where I have defined skuid , installation label and installation link , as shown below. Now , my requirement is that if Sku ID is blank ("null") then it will display the installation document link in sightly if Sku ID is not blank ("not null") then it will display the Sku ID link in sightly. For above , I have written below in the sightly. But it is not working fine , as shown below. **************SIGHTLY CODE **********************${installationdocuments.header}${i${installationdocuments.skuid} -->...
101
Views
0
Likes
6
Answers and Comments
Re: How to get session inside slingmodel dipu2 - Adobe Experience Manager
Thanks Brian , this is useful..I will try the above steps tomorrow and let you know if I am stuck anywhere
31
Views
0
Likes
0
Comments
How to get session inside slingmodel dipu2 - Adobe Experience Manager
Dear All, I have one requirement like below. When Author will put the SKU Id in dialog , as shown in below, After author will put the SKU Id (for example 12345) , then this ID will search in content/dam/site/skuid folder and the document where this sku id is attached will come as link . I am trying to do this logic inside@PostConstructprivate void initModel() throws Exception { But , I am not getting any session "or" resource inside initModel(). Can anybody tell me how can I achieve the above sc...
84
Views
0
Likes
4
Answers and Comments
Re: Multifield value is not coming in page dipu2 - Adobe Experience Manager
@Vijaya , Thanks..Let me do the changes and I will get back to you by late night of today
41
Views
0
Likes
0
Comments
Re: Multifield value is not coming in page dipu2 - Adobe Experience Manager
Dear Vijaya and All, I tried by putting below code in model , as suggested by you. protected static final Logger LOGGER = LoggerFactory.getLogger(InstallationDocumentImpl.class);@ValueMapValue@Via("resource")private String header;// Inject the installationdocmtlink node under the current node/** @inject** @Optional public Resource installationdocmtlink;*/@ChildResourceprivate Resource installationdocmtlink;public static String getResourceType() {return RESOURCE_TYPE;}@Overridepublic String getHe...
26
Views
1
Like
0
Answers
Re: Multifield value is not coming in page dipu2 - Adobe Experience Manager
Hi Vijaya and All, Hi Vijaya, I tried by putting below code in model , as suggested by you. protected static final Logger LOGGER = LoggerFactory.getLogger(InstallationDocumentImpl.class);@ValueMapValue@Via("resource")private String header;// Inject the installationdocmtlink node under the current node/** @inject** @Optional public Resource installationdocmtlink;*/@ChildResourceprivate Resource installationdocmtlink;public static String getResourceType() {return RESOURCE_TYPE;}@Overridepublic Str...
24
Views
1
Like
0
Answers
Re: Multifield value is not coming in page dipu2 - Adobe Experience Manager
Hi Vijaya, I tried by putting below code in model , as suggested by you. protected static final Logger LOGGER = LoggerFactory.getLogger(InstallationDocumentImpl.class);@ValueMapValue@Via("resource")private String header;// Inject the installationdocmtlink node under the current node/** @inject** @Optional public Resource installationdocmtlink;*/@ChildResourceprivate Resource installationdocmtlink;public static String getResourceType() {return RESOURCE_TYPE;}@Overridepublic String getHeader() {LO...
59
Views
0
Likes
0
Comments
Re: Multifield value is not coming in page dipu2 - Adobe Experience Manager
Hi Nupur and All, After I changed in field , also value is not coming in my page. **************My dialog content.xml after changing************ ***************************** My HTML page *********************** Sunita Installation Documents ${installationdocuments.header}Dscription: ${link.installationdocumentlink} ********************** My Java classes******************package com.sunita.core.components.internal.models.v1;import javax.inject.Inject;import org.apache.sling.api.SlingHttpServletR...
12
Views
1
Like
0
Answers
Re: Multifield value is not coming in page dipu2 - Adobe Experience Manager
Hi Nupur and All, After I changed in field , also value is not coming in my page. **************My dialog content.xml after changing************ ***************************** My HTML page *********************** Sunita Installation Documents ${installationdocuments.header}Dscription: ${link.installationdocumentlink} ********************** My Java classes******************package com.sunita.core.components.internal.models.v1;import javax.inject.Inject;import org.apache.sling.api.SlingHttpServletR...
50
Views
0
Likes
0
Comments
Re: Multifield value is not coming in page dipu2 - Adobe Experience Manager
Hi , I have already added composite="{Boolean}true" , as shown in below
89
Views
0
Likes
0
Comments
Multifield value is not coming in page dipu2 - Adobe Experience Manager
Hi All,I have one multi field and the value is not coming in my page. **************My cq:dialog is below************* ********************My HTL is below*********************** Installation Documents ${installationdocuments.header}${installationdocuments.description}Dscription: ${link.installationdocumentlink}****************My Sling Model Java Class*********************package com.sunita.core.components.internal.models.v1;import org.apache.sling.api.SlingHttpServletRequest;import org.apache.sl...
211
Views
0
Likes
12
Answers and Comments
Anybody is using Open text Integration with Dynamic Media dipu2 - Adobe Experience Manager
Dear Team, I have one requirement where my Assets in AEM 6.5 will come From Open Text DAM and AEM 6.5 DAM will sync with Dynamic Media. I was planning to use Cyangate connector for my above requirement. Anybody has done this kind of requirement ?
110
Views
0
Likes
1
Answers and Comments
Likes given to
Likes from