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
BedrockMission!

Learn More

View all

Sign in to view all badges

blkhatpersian
Community profile blkhatpersian Level 2
Job title here
Location here
5 BADGES
Level 2

Level 2

Learn more
Joined the community 19-01-2016 10:05:05 AM
Offline
Top badges earned by blkhatpersian
Customize the badges you want to showcase on your profile
HTML Path referenced in Javascript - How does AEM resolve it?
Avatar
Validate 1
Level 2
blkhatpersian
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
blkhatpersian
- Adobe Experience Manager
Hi everyone,I am running into an issue incorporating an existing site into AEM, specifically with Javascript. I have created a client library and it contains a Javascript file that has the following:"var e="assets/panels.html #"How does AEM resolve this Javascript? In other words, is it trying to find the file from the var directory where the minified client library is being served? Or somewhere else?I created a Page called "panels" at the following path: /content/aoswh3/bth/panels. When I repla...

Views

137

Likes

0

Replies

1
Re: Editing components in partials in Angular single-page application
Avatar
Validate 1
Level 2
blkhatpersian
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
blkhatpersian
- Adobe Experience Manager
akshitaa82720401 wrote... blkhatpersian wrote... bsloki wrote... If CSS isnt a case, then I would agree with @kunal123. with SPA, though the pages are included as partials, each partials are a different page w.r.t AEM and Authors have to change author the content at the partial level while then can preview as SPA once done. Yeah, I have tried to think of some 'tricky' ways to make it work but yeah can't escape the fact that you pointed out. Going to have to go the route of kunal123 Hi @blkhatper...

Views

390

Likes

0

Replies

0
Re: Domain mapping- Issues
Avatar
Validate 1
Level 2
blkhatpersian
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
blkhatpersian
- Adobe Experience Manager
It is Servlet related, in terms of which is decided on by Sling. The mapping I described above produces the following request log for the css file. Note how the servlet used is DefaultGetServlet and how slingRequestPathInfo is incorrect( putting the path to the Page resource, labeling the extension as 'htmletc', and the suffix). 0 (2016-08-24 22:29:37) TIMER_START{Request Processing} 0 (2016-08-24 22:29:37) COMMENT timer_end format is {,} 0 (2016-08-24 22:29:37) LOG Method=GET, PathInfo=/etc/de...

Views

1.6K

Likes

0

Replies

0
Re: Domain mapping- Issues
Avatar
Validate 1
Level 2
blkhatpersian
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
blkhatpersian
- Adobe Experience Manager
Thanks Scott! And aniruddhak, I have used Firefox and Chrome.I may have stumbled upon what is wrong. I found this post when I was looking for potential problems with Jetty serving incorrect MIME types. http://stackoverflow.com/questions/15852443/why-is-jetty-serving-css-with-text-html-content-typeIt seemed like the default servlet/servletContext was being bypassed for some reason with my mapping. I then went to system/console/configMgr and looked up the Apache Felix Jetty Based Http Service. Sur...

Views

1.6K

Likes

0

Replies

1
Re: Domain mapping- Issues
Avatar
Validate 1
Level 2
blkhatpersian
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
blkhatpersian
- Adobe Experience Manager
Can anyone confirm at least if the sling:mapping is set up correctly to achieve my goal?

Views

1.6K

Likes

0

Replies

3
Domain mapping- Issues
Avatar
Validate 1
Level 2
blkhatpersian
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
blkhatpersian
- Adobe Experience Manager
Hi everyone,I am currently struggling to understand how to correctly have my domain mapped on an AEM publish instance. I have an Amazon EC2 instance running Tomcat Linux and have the proper security/network permissions setup. I can connect to my AEM instance with the provided domain Amazon generates, BUT am having issues mapping that incoming domain in AEM.The content path I want to visit is /content/mysite/index.html. I created the following Sling mapping in etc/http/:sling:match '.4503'sling:i...

Views

2.2K

Likes

0

Replies

5
Re: Setting Page References
Avatar
Validate 1
Level 2
blkhatpersian
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
blkhatpersian
- Adobe Experience Manager
Thanks!

Views

138

Likes

0

Replies

0
Re: Setting Page References
Avatar
Validate 1
Level 2
blkhatpersian
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
blkhatpersian
- Adobe Experience Manager
Thank you! I just wish this simple explanation of Page references was in the documentation.

Views

132

Likes

0

Replies

0
Re: Setting Page References
Avatar
Validate 1
Level 2
blkhatpersian
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
blkhatpersian
- Adobe Experience Manager
Hi Scott,I may be, I'm not sure. What is the criteria for a "Page reference" ? For example, what do I need to set or do that a Page will show up in "Page References" in the Sidekick?

Views

133

Likes

0

Replies

0
Setting Page References
Avatar
Validate 1
Level 2
blkhatpersian
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
blkhatpersian
- Adobe Experience Manager
Hi guys,I'm back. I'm close to tearing my hair out trying to find a simple explanation to add Page references in AEM. The documentation only provides how you can view Page references in AEM and how you can undo "add/remove" Page references, but nothing on how Page references are established or created.This is asked in relation to publishing/unpublishing Pages on my Author server.Thanks,Ali

Views

369

Like

1

Replies

6
Re: Modifying component post-rendering
Avatar
Validate 1
Level 2
blkhatpersian
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
blkhatpersian
- Adobe Experience Manager
That was it, thank you edubey!

Views

145

Likes

0

Replies

0
Modifying component post-rendering
Avatar
Validate 1
Level 2
blkhatpersian
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
blkhatpersian
- Adobe Experience Manager
Hi all,I am wanting to dynamically "hide" a parsys on one of my AEM pages when it is in edit mode. I am wanting to do this with in-code script, taking advantage of the "cq:widgets" clientLibrary. I have a javascript file where I am using the CQ.WCM.getEditable method to find a component by giving it a path and then calling the .hide() method. Here is my simple code: function hideparsys(path){ var parsysComp = CQ.WCM.getEditable(path); if(parsysComp){ alert(path); } parsysComp.hide(); // makes th...

Views

355

Likes

0

Replies

2
Re: Editing components in partials in Angular single-page application
Avatar
Validate 1
Level 2
blkhatpersian
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
blkhatpersian
- Adobe Experience Manager
bsloki wrote... If CSS isnt a case, then I would agree with @kunal123. with SPA, though the pages are included as partials, each partials are a different page w.r.t AEM and Authors have to change author the content at the partial level while then can preview as SPA once done. Yeah, I have tried to think of some 'tricky' ways to make it work but yeah can't escape the fact that you pointed out. Going to have to go the route of kunal123

Views

314

Likes

0

Replies

0
Re: Editing components in partials in Angular single-page application
Avatar
Validate 1
Level 2
blkhatpersian
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
blkhatpersian
- Adobe Experience Manager
Scott,I cannot drag and drop components, the only I added it in was by double-clicking the parsys. That is the only component that responded to a click/double-click. The sidekick list of components is empty.bsolki,My css is not the issue since the styling and functionality of sidekick works perfectly when viewing the pages individually. kunal23,That would be a work-around, but again I do not want my authors to view each partial individually to edit. I want them to be able to edit when taking acc...

Views

314

Likes

0

Replies

0
Re: Editing components in partials in Angular single-page application
Avatar
Validate 1
Level 2
blkhatpersian
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
blkhatpersian
- Adobe Experience Manager
The partial page directly loaded in Classic UI

Views

316

Likes

0

Replies

0
Re: Editing components in partials in Angular single-page application
Avatar
Validate 1
Level 2
blkhatpersian
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
blkhatpersian
- Adobe Experience Manager
Attachment did not work in the post. Here is the master page showing the displacement

Views

313

Likes

0

Replies

0
Editing components in partials in Angular single-page application
Avatar
Validate 1
Level 2
blkhatpersian
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
blkhatpersian
- Adobe Experience Manager
Hi everyone,I am in a dilemma with my Angular single-page application in AEM 6.0(base version, no updates). I cannot properly edit my components in Classical UI(touch-based UI is not enabled) for the partial pages in my website. I can see the components I've included in the partial page, but they are incorrectly placed. The sidekick and editing properties are set for the "master" page so I imagine that has something to do with resolving the issue.Here is the code for my "master" page: <%@include...

Views

1.3K

Likes

0

Replies

10
Re: Cannot load Page in Touch-UI
Avatar
Validate 1
Level 2
blkhatpersian
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
blkhatpersian
- Adobe Experience Manager
I also started up an instance of AEM 5.6.1 and installed the sample package above. While the TouchUI was in beta in 5.6.1, it loaded without any errors 😛 If you can, please install the sample package I attached on your 6.0+ instance and see if you see the same error. If not, it has to do with me not having access to the various patches/hotfixes deployed

Views

1.1K

Likes

0

Replies

0
Re: Cannot load Page in Touch-UI
Avatar
Validate 1
Level 2
blkhatpersian
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
blkhatpersian
- Adobe Experience Manager
I also started up an instance of AEM 5.6.1 and installed the sample package above. While the TouchUI was in beta in 5.6.1, it loaded without any errors 😛 If you can, please install the sample package I attached on your 6.0+ instance and see if you see the same error. If not, it has to do with me not having access to the various patches/hotfixes deployed

Views

1.1K

Likes

0

Replies

0
Re: Cannot load Page in Touch-UI
Avatar
Validate 1
Level 2
blkhatpersian
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
blkhatpersian
- Adobe Experience Manager
Scott,Tried what you listed(installing fresh instance of AEM, built a page in Touch UI using template created), and still the same error. I looked further into the error and tracked down where it starts failing: 85 (2016-03-11 11:50:51) TIMER_START{/libs/cq/gui/components/authoring/pagestatus/pagestatus.jsp#97} 88 (2016-03-11 11:50:51) LOG SCRIPT ERROR: 88 (2016-03-11 11:50:51) TIMER_END{3,/libs/cq/gui/components/authoring/pagestatus/pagestatus.jsp#97} 89 (2016-03-11 11:50:51) LOG SCRIPT ERROR: ...

Views

1.1K

Likes

0

Replies

1
Re: Cannot load Page in Touch-UI
Avatar
Validate 1
Level 2
blkhatpersian
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
blkhatpersian
- Adobe Experience Manager
Scott,Tried what you listed(installing fresh instance of AEM, built a page in Touch UI using template created), and still the same error. I looked further into the error and tracked down where it starts failing: 85 (2016-03-11 11:50:51) TIMER_START{/libs/cq/gui/components/authoring/pagestatus/pagestatus.jsp#97} 88 (2016-03-11 11:50:51) LOG SCRIPT ERROR: 88 (2016-03-11 11:50:51) TIMER_END{3,/libs/cq/gui/components/authoring/pagestatus/pagestatus.jsp#97} 89 (2016-03-11 11:50:51) LOG SCRIPT ERROR: ...

Views

1.1K

Likes

0

Replies

1
Re: Cannot load Page in Touch-UI
Avatar
Validate 1
Level 2
blkhatpersian
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
blkhatpersian
- Adobe Experience Manager
Scott,That unfortunately did not work, same error. I do not have a body.jsp, head.jsp, and footer.jsp if that matters.Also, when I changed my sample page's cq:template and sling:resourceType properties to the sample geometrixx en page it came up. I just don't know why it is rejecting the pages I make.

Views

1.1K

Likes

0

Replies

5
Cannot load Page in Touch-UI
Avatar
Validate 1
Level 2
blkhatpersian
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
blkhatpersian
- Adobe Experience Manager
Running AEM 6.0 Author Instance and sadly my pages will not open in Touch UI to edit 😞 The page is blank, has no components used beyond the page-rendering one, and the following is shown in the source: Cannot serve request to /editor.html/content/dashboardangular/index.html in /libs/cq/gui/components/authoring/pagestatus/pagestatus.jsp java.lang.NullPointerException at org.apache.jsp.libs.cq.gui.components.authoring.pagestatus.pagestatus_jsp._jspService(pagestatus_jsp.java:255)My page componen...

Views

2.7K

Likes

0

Replies

7
Re: Additional 'default' clientlib/scripts being included. How do I remove them?
Avatar
Validate 1
Level 2
blkhatpersian
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
blkhatpersian
- Adobe Experience Manager
Will use that from now on, thanks!

Views

147

Likes

0

Replies

0
Re: Additional 'default' clientlib/scripts being included. How do I remove them?
Avatar
Validate 1
Level 2
blkhatpersian
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
blkhatpersian
- Adobe Experience Manager
And I just potentially solved the issue by changing the clientlib name to "somelibrary". Those libraries are all removed. Is dashboard already an exisitng clientlibrary category?

Views

147

Likes

0

Replies

0
Additional 'default' clientlib/scripts being included. How do I remove them?
Avatar
Validate 1
Level 2
blkhatpersian
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
blkhatpersian
- Adobe Experience Manager
Hi guys,I am seeing additional default scripts and styles being added to my page despite my custom clientlib having no dependencies or embedding. The only files that should be there are dashboard.css and dashboard.js. Any help appreciated, thanks!Here is the code for my jsp page: <%@include file="/libs/foundation/global.jsp" %> /* This helps the ng-show/ng-hide animations start at the right place. */ /* Since Angular has this but needs to load, this gives us the class early. */ .ng-hide { display: none!important; } aos-dashboard

Views

234

Likes

0

Replies

3
Re: AEM adding comment block elements in my generated HTML page source
Avatar
Validate 1
Level 2
blkhatpersian
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
blkhatpersian
- Adobe Experience Manager
smacdonald2008 wrote... Are you seeing this with all AEM pages or only certain pages. It looks like it is only on the Author pages, thank you for pointing that out! It is something about WCM mode being enabled, and by default a publish instance will not have it enabled. That is reassuring 🙂 http://stackoverflow.com/questions/29561075/aem-inserts-html-info-comment-into-jsonThanks again!

Views

382

Likes

0

Replies

0
AEM adding comment block elements in my generated HTML page source
Avatar
Validate 1
Level 2
blkhatpersian
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
blkhatpersian
- Adobe Experience Manager
Hi guys,It seems like I can't catch a break with AEM, small things keep creeping up. I am using Google Chrome and I opened the "Inspect Page" tool on a loaded HTML page on my author AEM instance. I found this comment block element inserted near the bottom of the page:(Screenshot attached)""I did access this page using a vanity/virtual url I configured within the Sling Resource Resolver Factory bundle if that helps. I don't want to have this block at any point of my code because it exposes my cod...

Views

898

Like

1

Replies

3
Re: Modifying/Removing default Sling mappings
Avatar
Validate 1
Level 2
blkhatpersian
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
blkhatpersian
- Adobe Experience Manager
Hi Amit,I did see the root mapping, but the other mappings is what I'm confused on. Where do they originate from?Thanks,Ali

Views

220

Likes

0

Replies

0
Modifying/Removing default Sling mappings
Avatar
Validate 1
Level 2
blkhatpersian
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
blkhatpersian
- Adobe Experience Manager
Hi,I noticed there are default mappings in Sling when I went to the configuration for the Resource Resolver Factory. These mappings include the regex "^[^/]+[^/]+/projects". The /etc/map/ directory is empty and I did not know where to look in the other OSGI bundles. Could someone point me in the right direction please?Thank you,Ali

Views

308

Like

1

Replies

2
Likes given to
Likes from