since ‎20-04-2018
‎13-04-2020
sagarv13144480
Level 2
Re: CORS Header issue || AEM Salesforce Integration by le...
Avatar

sagarv13144480

sagarv13144480
- Adobe Experience Manager
When checked in cors log file no error or issue was detected and also when checked via curl commands we can see the header file present for the domain, but somehow when page is loading that header is not present

Views

3.7K

Likes

0

Replies

0
CORS Header issue || AEM Salesforce Integration by leveraging Lighting Out
Avatar

sagarv13144480

sagarv13144480
- Adobe Experience Manager
Hi All, We have made necessary changes in Adobe Cross Origin Sharing Configuration policy in configMgr. Also we have added "Access-Control-Allow-Origin" in headers file under dispatcher.any but we are still facing this below issue. when we try to hit the java script of salesforce component from aem. Access to XMLHttpRequest at 'https://xxxxxxxx.com/c/createClassLightningOut.app?aura.format=JSON&aura.formatAdapter=LIGHTNING_OUT' from origin 'xxAEM DEV AUTHORxxx.com' has been blocked by CORS polic...

Views

5.3K

Likes

0

Replies

5
Integrating Lighting out Salesforce with AEM
Avatar

sagarv13144480

sagarv13144480
- Adobe Experience Manager
Hi, I wanted to integrate AEM with Salesforce via leveraging Lighting out. Any help would be appreciated. Thanks!

Views

599

Likes

0

Replies

0
Re: TagManager.getNameSpaces giving null
Avatar

sagarv13144480

sagarv13144480
- Adobe Experience Manager
HiresourceResolver = resourceResolverFactory.getServiceResourceResolver(Map having readSystem subservice)Resource resource = resourceResolver.getResource("/content/cq:Tags");TagManager tagMgr = resource.adaptTo(TagManager.class);Tag[] Tags = tagMgr.getNamespaces();

Views

1.4K

Like

1

Replies

0
Re: TagManager.getNameSpaces giving null
Avatar

sagarv13144480

sagarv13144480
- Adobe Experience Manager
Hi Arun,resourceResolver is not null and I am doing the same as suggested by you hence confused.Is it a bug?

Views

1.4K

Like

1

Replies

0
TagManager.getNameSpaces giving null
Avatar

sagarv13144480

sagarv13144480
- Adobe Experience Manager
Hi Experts,Whenever I am trying to do TagManager.getNameSpaces()or TagManager.getTags(resource)I am getting null pointer Exception.My Tags are present under /content/cq:tags/Also I have installed Service Pack 6.4.3Also resourceResolver is having readSystem as subservice.Can you anyone help on this?

Views

3.7K

Likes

0

Replies

10
How to Retry a workflow step Programatically?
Avatar

sagarv13144480

sagarv13144480
- Adobe Experience Manager
Hi All,whenever we'll get a exception in a particular process step, there will be a option called "retry" instead of "complete" if we select that retry option, the particular step will be re executed againif there is no exception it will move to its next forward stateif there is still exception the workflow should be there in that process step nlythis thing i need to acheive programaticallyThanks!

Views

888

Likes

0

Replies

1
Re: Setting jcr:Property of type Date with value dynamically
Avatar

sagarv13144480

sagarv13144480
- Adobe Experience Manager
Thanks Arun!

Views

1.7K

Likes

0

Replies

0
Re: Setting jcr:Property of type Date with value dynamically
Avatar

sagarv13144480

sagarv13144480
- Adobe Experience Manager
Hi Arun,I did actually but while setting property it is prompting me to Cast argument to (Value).DateFormat inputFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'+00:00'"); java.util.Date date = inputFormat.parse(inputDate); Calendar calendar = Calendar.getInstance(TimeZone.getTimeZone("GMT")); calendar.setTime(date);child.setProperty(cpropertyName,(Value) calendar.getTime() );When i do cast, it is giving error while setting metadata"javax.jcr.Date cannot be casted to javax.jcr.Value"

Views

1.8K

Likes

0

Replies

0
Setting jcr:Property of type Date with value dynamically
Avatar

sagarv13144480

sagarv13144480
- Adobe Experience Manager
I understood on how set jcr:property of type date by doing thisCalendar cal = Calendar.getInstance();node.setProperty("publishDate",cal);How to add a property of type Date using Java? What it does is it sets property with Name and type date but value it takes as the current Local time.I want to update value.Can anyone help.

Views

2.7K

Likes

0

Replies

4
Re: CSV Asset Importer - Import multi field items in metadata of asset
Avatar

sagarv13144480

sagarv13144480
- Adobe Experience Manager
Thank you! This approach worked

Views

1.5K

Likes

0

Replies

0
Re: CSV Asset Importer - Import multi field items in metadata of asset
Avatar

sagarv13144480

sagarv13144480
- Adobe Experience Manager
So you mean to say it will remove item 0 and add the node item 1 that I am trying in my case?

Views

1.3K

Likes

0

Replies

0
CSV Asset Importer - Import multi field items in metadata of asset
Avatar

sagarv13144480

sagarv13144480
- Adobe Experience Manager
Hi All,I want to import asset metadata using asset importer. But few of the metadata has multifield dialouge.Like for a multifield value we use {{Type : multi }}But is there any way to create structure like below using csv asset importer.I am able to create till item 0 by writing ../metadata/links/item0 in my csv, but when I am giving one more for creating item1 i.e ../metadata/links/item1It is overriding item 0 and creating item1.

Views

2.4K

Likes

0

Replies

4
Activity Log: Crx PckgMngr
Avatar

sagarv13144480

sagarv13144480
- Adobe Experience Manager
Hi All,Can someone tell me the meaning of letters 'A' , 'U', 'E' , '-' (Highlighted below) or if more are there, While installing a package.Any link would be helpful to understand logs better.

Views

1.9K

Like

1

Replies

2
Re: RTE Plugin modifying HTML || Removing JS functions like onClick=""
Avatar

sagarv13144480

sagarv13144480
- Adobe Experience Manager
Thanks a ton! Reference link was very helpful.

Views

1.3K

Likes

0

Replies

0
Re: RTE Plugin modifying HTML || Removing JS functions like onClick=""
Avatar

sagarv13144480

sagarv13144480
- Adobe Experience Manager
Yes I am getting AntiSamy in logs**** GET / org.apache.sling.xss.impl.HtmlToHtmlContentContext AntiSamy warning: The a tag contained an attribute that we could not process. The onclick attribute had a value of "openTab(event, 'All')". This value could not be accepted for security reasons. We have chosen to remove this attribute from the tag and leave everything else in place so that we could process the input.*****

Views

1.3K

Likes

0

Replies

0
RTE Plugin modifying HTML || Removing JS functions like onClick=""
Avatar

sagarv13144480

sagarv13144480
- Adobe Experience Manager
RTE plugin is modifying my html content while using source edit option.How to work around this ?Is there any option to avoid this?Thanks!

Views

2.0K

Likes

0

Replies

5
Re: Page Property shouldn't be allowed to author but should change value dynamically
Avatar

sagarv13144480

sagarv13144480
- Adobe Experience Manager
Hi Antonio,disabled=true is not allowing to change the field via code.It gets persisted in the property but after hitting save and close.It is still reflecting the old value.Any readOnly available for page property?

Views

1.1K

Likes

0

Replies

0
Page Property shouldn't be allowed to author but should change value dynamically
Avatar

sagarv13144480

sagarv13144480
- Adobe Experience Manager
We are having a requirement where in the page property should be disabled to author/editbut can be seen in touch ui.while it's value should change via code in the node.

Views

1.6K

Likes

0

Replies

3
Re: CRX PckgMngr missing metadata node while building package of assets
Avatar

sagarv13144480

sagarv13144480
- Adobe Experience Manager
Thank you gauravb10066713​

Views

1.2K

Likes

0

Replies

0
Re: CRX PckgMngr missing metadata node while building package of assets
Avatar

sagarv13144480

sagarv13144480
- Adobe Experience Manager
Hi Gaurav,We are unable to see in CRXde where we want as shown in metadata node image above.

Views

1.2K

Likes

0

Replies

0
CRX PckgMngr missing metadata node while building package of assets
Avatar

sagarv13144480

sagarv13144480
- Adobe Experience Manager
When I am trying to take package of assets while building it is missing metadata node which is already present.I am unable to understand what is wrong here?

Views

2.0K

Like

1

Replies

4
Re: AEM - Target Integration not updating css in Target.
Avatar

sagarv13144480

sagarv13144480
- Adobe Experience Manager
Thanks for prompt reply.Only the markup i.e HTML is getting updated but the CSS is not getting updated in fact the style sheet ref line only is getting truncated.But that is looking fine when viewed from publish side.

Views

1.1K

Likes

0

Replies

0
AEM - Target Integration not updating css in Target.
Avatar

sagarv13144480

sagarv13144480
- Adobe Experience Manager
We are trying to implement a customer requirement where in we are exporting fragments to target and using form based activity in Target.When we create the fragment for first time the target is able to see everything.But when we update the fragment and again choose update in Target we are unable to see css in Target.

Views

1.2K

Likes

0

Replies

2
SFTP implementation from aem to external location
Avatar

sagarv13144480

sagarv13144480
- Adobe Experience Manager
we are adding Custom workflow step that should have the sftp code which will copy the files to secure external location from aem cloud.client.uploadFile(sourcePath, destinationPath) we have tried the above method from the Jsch Api , but the sourcePath from the above is taking the file from the system location and not from inside aem.Our use case is to send the aem html, assets to the outside location

Views

1.2K

Like

1

Replies

1
Re: Creating Experience Fragment
Avatar

sagarv13144480

sagarv13144480
- Adobe Experience Manager
Hi,1.you can create your own editable template under configuration browser option listed in general option of tools in touch ui console,one can also view the save under /conf folder of crx/de. 2.After creating the template you need to add the path of editable template under /content/experiencefragments of allowed path property for it to be visible in above shown screenshot.3.after creating experience fragment you can create variations using open properties tab and it will be of cq:page type only...

Views

1.3K

Likes

2

Replies

0