since ‎25-03-2020
‎23-01-2021
tasunil1
Level 1
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

282

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

155

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

104

Likes

0

Replies

1