GetFile function to call Adobe AEM Repository is not providing back the data stream

Avatar

Avatar
Affirm 1
Level 2
gauravtyagi
Level 2

Likes

10 likes

Total Posts

25 posts

Correct reply

2 solutions
Top badges earned
Affirm 1
Boost 5
Boost 3
Give Back
Ignite 1
View profile

Avatar
Affirm 1
Level 2
gauravtyagi
Level 2

Likes

10 likes

Total Posts

25 posts

Correct reply

2 solutions
Top badges earned
Affirm 1
Boost 5
Boost 3
Give Back
Ignite 1
View profile
gauravtyagi
Level 2

13-05-2021

Hi Guys,

 

I am trying to connect Pega PRPC to AEM , There are connect REST already given by Pega so we can invoke them to call AEM getFile API. Now I created folder named marketing under Assets and published using Publish option (There are other folders like we-retail/WKND Events etc also there under this Assets). Other APIs like creating new folder/new file creation works fine but getFile function to read data from AEM is not working. I am thinking if it is an issue with permissions on folder or permissions on file under Folder marketing or is it an admin user access issue. Could you please help me out to understand the user management here and authorization of user - what they can do and what they cant and how ? i thought admin will have access to everything.

View Entire Topic

Avatar

Avatar
Affirm 50
MVP
Vaibhavi
MVP

Likes

216 likes

Total Posts

181 posts

Correct reply

61 solutions
Top badges earned
Affirm 50
Validate 1
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Affirm 50
MVP
Vaibhavi
MVP

Likes

216 likes

Total Posts

181 posts

Correct reply

61 solutions
Top badges earned
Affirm 50
Validate 1
Ignite 1
Give Back 5
Give Back 3
View profile
Vaibhavi
MVP

13-05-2021

Hi @gauravtyagi , 

If you are using admin user, admin user will be having  full access rights such as read, write, modify, replicate ACL for all the existing folder and the child folder which inherits. 

If you have created any new folder , please make sure the permission is enabled. It is not advised to keep use the admin user for higher environments due to security concerns. 

 

For detailed understanding of user management, please have a check on below document 

https://experienceleague.adobe.com/docs/experience-manager-64/administering/security/security.html?l...