Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

s1101v
Community profile s1101v Level 3
Job title here
Location here
12 BADGES
Level 3

Level 3

Learn more
Joined the community 02-07-2020 7:13:15 PM
Offline
Top badges earned by s1101v
Customize the badges you want to showcase on your profile
Loading content based on domain
Avatar
Boost 10
Level 3
s1101v
Level 3

Likes

13 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Ignite 5
View profile
s1101v
- Adobe Experience Manager
Hello Community - I am setting up the siteId based on the domain and would like to load different content specific to each domain.if (location.hostname.indexOf("company") > -1) {var siteId='company';}if (location.hostname.indexOf("aemcommunity") > -1) {var siteId='aemcommunity';} If it is a sightly expression, this can be used in data-sly-test but this is a javascript variable, how can I use it based on the condition. Could someone suggest on this? -------> siteId='company'content loaded from company domain -------> siteId='aemcommunity'content loaded from aemcommunity domain

Views

215

Likes

0

Replies

3
Re: Export packages are missing in Manifest.MF Header
Avatar
Boost 10
Level 3
s1101v
Level 3

Likes

13 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Ignite 5
View profile
s1101v
- Adobe Experience Manager
@Vijayalakshmi_S - I was referred about this one. Please find below the Export-Package section: Export-Package: com.company.project.xyz.core.models; version="1.0"; uses:="com.adobe.cq.wcm.core.components.models, org.apache.sling.api.resource", com.company.project.xyz.core.services; version="1.0", com.company.project.xyz.core.util; version="1.0"; uses:="com.day.cq.dam.api, com.company.project.xyz.core.models, org.apache.commons.lang3.tuple, org.apache.sling.api, org.apache.sling.api.resource", co...

Views

379

Like

1

Replies

0
Re: Export packages are missing in Manifest.MF Header
Avatar
Boost 10
Level 3
s1101v
Level 3

Likes

13 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Ignite 5
View profile
s1101v
- Adobe Experience Manager
@Vijayalakshmi_S - I have tried with both approaches but the mode is not available and still getting the same error. I have verified in "system/console/status-adapters", I could see only one model which comes under "Available Adapters:" i.e used in the Base Page component. If I check the bundle Manifest Header, I could see all the packages listed in "Export-Package" section. Not sure if I am adding anything wrong here. Can you suggest what could be the issue at this point?

Views

397

Like

1

Replies

0
Re: Export packages are missing in Manifest.MF Header
Avatar
Boost 10
Level 3
s1101v
Level 3

Likes

13 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Ignite 5
View profile
s1101v
- Adobe Experience Manager
@Vijayalakshmi_S - Under this package - com.company.aem.xyz.core.models, I have kept only the models and their interfaces used in the model.

Views

422

Like

1

Replies

0
Re: Export packages are missing in Manifest.MF Header
Avatar
Boost 10
Level 3
s1101v
Level 3

Likes

13 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Ignite 5
View profile
s1101v
- Adobe Experience Manager
@Vijayalakshmi_S - I am getting the same error after I remove the and . org.apache.sling.api.SlingException: Cannot get DefaultSlingScript: Compilation errors in org/apache/sling/scripting/sightly/apps/project/components/structure/page/page_html.java: Line 46, column 2099 : com.company.aem.xyz.core.models.TestPage cannot be resolved to a type

Views

441

Like

1

Replies

0
Re: Export packages are missing in Manifest.MF Header
Avatar
Boost 10
Level 3
s1101v
Level 3

Likes

13 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Ignite 5
View profile
s1101v
- Adobe Experience Manager
@Vijayalakshmi_S - PFB Package Structure: com.company.aem.xyz.core.models -> (Models & Interface) org.apache.sling sling-maven-plugin org.apache.felix maven-bundle-plugin true com.company.aem.xyz.core.* com.company.aem.xyz.core javax.inject;version=0.0.0,* com.company.aem.xyz.core.models

Views

455

Like

1

Replies

0
Re: Export packages are missing in Manifest.MF Header
Avatar
Boost 10
Level 3
s1101v
Level 3

Likes

13 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Ignite 5
View profile
s1101v
- Adobe Experience Manager
@Anudeep_Garnepudi - There are two export package section in the bundle header. The one is “Exported Packages” at the top which is empty and another one says “Export-Package” which has the package details which is below Import Package section. Can you tell me what could be the issue even though we have the package-info in all the sub packages.

Views

366

Like

1

Replies

0
Re: Export packages are missing in Manifest.MF Header
Avatar
Boost 10
Level 3
s1101v
Level 3

Likes

13 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Ignite 5
View profile
s1101v
- Adobe Experience Manager
@Anudeep_Garnepudi - I have already added the package-info in my package, I still don't see "Private-Package" section in the bundle. In order to make the model available, the package should be listed in the Private-Package section?

Views

394

Like

1

Replies

0
Export packages are missing in Manifest.MF Header
Avatar
Boost 10
Level 3
s1101v
Level 3

Likes

13 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Ignite 5
View profile
s1101v
- Adobe Experience Manager
Hi Everyone - I am using maven-bundle-plugin artifact in the core module. The issue I am facing is sling model not available, I found that Export Package header in the bundle MANIFEST.MF section is empty which causes the issues with the sling models.I have also tried with "bnd-maven-plugin" artifactId and removed the VERSIONED filter from -exportcontents but it is still not generating. I have already tried with updating the Manifest.MF manually and it worked, so the issue is only related to Expoorg.apache.servicemix.bundles.aws-java-sdk, netty-all-->...

Views

578

Likes

0

Replies

16
Bundle not startiing - Unresolved requirements
Avatar
Boost 10
Level 3
s1101v
Level 3

Likes

13 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Ignite 5
View profile
s1101v
- Adobe Experience Manager
Hi All - I am getting the below error. Because of this issue, the bundle is not getting resolved. Can someone help with this? 03.02.2021 00:06:45.616 *ERROR* [ anonymous-nosite-127.0.0.1-777db039-8efb-4aec-80a5-04ac005ebd09 ] org.apache.felix.http.jetty %bundles.pluginTitle: Cannot start (org.osgi.framework.BundleException: Unable to resolve product-mgt-landing.core [658](R 658.1): missing requirement [product-mgt-landing.core [658](R 658.1)] osgi.wiring.package; (osgi.wiring.package=com.adobe.c...

Views

304

Likes

0

Replies

3
Re: JSOUP not getting resolved
Avatar
Boost 10
Level 3
s1101v
Level 3

Likes

13 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Ignite 5
View profile
s1101v
- Adobe Experience Manager
@Arun_Patidar - I have already gone through this link. If I add/install the jsoup jar separately in console, the bundle gets resolved but I don't want to install the required bundles separately. Basically I just wanted to include it in project bundle itself. I am getting the error in "Import Packages" section.

Views

311

Like

1

Replies

0
Re: JSOUP not getting resolved
Avatar
Boost 10
Level 3
s1101v
Level 3

Likes

13 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Ignite 5
View profile
s1101v
- Adobe Experience Manager
@Anudeep_Garnepudi - I have already removed scope, systempath and also embed-dependency as well. I see the issue in "Import Packages" section, so I have added org.jsoup.*. The bundle is not getting resolved.

Views

333

Like

1

Replies

0
Re: JSOUP not getting resolved
Avatar
Boost 10
Level 3
s1101v
Level 3

Likes

13 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Ignite 5
View profile
s1101v
- Adobe Experience Manager
@Anudeep_Garnepudi - I have added this in the core module but it is not working..

Views

343

Like

1

Replies

0
Re: JSOUP not getting resolved
Avatar
Boost 10
Level 3
s1101v
Level 3

Likes

13 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Ignite 5
View profile
s1101v
- Adobe Experience Manager
@Kiran_Vedantam - I have installed the bundle in the instance as well. I still see issues with the JSOUP bundle. I have extracted the project bundle as well, the included jar is not available.

Views

335

Like

1

Replies

0
Re: JSOUP not getting resolved
Avatar
Boost 10
Level 3
s1101v
Level 3

Likes

13 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Ignite 5
View profile
s1101v
- Adobe Experience Manager
@Kiran_Vedantam - I have already tried this as well. This jar needs to be included in my project's bundle so I added in core module POM but it is not including in the bundle.

Views

347

Like

1

Replies

0
JSOUP not getting resolved
Avatar
Boost 10
Level 3
s1101v
Level 3

Likes

13 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Ignite 5
View profile
s1101v
- Adobe Experience Manager
Hello All - I am getting the below error because of that, OSGi bundle is not starting. org.jsoup,version=[1.9,2) -- Cannot be resolvedorg.jsoup.nodes,version=[1.9,2) -- Cannot be resolvedorg.jsoup.select,version=[1.9,2) -- Cannot be resolved Basically I just wanted to include JSOUP jar that should be embedded in my project's bundle. I tried adding the below to include the JSOUP in the bundle. I am using latest archetype (23), Can someone advise on how to include the embed the bundle.Also please ...

Views

485

Likes

0

Replies

12
Re: Manifest.MF is not full generating, bundle is not getting installed
Avatar
Boost 10
Level 3
s1101v
Level 3

Likes

13 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Ignite 5
View profile
s1101v
- Adobe Experience Manager
Hello All - This has been fixed. I had to recreate the project and it worked. I might have removed some of the section from core pom.

Views

196

Likes

0

Replies

0
Manifest.MF is not full generating, bundle is not getting installed
Avatar
Boost 10
Level 3
s1101v
Level 3

Likes

13 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Ignite 5
View profile
s1101v
- Adobe Experience Manager
Hello All - I am running into issues with deploying/installing the bundle. I generated the maven project using the latest version 23. While installing the bundle via maven, I am getting this "is not an OSGi Bundle, not uploading". I have verified the MANIFEST.MF file and it has all the information for the bundle, but if I open the generated jar file, I couldn't see all the required info. I see only "Manifest-Version: 1.0,Build-Jdk-Spec: 1.8,Created-By: Maven Archiver 3.4.0". Because of the above...

Views

206

Likes

0

Replies

2
Re: Redirect Tool using etc/map
Avatar
Boost 10
Level 3
s1101v
Level 3

Likes

13 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Ignite 5
View profile
s1101v
- Adobe Experience Manager
The requirement is only to give the provision to add/remove/edit existing/new redirect from the UI.

Views

326

Like

1

Replies

0
Redirect Tool using etc/map
Avatar
Boost 10
Level 3
s1101v
Level 3

Likes

13 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Ignite 5
View profile
s1101v
- Adobe Experience Manager
Hello Community - I have a requirement to provide the user interface/utility to the authors to manage the redirects which will eventually be stored in etc/map config. I know that we have ACS Redirect Manager but the requirement is to build a custom one. Could someone provide some suggestions? @Arun_Patidar , @Jörg_Hoh , @BrianKasingli , @vanegi

Views

444

Likes

0

Replies

4
Implement Pathbrowser
Avatar
Boost 10
Level 3
s1101v
Level 3

Likes

13 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Ignite 5
View profile
s1101v
- Adobe Experience Manager
Hello Community - I have a requirement to create a utility page that has a button on it. On click of the button, we need to open a pathbrowser and let the authors select the page/html. There is no dialog option for this scenario. The utility is based on JSP. Has anyone implemented such scenarios? If so, could you please provide some samples for the same?

Views

542

Likes

0

Replies

7
Re: Dynamic Content in Experience Fragment along with DIV
Avatar
Boost 10
Level 3
s1101v
Level 3

Likes

13 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Ignite 5
View profile
s1101v
- Adobe Experience Manager
@raj_mandalapu - Could you please tell me how was the caching mechanism for dispatcher / CDN. implemented? How was page load performance in publish?

Views

439

Likes

0

Replies

0
Re: Dynamic Content in Experience Fragment along with DIV
Avatar
Boost 10
Level 3
s1101v
Level 3

Likes

13 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Ignite 5
View profile
s1101v
- Adobe Experience Manager
Thanks for your inputs, Appreciate it. Do you have any sample implementation similar to this approach ?

Views

458

Likes

0

Replies

0
Re: Adding Experience Fragment to Page
Avatar
Boost 10
Level 3
s1101v
Level 3

Likes

13 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Ignite 5
View profile
s1101v
- Adobe Experience Manager
@mark_julianp181 - I am looking for similar solution to load the XF content based on the drop down selection, In the JCR node, I have only the reference path of the XF variation only. Not sure how to get the complete DIV of the XF to replace the content on the page. Please provide your inputs if you have already implemented this solution.

Views

341

Likes

0

Replies

0
Dynamic Content in Experience Fragment along with DIV
Avatar
Boost 10
Level 3
s1101v
Level 3

Likes

13 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Boost 10
Boost 5
Boost 3
Boost 1
Ignite 5
View profile
s1101v
- Adobe Experience Manager
Hello All - I have a dynamic component in the page. On selection of the drop down, The content needs to be refreshed/changed according to the selection. The component is basically a Multifield component with reference/path to the experience fragment Path/variation for each state. In the JCR node of the page, we capture only the experience fragment path and states, and not the actual content of the XF. I have asked for the suggestion in the other forum and I was asked to go for Ajax route. In my ...

Views

526

Likes

0

Replies

6
Likes from