since ‎21-11-2018
‎14-08-2020
vipins5188
Level 2
Re: AEM Security - .json Extension
Avatar

vipins5188

vipins5188
- Adobe Experience Manager
Hi Brett,I gave pageinfo.json just for example purpose here, you can have any path from the request. Purpose here is to get control over that request and serve it to specific audience and and specific content/data. Plus thiats sling filter with filter pattern value so it won't effect your default servlet things

Views

1.5K

Like

1

Replies

0
Re: AEM Security - .json Extension
Avatar

vipins5188

vipins5188
- Adobe Experience Manager
Hi Brett,You can write custom sling filter servlet to stop execution of such request. For example pageinfo.json calls "/libs/wcm/core/content/pageinfo.json" request./** * Simple servlet filter component that blocks requests for page information. */@SlingFilter(generateComponent = false, generateService = true, order = -500, scope = SlingFilterScope.REQUEST)@Properties({ @Property(name = "sling.filter.pattern", value = "/libs/wcm/core/content/pageinfo.json") })@Component(immediate = true, metatyp...

Views

1.6K

Like

1

Replies

0
Re: checkbox value not saving in multifield dialog in AEM 6.4
Avatar

vipins5188

vipins5188
- Adobe Experience Manager
Hi Sampath,For this to work you will need to add "granite:class=coral-Form-fieldwrapper" property on checkbox in dialog.Example : Thanks,Vipin

Views

3.7K

Likes

0

Replies

0
Re: Coral 3 ui Switch on/off text not working
Avatar

vipins5188

vipins5188
- Adobe Experience Manager
Yes as arun mentioned you will need to add those attributes.

Views

872

Likes

0

Replies

0
Re: checkbox value not saving in multifield dialog in AEM 6.4
Avatar

vipins5188

vipins5188
- Adobe Experience Manager
Hi Sampath,It is known issue with multifield (when used with ACS-Commons), you will need to add logic to set checkbox and RTE value in touchui-widgets-init.js file and set it in "setWidgetValue" method.You can add something like as below for example:isCheckbox: function ($field) { return !_.isEmpty($field) && ($field.prop("type") === "checkbox" || $field.hasClass("coral-Checkbox"));},setCheckBox: function ($field, value) { if($field.parent().hasClass("coral-Checkbox")){ $field.parent().prop("che...

Views

3.7K

Likes

0

Replies

1
Re: Coral 3 ui Switch on/off text not working
Avatar

vipins5188

vipins5188
- Adobe Experience Manager
Hi Velu,Please try using textOff & textOn instead of offText & onText.This should work, we are using switch and its working fine.Thanks,Vipin

Views

883

Likes

0

Replies

0
Re: Need to add one custom button besides move button in dam admin
Avatar

vipins5188

vipins5188
- Adobe Experience Manager
Hi,You are looking at wrong place, if you want to add new button than you have to overlayassetdetails page.You have to overlay "/libs/dam/gui/content/assetdetails" under this you will find all button and their respective aciton.Once you overlay and add your new button, you can add variant ,rendercondition and etc...For example have a look how they have implementated move action /libs/dam/gui/content/assetdetails/jcr:content/actions/moveassetHope this helps.Thanks,Vipin

Views

1.4K

Like

1

Replies

0
Re: How to add a custom workflow step to DAM Update Asset
Avatar

vipins5188

vipins5188
- Adobe Experience Manager
Hi,First create a Workflow Process Step to perform operation like "versionDate" and etc...Than Go to /libs/settings/workflow/models/dam/update_asset.html ,edit the workflow model ,add Process Step component and select your custom process step and save it.

Views

751

Likes

0

Replies

0
Re: creating multiple checkbox for single property of string array for touch ui in AEM6.3 (Coral)
Avatar

vipins5188

vipins5188
- Adobe Experience Manager
Hi Srinivas,We also had multiple checkbox in classic UI which we have replaced with Multi Select Drop down in Touch UI. To get the options value you can create Datasource. You can do something like this. To get more details on how to create DataSource you can refer below link.Adobe Experience Manager Help | Using Granite DataSource objects to populate AEM Touch UI objects Hope this helps.Thanks,Vipin

Views

767

Likes

2

Replies

0
Re: Customize/Overlay "References" Metadata Schema Field
Avatar

vipins5188

vipins5188
- Adobe Experience Manager
Oh i see here, this references will get only internal references like which page is using this pdf etc..Need to check if external references are supported or not.

Views

799

Likes

0

Replies

0
Re: Customize/Overlay "References" Metadata Schema Field
Avatar

vipins5188

vipins5188
- Adobe Experience Manager
Hi,You can create your own metadata schema from metadataschema editor available OOTB. And apply that newly created schema to your dam folder.You can drag and drop widget , create what metadata you want for asset and save.To apply to specific dam folder you need to add metadataSchema="path-to-your-custom-schema" property to that folder.Please note that this newly created schema will be stored under /conf/global/settings/dam/adminui-extensionFor creation of metadataschema you can go to below pathh...

Views

777

Likes

0

Replies

0
Re: Coral Multifield(6.4 Touch UI) to save value in JSON
Avatar

vipins5188

vipins5188
- Adobe Experience Manager
Arun Patidar​ Acs commons touch widget store has option to store data as node or json . Using acs common widget js, we created our multifield and it is storing data as json in crxde.

Views

2.3K

Likes

0

Replies

0
Re: Coral Multifield(6.4 Touch UI) to save value in JSON
Avatar

vipins5188

vipins5188
- Adobe Experience Manager
Hi Monika,You can overlay the acs commons js and create you own multi-field. We did the same due to restrictions policy.Register your custom multifield like CUI.Widget.registry.register("multifield", CUI.Multifield); Copy acs commons js code to your code, define proper js categories and use your multifield in dialog. No code changes required from your end Hope this helps.

Views

2.3K

Likes

0

Replies

0
Re: Coral Multifield(6.4 Touch UI) to save value in JSON
Avatar

vipins5188

vipins5188
- Adobe Experience Manager
Hi,There is acs commons widget available to store value as node as well as in json structure.Please refer below article for step by step implementation.Using the ACS AEM Commons Nested Multifield | BounteousFocus on "acs-commons-nested=JSON_STORE" property, it is working fine in 6.4 as well.

Views

2.3K

Likes

0

Replies

0
Re: AEM 6.4 WorkflowStatus Api returning false for running workflow
Avatar

vipins5188

vipins5188
- Adobe Experience Manager
Thanks Arun Patidar smacdonald2008 for your response.I have got the solution for this issue, actually we are maintaining Adobe Granite Workflow Service configuration and adding one custom group to superuser property, which was removing OOTB workflow service user from superuser group that was causing this issue. By removing that configuration, it worked fine.

Views

863

Likes

0

Replies

0
Re: AEM 6.4 WorkflowStatus Api returning false for running workflow
Avatar

vipins5188

vipins5188
- Adobe Experience Manager
Hi Arun,i am implementing custom ResourceStatusProvider to get status of particular resource to show on page,for this i am getting an issue with status so i implementated a servlet just to check what status i am getting. There i found that Workflow Status is not properly coming. After deploying code status of Workflow is active and its in running condition . I checked the same under /var/workflow/instances

Views

862

Likes

0

Replies

0
Re: AEM 6.4 WorkflowStatus Api returning false for running workflow
Avatar

vipins5188

vipins5188
- Adobe Experience Manager
Hi Arun,I tried with resource.adaptTo(WorkflowStatus.class).getWorkflows(true).isEmpty(); to check if its part of any workflow but this one also return me with an empty list.As soon as i send page for workflow these methods returns correct status but if i deploy the code after workflow started these are sending me false status, any idea why ??/

Views

859

Likes

0

Replies

0
AEM 6.4 WorkflowStatus Api returning false for running workflow
Avatar

vipins5188

vipins5188
- Adobe Experience Manager
Hi All,We are facing an issue with WorkflowStatus api to get current wf status of a resource.It works fine when we start a workflow and get running status it return true but when we deploy our code again even though workflow still in running condition ,the api returns us as false.resource.adaptTo(WorkflowStatus.class).IsInRunningWorkflow(true);This issue only happening if we redeploy our code.Any idea what can cause this issue ?? What is happening during bundle deployment which makes this api re...

Views

1.8K

Like

1

Replies

7
Re: Is there any OOTB show/hide functionality on AEM 6.4 for Coral-3 .?
Avatar

vipins5188

vipins5188
- Adobe Experience Manager
Yes there is OOTB show hide feature available which used target value concept.Please refer below link for detailed implementationhttps://techrevel.blog/tag/showhide/ Hope this helps

Views

1.1K

Likes

0

Replies

0
Re: After migrating From AEM 6.2 to AEM 6.4 Clientlib is not working in Publish
Avatar

vipins5188

vipins5188
- Adobe Experience Manager
Sunita,As arun mentioned your images should be in resources folder.Please try using ui include instead of cq. Ex:

Views

741

Likes

0

Replies

0
Re: After migrating From AEM 6.2 to AEM 6.4 Clientlib is not working in Publish
Avatar

vipins5188

vipins5188
- Adobe Experience Manager
What category you are adding for clientlibs ?? How you are including your clientlibs ???Please post more details

Views

734

Likes

0

Replies

0
Re: AEM 6.4 Richtext authored Content adding "\r\n" for new line character.
Avatar

vipins5188

vipins5188
- Adobe Experience Manager
Anyone any update ??

Views

565

Likes

0

Replies

0
Re: AEM 6.3 Custom RTE dialog truncates the additional parameters of anchor tag
Avatar

vipins5188

vipins5188
- Adobe Experience Manager
Hi Sunil,You need to add your custom parameter like data-target in xssprotection config file. Overlay /libs/cq/xssprotection/config.xml to /apps/cq/xssprotection/config.xml.Open /apps/cq/xssprotection/config.xml.In the common-attributes section, add the following attribute declaration.Find the a tag declaration by searching the term Add all your custom parameter and re-edit RTE dialog ,it should work fine.Also make sure you have properly added login in dltToModel and dlgFromModel mtheods.Hope t...

Views

1.0K

Likes

0

Replies

0
Re: RTE wrap text with <strong> tag when Bold icon is clicked
Avatar

vipins5188

vipins5188
- Adobe Experience Manager
Thanks smacdonald2008​

Views

1.2K

Likes

0

Replies

0
Re: RTE wrap text with <strong> tag when Bold icon is clicked
Avatar

vipins5188

vipins5188
- Adobe Experience Manager
Hi,One options is to create custom plugin ,add it on toolbar ,hide existing Bold plugin. For this you can refer the example given by smacdonald2008​ above.Another solutions is you overlay existing command for bold plugin and replace with . For this you can overlay DefaultFormatting.js.Code you need to change is_getTagNameForCommand: function(cmd) { var cmdLC = cmd.toLowerCase(); var tagName = null; switch (cmdLC) { case "bold": tagName = "b"; //Change this "b" with "strong" break; case "italic"...

Views

1.3K

Like

1

Replies

0
Re: AEM 6.4 Richtext authored Content adding "\r\n" for new line character.
Avatar

vipins5188

vipins5188
- Adobe Experience Manager
smacdonald2008​ Did you get a chance to look into above issue ??

Views

570

Likes

0

Replies

0
Re: Picklist for touch UI rich text editor
Avatar

vipins5188

vipins5188
- Adobe Experience Manager
You can refer this color picker example for touch ui RTEExperiencing Adobe Experience Manager - Day CQ: AEM 63 - Touch UI RTE (Rich Text Editor) Color Picker Plugin for InPlace…

Views

774

Likes

0

Replies

0
Re: Lockmanager
Avatar

vipins5188

vipins5188
- Adobe Experience Manager
System user wont work even though it is part of administrators group. You have to have only admin user session . And that you can get only by slingRepository.loginAdministrative(null);

Views

902

Likes

0

Replies

0
Re: Lockmanager
Avatar

vipins5188

vipins5188
- Adobe Experience Manager
As Arun said in AEM only admin or lock owner can unlock the page.No other user can unlock it.However there is a way to unlock the page using admin session in AEMYou can use adminSession = slingRepository.loginAdministrative(null); and get admin session and use that to unlock the page. It will wokr ,we are using the same. But this is deprecated api in newer version but still working as expected.

Views

916

Likes

0

Replies

0
Re: Forcing xpath query timeouts
Avatar

vipins5188

vipins5188
- Adobe Experience Manager
Alternatively you can create oak indexes to optimise your query.

Views

854

Likes

0

Replies

0