since ‎24-01-2020
‎31-07-2020
MatStyler
Level 1
Re: How to upload JSON asset using Asset API
Avatar

MatStyler

MatStyler
- Adobe Experience Manager
Yeah, it's working but returning the error so it's not a good solution but a hack.

Views

145

Likes

0

Replies

0
Re: How to upload asset using Asset API
Avatar

MatStyler

MatStyler
- Adobe Experience Manager
Any solution?

Views

146

Likes

0

Replies

0
Re: How to upload asset using Asset API
Avatar

MatStyler

MatStyler
- Adobe Experience Manager
Have you tried that?

Views

154

Likes

0

Replies

0
Re: Assent API upload error
Avatar

MatStyler

MatStyler
- Adobe Experience Manager
https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-upload-json-asset-using-asset-api/qaq-p/370748/comment-id/77396#M77396

Views

160

Likes

0

Replies

0
Re: Assent API upload error
Avatar

MatStyler

MatStyler
- Adobe Experience Manager
Show me the HTTP Request please.

Views

204

Likes

0

Replies

0
Re: How to upload asset using Asset API
Avatar

MatStyler

MatStyler
- Adobe Experience Manager
That's the problem.

Views

226

Likes

0

Replies

0
Re: How to upload asset using Asset API
Avatar

MatStyler

MatStyler
- Adobe Experience Manager
It's working with images (uploading an image) but not for jsons.

Views

216

Likes

0

Replies

0
Re: How to upload asset using Asset API
Avatar

MatStyler

MatStyler
- Adobe Experience Manager
It's ok for images but when i am uploading json this way it's creating a directory, not uploading the json file.

Views

259

Likes

0

Replies

0
Re: Assets 6.4 HTTP API - Upload asset
Avatar

MatStyler

MatStyler
- Adobe Experience Manager Assets
How achieve that with HTTP request (for instance by axios)?

Views

110

Likes

0

Replies

0
How to upload JSON asset using Asset API
Avatar

MatStyler

MatStyler
- Adobe Experience Manager
Hi. I am using AEM Assent API and trying to upload a binary file using HTTP request. Here you can find the docs: https://docs.adobe.com/content/help/en/experience-manager-65/assets/extending/mac-api-assets.html#create-an-asset It's working for images but for every json files i am uploading, it's creating new directory with name of the file instead of uploading this file. Any suggestions? How the request should looks like?

Views

378

Likes

0

Replies

11
Re: Assent API upload error
Avatar

MatStyler

MatStyler
- Adobe Experience Manager
Then how to send assent to AEM through API?

Views

276

Likes

0

Replies

0
Re: Assent API upload error
Avatar

MatStyler

MatStyler
- Adobe Experience Manager
I am using this:https://github.com/adobe/aem-upload AEM 6.5 and does not matter is it file or blob - problem exists for every case.

Views

322

Like

1

Replies

5
Assent API upload error
Avatar

MatStyler

MatStyler
- Adobe Experience Manager
Have you seen error like this? How to fix that? "Error: direct binary access not supported" I am using this:https://github.com/adobe/aem-upload AEM 6.5 and does not matter is it file or blob - problem exists for every case.

Views

473

Likes

0

Replies

10
Re: How to set initial content in template directly
Avatar

MatStyler

MatStyler
- Adobe Experience Manager
Looks like there is no way to defined initial content without 'editable' property in structure but thank you for help.

Views

276

Likes

0

Replies

0
How to define default React component properties in code - AEM 6.5
Avatar

MatStyler

MatStyler
- Adobe Experience Manager
Hi. I know that is possible to set default properties in _cq_dialog XML but for AEM 6.5 the properties are declared only for dialog (the are set as default when opening the dialog) but not for the component - in component they are undefined. So how to set default properties by AEM for React components?

Views

149

Likes

0

Replies

1
How to set initial content in template directly
Avatar

MatStyler

MatStyler
- Adobe Experience Manager
Good morning. That's my templates directory: I know how to set initial content by structure (editable property) but how to do the same directly by initial/.content.xml?

Views

319

Like

1

Replies

2
Likes from