since ‎23-02-2015
10 hours ago
Gunars_Vilcins
Level 2
Re: Overlay Navigation for ACL
Avatar

Gunars_Vilcins

Gunars_Vilcins
- Adobe Experience Manager
Awesome thanks! We're running 6.5.2.0

Views

540

Likes

0

Replies

0
Re: Overlay Navigation for ACL
Avatar

Gunars_Vilcins

Gunars_Vilcins
- Adobe Experience Manager
I'd like to have the Tools menu accessible to all users/groups, however for one group, not have the Tools menu appear at all.I attempted to do this by creating the ACL here but the menu is still visible:/apps/cq/core/content/nav/tools/rep:policy/denyI know that if I do this under the /libs area, Tools will not appear for the user group, but I'm trying to avoid having the ACL located there.I'm guessing that this can't be done?

Views

524

Likes

0

Replies

0
Re: Overlay Navigation for ACL
Avatar

Gunars_Vilcins

Gunars_Vilcins
- Adobe Experience Manager
Thanks, but how do you limit that to only the specific user group?

Views

531

Likes

0

Replies

0
Overlay Navigation for ACL
Avatar

Gunars_Vilcins

Gunars_Vilcins
- Adobe Experience Manager
I'd like to hide the 'Tools' navigation for only a single user group.I created an overlay for /libs/cq/core/content/nav/tools under /apps/cq/core/content/nav/tools; then added a deny ACL for the navigation item like so: /apps/cq/core/content/nav/tools/rep:policy/deny. The reason for doing this is so that next time we upgrade our instance, the ACLs would remain.When I log in as a user in the specific user group, I am still able to view the Tools menu. My assumption was that the overlaid items wou...

Views

1.1K

Likes

0

Replies

6
Communities Authoring Usergroup Requirement
Avatar

Gunars_Vilcins

Gunars_Vilcins
- Adobe Experience Manager
We have a blog component requirement where there needs to be two sets of user groups, one that can publish blog posts and another that can author but not publish (save only). Is there a way to accomplish this via user group permissions (rep:policy)? Pls see attached image.

Views

825

Likes

0

Replies

1
Content Security Policy (CSP)
Avatar

Gunars_Vilcins

Gunars_Vilcins
- Adobe Experience Manager
Does anyone have any information where/how to implement a content security policy within the AEM platform?Content Security Policy (CSP) - HTTP | MDN

Views

1.4K

Likes

0

Replies

1
CQ MSM Content Update Action
Avatar

Gunars_Vilcins

Gunars_Vilcins
- Adobe Experience Manager
I am looking to add the "cq:propertyInheritanceCancelled" property as an Excluded Page Property in the CQ MSM Content Update Action (com.day.cq.wcm.msm.impl.actions.ContentUpdateActionFactory) configuration.Does anyone have any insight on why this would not be the case OOB, or would there be any downside in doing this? Seems like if a page property is cancelled, one would want that property to remain cancelled upon rollout.We are running 6.0SP2 (in process of upgrading )Thanks!

Views

799

Likes

0

Replies

2
Copy a livecopy page
Avatar

Gunars_Vilcins

Gunars_Vilcins
- Adobe Experience Manager
This may be a redundant question, but is there a way to copy a livecopy page without acquiring any of the inheritance/relationships? Basically I'd like to keep the same look of the page, but break it away from the original blueprint. Maybe best bet would be to create a new page without any livecopy relationship?

Views

484

Likes

0

Replies

1
Re: Content Fragments Use-Cases?
Avatar

Gunars_Vilcins

Gunars_Vilcins
- Adobe Experience Manager
Hi gauravs23​, re: #3, we have used something similar to content fragments in our project. (similar because we are still on a version prior to 6.2). We have two separate sites that both contain biographies. The biographies (text) are the same but the page layouts are different. Because we have the biographies sit outside of the site structure as "content fragments" we can author them outside of the sites and publish. So instead of authoring two pages, you would just be authoring one. My understa...

Views

1.2K

Like

1

Replies

0
Setting multiple CUG login pages
Avatar

Gunars_Vilcins

Gunars_Vilcins
- Adobe Experience Manager
Hello -I have locked content located in the DAM here: /content/dam/documents/lockedI have two sites located under my project like this:/content/myproject/en_us/siteA/content/myproject/en_us/siteBThe login page is set from the DAM using the CUG tab when clicking on the "locked" folder,and assigning it a single login page path, but I would likesiteA to go to siteA/login.html and siteB to go to siteB/login.htmlI was hoping someone could point me to some documentation on this topic, or other ideas.....

Views

346

Likes

0

Replies

0
Re: Package Replication
Avatar

Gunars_Vilcins

Gunars_Vilcins
- Adobe Experience Manager
Good point, could be one of those quirky AEM things. I can always resort to using tree activation and check "ignore modified".Thanks all for the input!

Views

553

Likes

0

Replies

0
Re: Package Replication
Avatar

Gunars_Vilcins

Gunars_Vilcins
- Adobe Experience Manager
Thanks Ratna, Yes, I checked replication queue, and upon replication, it was there, then after a little while, it processed as expected.The deactivated pages appear red in both Author and Publish instances (under siteadmin), but still show up from Publish URL, as if you were viewing from the public.

Views

552

Likes

0

Replies

0
Package Replication
Avatar

Gunars_Vilcins

Gunars_Vilcins
- Adobe Experience Manager
Hi,Every month or so, I package the pages I have in my Production enviroment and move them down to my lower environments to keep them in sync.I typically create and build the package from Prod-Author (/content/my-project).Then upload and install in my Dev-Author instance; replicate from Dev-Author to Dev-Publish. Pretty straightforward.What I noticed was that if I have any deactivated pages, they show up as "deactivated", but I'm still able to view them from the Dev-Publish URL.They even show up...

Views

1.6K

Likes

0

Replies

5
Re: Accessing user group membership using HTL
Avatar

Gunars_Vilcins

Gunars_Vilcins
- Adobe Experience Manager
Ah thanks - makes sense! 🙂

Views

453

Likes

0

Replies

0
Re: Accessing user group membership using HTL
Avatar

Gunars_Vilcins

Gunars_Vilcins
- Adobe Experience Manager
I appreciate the responses everyone! @edubey, how did you know that "principal.name" was available?

Views

462

Likes

0

Replies

0
Accessing user group membership using HTL
Avatar

Gunars_Vilcins

Gunars_Vilcins
- Adobe Experience Manager
I'm trying to accomplish something similar found in this post.I have this in my "scripts.js" file:use(function() { var resolver = resource.getResourceResolver(); var session = resolver.adaptTo(Packages.javax.jcr.Session); var userManager = resolver.adaptTo(Packages.org.apache.jackrabbit.api.security.user.UserManager); var auth = userManager.getAuthorizable(session.getUserID()); var groups = auth.memberOf(); return { isAnonymous: isAnonymous, groups: groups }; }); And in my component, I have this...

Views

770

Likes

2

Replies

5
Re: ResourceResolver using Javascript-Use API?
Avatar

Gunars_Vilcins

Gunars_Vilcins
- Adobe Experience Manager
Genius - that worked perfectly - thank you! Is there any documentation that explains this a little better? This seems to be the only documentation out there: https://docs.adobe.com/docs/en/htl/overview.html

Views

1.1K

Likes

0

Replies

0
ResourceResolver using Javascript-Use API?
Avatar

Gunars_Vilcins

Gunars_Vilcins
- Adobe Experience Manager
Hi there,I am trying to convert my components over to the HTL/Sightly instead of JSP, and I'm running into a road block.I'd prefer to do the HTL using Javascript-Use API instead of Java-Use because I am more familiar with JS.My new JS code below errors out:"Can't find method com.myproject.aem.util.GlobalUtils.userCanReadRedirectTarget(java.lang.Class,org.mozilla.javascript.Undefined).Any ideas why?In the old JSP, I have this:boolean isUnlocked = GlobalUtils.userCanReadRedirectTarget(resourceReso...

Views

4.6K

Likes

0

Replies

4
Multiple live copy paths with same values
Avatar

Gunars_Vilcins

Gunars_Vilcins
- Adobe Experience Manager
Hi,When rolling out a page that is shared across sites, I seem to get multiple live copy path references with the same values.Something like this:Live Copy Path Action/myproject/en_us/site-a/the-page Partial update/myproject/en_us/site-b/the-page Full update/myproject/en_us/site-b/the-page Full update/myproject/en_us/site-b/the-page Full updateI end up un-checking the duplicates and click "rollout", and it works, but is anyone else experiencing the same thing?

Views

294

Likes

0

Replies

0
Referencing shared text
Avatar

Gunars_Vilcins

Gunars_Vilcins
- Adobe Experience Manager
I am in the middle of creating shared text to be used on multiple pages.I am adding the shared text on a page, and then linking to it from another page using the OOB "paragraph reference" component.When highlighting the "sharedtextpage" below and using the "Tools/References..." menu within siteadmin, I receive a message stating"the selected item is not referenced" even though its content is being used on that other page.Am I using the paragraph reference component correctly; is this a known flaw...

Views

526

Likes

0

Replies

1
Re: Issue with cq:include tag in AEM 6.2
Avatar

Gunars_Vilcins

Gunars_Vilcins
- Adobe Experience Manager
@Shikha, have you been able to resolve this? I'm seeing similar errors.

Views

1.1K

Likes

0

Replies

0
Re: Accessing String array using Sightly
Avatar

Gunars_Vilcins

Gunars_Vilcins
- Adobe Experience Manager
Thanks - is there any way to do this using the JS Use API instead of Java?

Views

1.7K

Likes

0

Replies

1
Accessing String array using Sightly
Avatar

Gunars_Vilcins

Gunars_Vilcins
- Adobe Experience Manager
In my component, I have a "map" property of xtype multifield that contains a "title" and "path".When a page is created with the component, the "map" is stored as a String array like: type "String[]" and the value {"title":"This is title one","path":"/foo/bar"},{"title":"This is title two","path":"/foo/bar/2"}.I would like to display these as an unordered list using Sightly. The code below gets me each pair, but I would like to narrow down even further to each "title" and "path". ${item}Can I ac...

Views

4.0K

Likes

0

Replies

3
Moving DAM Assets
Avatar

Gunars_Vilcins

Gunars_Vilcins
- Adobe Experience Manager
I have a large amount of DAM assets (mostly PDFs) to move from our Production environment down to our development environments. I have been packaging all of this up via Package Manager and manually installing each package to each environment. I also disable the WorkflowLauncher when installing as described in the Adobe documentation.I noticed that two workflows get kicked off when installing the packages: DAM Update Asset and DAM MetaData Writeback that eat up a lot of memory/processing time. Si...

Views

655

Like

1

Replies

1
Re: Vault Filter Not Applying
Avatar

Gunars_Vilcins

Gunars_Vilcins
- Adobe Experience Manager
Yes, that's correct. When I changed the version to ${project.version} the remote deployments did not apply the filter. Could it possibly be a Bamboo setting somewhere?

Views

464

Likes

0

Replies

0
Re: Vault Filter Not Applying
Avatar

Gunars_Vilcins

Gunars_Vilcins
- Adobe Experience Manager
Sorry, I should have specified - local is using IntelliJ; remote(dev/stage) we're using Bamboo as the CI tool.

Views

469

Likes

0

Replies

0
Vault Filter Not Applying
Avatar

Gunars_Vilcins

Gunars_Vilcins
- Adobe Experience Manager
I am using the maven multimodule content package archetype in my project as listed here:https://docs.adobe.com/docs/en/aem/6-0/develop/dev-tools/vlt-mavenplugin.html#multimodule-content-package-archetypeI changed the in all three POM files from "1.0-SNAPSHOT" to "${project.version}".The filters are included in the package when deployed to the Local environment as expected, but when deployed to the Dev and Staging environment, the filters are not there.This did work previously when all three POM...

Views

864

Likes

0

Replies

6
Loading Clientlibs
Avatar

Gunars_Vilcins

Gunars_Vilcins
- Adobe Experience Manager
Hi,I have a setup where I am running three websites that use the same components, similar to this: Sites:/content/myproject/en-us/siteA//content/myproject/en-us/siteB//content/myproject/en-us/siteC/Components:/apps/myproject/Design Files:/etc/designs/siteA//etc/designs/siteB//etc/designs/siteC/My "header.jsp" file calls the main clientlib that includes all CSS styling: My problem now is that we would like to incorporate different CSS styles throughout Site C for global elements, such as button c...

Views

704

Likes

0

Replies

2
Re: Best way to stop long running workflow
Avatar

Gunars_Vilcins

Gunars_Vilcins
- Adobe Experience Manager
You can try terminating the workflow under the workflow console: /libs/cq/workflow/content/console.htmlClick on the "Instances" tab, select the workflow, right-click and terminate.

Views

1.2K

Like

1

Replies

0
Re: Setting a custom logout page
Avatar

Gunars_Vilcins

Gunars_Vilcins
- Adobe Experience Manager
Thanks Sham HC. If I were to add another application on the same server down the road, wouldn't that impact that? I'm assuming if you add a rewrite rule on the server, it would direct all logouts to that page. Correct? Is there a way to specify per application?

Views

336

Likes

0

Replies

0