since ‎03-10-2016
‎10-12-2019
Jaggu_Accenture
Level 2
sling:alias issue for getting currentNode from currentPage
Avatar

Jaggu_Accenture

Jaggu_Accenture
- Adobe Experience Manager
Hi Team,Can somebody send me the code or api , if I will pass current page url (which contains alias name) then it will return the exact content path. Means I want read the current page jcr:content properties but its returning null because in currentpage is mixed with sling:alias.Example:Without alias: http://localhost:4502/content/aaabbccc/test.htmlWith alias: http://localhost:4502/content/abc/test.htmlMy code:String currentPage=slingHttpServletRequest.getPathInfo();if (currentPage.contains(".h...

Views

306

Likes

0

Replies

1
Re: OSGi properties value should not blank
Avatar

Jaggu_Accenture

Jaggu_Accenture
- Adobe Experience Manager
Thanks Peter, I need one more calcification can I give position to OSGi fields means in OSGi one field is coming on middle can I move this filed to top.

Views

427

Likes

0

Replies

0
Re: OSGi properties value should not blank
Avatar

Jaggu_Accenture

Jaggu_Accenture
- Adobe Experience Manager
Thanks Smacdonald.

Views

404

Likes

0

Replies

0
Re: OSGi properties value should not blank
Avatar

Jaggu_Accenture

Jaggu_Accenture
- Adobe Experience Manager
Thanks for your response, you are correct Peter but in OSGi we are using some key for lead submit. In case this property is blank then the whole system is breaking even though there is default value. So we need validation for not blank.Regards,Jaggu

Views

411

Likes

0

Replies

0
Re: OSGi properties value should not blank
Avatar

Jaggu_Accenture

Jaggu_Accenture
- Adobe Experience Manager
Yes , nowhere its mentioned.

Views

409

Likes

0

Replies

0
Re: OSGi properties value should not blank
Avatar

Jaggu_Accenture

Jaggu_Accenture
- Adobe Experience Manager
Thanks Smacdonal,Yes its custom OSGi services and also is it possible to make mandatory the sling:OsgiConfig property fields as below.

Views

410

Likes

0

Replies

0
OSGi properties value should not blank
Avatar

Jaggu_Accenture

Jaggu_Accenture
- Adobe Experience Manager
Hi Team,Please any body suggest me how to make OSGi property value should mandatory. Please find the below screenshotRegards,Jaganath

Views

1.2K

Like

1

Replies

10
sling:OsgiConfig changes to nt:file in aem6.0 service pack 3
Avatar

Jaggu_Accenture

Jaggu_Accenture
- Adobe Experience Manager
Hi All,I have deployed sling:OsgiConfig and its working fine but when I change the same in felix console its converting to nt:file.Problem:All the string properties are changed to key/value paired(i.e. autor.stream5="dsdyttyxxd1234xsds")But in case of Boolean value its changed as key/value with extra B added(i.e. auth.enabledDisabled=B"true").Is it correct behaviour?Regards,Jaganath

Views

318

Like

1

Replies

1
Re: How to add a new menu-list in damadmin
Avatar

Jaggu_Accenture

Jaggu_Accenture
- Adobe Experience Manager
Thanks for your quick response but our customer want grouping the asset in two categories as Embargoing and Unembargoing. When an asset is selected and marked as Unembargoing ,this asset should visible to Unembargoing users. Requirement: When user select an asset and make it Embargoing, this asset should be visible to whoever is the part Embargoing group.

Views

655

Likes

0

Replies

0
Re: How to add a new menu-list in damadmin
Avatar

Jaggu_Accenture

Jaggu_Accenture
- Adobe Experience Manager
Thanks for your quick response but our customer want grouping the asset in two categories as Embargoing and Unembargoing. When an asset is selected as this asset should visible to Unembargoing users. Requirement: When user select an asset and make it Embargoing, this asset should be visible to whoever is the part Embargoing group.

Views

655

Likes

0

Replies

0
How to add a new menu-list in damadmin
Avatar

Jaggu_Accenture

Jaggu_Accenture
- Adobe Experience Manager
Hi Team,Please help me to add a new menu-list in site damadmin as below screenshot.

Views

750

Likes

0

Replies

3
Re: 6.2 Sling model Inject annotation
Avatar

Jaggu_Accenture

Jaggu_Accenture
- Adobe Experience Manager
I got the solutions, please find add the below code in core pom.xml file(i.e. find and next to add javax.inject;version=0.0.0,*). The below solutions is required because in aem 6.2 default javax.inject is there so we just need to import this.javax.inject;version=0.0.0,*

Views

996

Like

1

Replies

0
Re: javax/mail/Session
Avatar

Jaggu_Accenture

Jaggu_Accenture
- Adobe Experience Manager
Hi Feike,Even we tried ACS AEM commons , for this also we are getting same LinkageError.Thank'sJaggu

Views

721

Likes

0

Replies

0
Re: javax/mail/Session
Avatar

Jaggu_Accenture

Jaggu_Accenture
- Adobe Experience Manager
@PeterThank's for your response and we went through the above blogs. still we have same issue. Our aem instance is running on Tomcat server . please help us if you have any other information. regards,Jaggu

Views

721

Likes

0

Replies

0
javax/mail/Session
Avatar

Jaggu_Accenture

Jaggu_Accenture
- Adobe Experience Manager
We are facing the below error, when we are trying send aem outbox email service. Exception:java.lang.LinkageError: javax/mail/Session at com.sun.mail.util.PropUtil.getBooleanSessionProperty(PropUtil.java:86) at javax.mail.internet.MimeMessage.initStrict(MimeMessage.java:315) at javax.mail.internet.MimeMessage.(MimeMessage.java:193) at org.apache.commons.mail.Email.createMimeMessage(Email.java:1216) at org.apache.commons.mail.Email.buildMimeMessage(Email.java:1097) at org.apache.commons.mail.Emai...

Views

941

Likes

0

Replies

5