since ‎25-03-2020
‎23-03-2021
tasunil1
Level 1
Re: Need to enable http put but disable webdav
Avatar

tasunil1

tasunil1
- Adobe Experience Manager
ok thanks Jörg

Views

85

Likes

0

Replies

0
Re: Need to enable http put but disable webdav
Avatar

tasunil1

tasunil1
- Adobe Experience Manager
It would be something like PUT aem://:/content/dam/test.xml

Views

92

Likes

0

Replies

0
Re: Need to enable http put but disable webdav
Avatar

tasunil1

tasunil1
- Adobe Experience Manager
Hello Jörg , it is HttpPut api with the file and put request entity, HttpPut put = new HttpPut(makeHttpUrl(url)); put.setEntity(new FileEntity(new File(diskPath))); try (CloseableHttpResponse response = HttpClientFactory.executeRequest(put)) Thanks Regards

Views

111

Likes

0

Replies

0
Need to enable http put but disable webdav
Avatar

tasunil1

tasunil1
- Adobe Experience Manager
We have a connector which uploads file using Asset API HTTP Put to upload any new assets into AEM OnPrem.The issue we are facing is when we disable WebDAV in AEM, the HTTP PUT also stops. Is there a way to allow to upload assets via HTTP PUT while keeping WebDAV disabled.Thanks

Views

145

Likes

0

Replies

6
templates placed under /apps/<projectname>/projects/templates/* note visible
Avatar

tasunil1

tasunil1
- Adobe Experience Manager
Hi, We have a custom solution in which we have a custom template for a project as well. We place it in /libs//projects/templates/* from where it used in many places in the code as well. But after this whenever we place any template in /apps//projects/templates/* it is not shown? what can be the reason for this? if we remove /libs//projects/templates/* it is also not then? when we uninstall the package it becomes ok Please can you let me know the cause?

Views

351

Likes

0

Replies

6
mock fileupload i.e import using MockSlingHttpServletRequest
Avatar

tasunil1

tasunil1
- Adobe Experience Manager
I need to Mock file import request using MockSlingHttpServletRequest so test my custom code. but I am unable to understand how to do it. if there is any resource available around multipart file upload

Views

191

Likes

0

Replies

1
Need to integrate client with aem which has oauth enabled
Avatar

tasunil1

tasunil1
- Adobe Experience Manager
Hi, We use AEM as a CMS in a C/C++ based product.we used the traditional username/password approach. we need to integrate the oauth mechanism into our product.We do not have any custom plugin/packages for AEM written. For login we open a Chromium CEF browser and ask the user to loginApproaches we tried wereuses auth_code from browser and , get access token and use it as a Authorization Bearer token.uses the entire cookie and extract token and set it as Authorization Bearer enable token as reques...

Views

124

Likes

0

Replies

1