Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

anasustic
anasustic
Online

Badges

Badges
20

Accepted Solutions

Accepted Solutions
2

Likes Received

Likes Received
39

Posts

Posts
65

Discussions

Discussions
37

Questions

Questions
27

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by anasustic
Customize the badges you want to showcase on your profile
Multiple custom Swagger-ui Components on one page - Adobe Experience Manager 07-09-2022
I have a requirement for loading multiple Swagger-UI components on one page on AEM6.5. My component template in AEM6.5 looks like this: ${model.title} window.onload = function () { window.ui = SwaggerUIBundle({ urls: [ {url: "${path @ context='text'}", name: "${name @ context='text'}"}, ], dom_id: '#${dom_id @ context='text'}', deepLinking: true, filter: true, presets: [ SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset ], plugins: [ SwaggerUIBundle.plugins.DownloadUrl ], layout: 'StandaloneLayout' }); }; The problem is that no matter I use the unique ID only one swagger component will render on the page and the other will not. I can see the swagger components are correctly loaded in the DOM but as already mentioned only one will render.

Views

25

Likes

0

Replies

0
Accessing a YAML file in dam from a template in AEM 6.5 - Adobe Experience Manager Assets 27-08-2022
I need to access YAML files in dam from a template in AEM 6.5 /content/dam/yaml-files/ Inside the html body I should have the following for swagger to work: window.onload = function() { const ui = SwaggerUIBundle({ url: "https://yourserver.com/path/to/swagger.json", dom_id: '#swagger-ui', presets: [ SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset ] }) window.ui = ui } Here is what I tried to do in the AEM template but the url to my yaml file is not correct and I the script does not load: ${model.title} ${model.swaggerYamlPath} window.onload = function () { //<editor-fold desc="Changeable Configuration Block"> // the following lines will be replaced by docker/configurator, when it runs in a docker-container window.ui = SwaggerUIBundle({ urls: [ {url: '${path @ context='html'}', name: 'account-information-service-api-v2-of-fi'}, {url: '/yaml/consent-flow-api-v2-of-fi.yaml', name: 'consent-flow-api-v2-of-fi'}, {url: '/yaml/custody-services-api-v1-of-fi.yaml', name: 'custody-services-api-v1-of-fi'}, {url: '/yaml/payments-submission-service-api-v2-of-fi.yaml', name: 'payments-submission-service-api-v2-of-fi'}, ], url: 'http://localhost:8080/test.yaml', dom_id: '#swagger-ui', deepLinking: true, filter: true, presets: [ SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset ], plugins: [ SwaggerUIBundle.plugins.DownloadUrl ], layout: 'StandaloneLayout' }); //</editor-fold> }; Here is the model: @Model(adaptables = SlingHttpServletRequest.class, defaultInjectionStrategy = DefaultInjectionStrategy.OPTIONAL) public class SwaggerModel exte...

Views

33

Likes

0

Replies

0
Re: Integrate swagger-ui in AEM6.5? - Adobe Experience Manager 26-08-2022
Hi, I created a swagger component in AEM and added a new static clientlib for swagger-ui. The YAML files for the swagger component is in the AEM DAM in the folder /content/dam/yaml-files. I am not sure how to access these YAML assets in the template. When I do it like this I get the correct url in the template {url: '/content/dam/yaml-files/account-information-service-api-v2-of-fi.yaml', name: 'account-information-service-api-v2-of-fi'}, but AEM of course does not interprete is as an Asset ie....

Views

35

Likes

0

Replies

0
Integrate swagger-ui in AEM6.5? - Adobe Experience Manager 25-08-2022
Is there a way to integrate swagger-ui in AEM6.5? I would like to create a AEM component that would read the YAML file and nicely present it using the swagger-ui.

Views

51

Likes

0

Replies

2
Re: AEM 6.5 find all pages that use a specific Template - Adobe Experience Manager 08-08-2022
Thank you very much. It worked nicely.

Views

80

Like

1

Replies

0
AEM 6.5 find all pages that use a specific Template - Adobe Experience Manager 08-08-2022
Hi I would like to find all pages that use a specific template in AEM 6.5. How can I do that? I tried the Component report /miscadmin#/etc/reports/compreport but that did not do what I need. Thanks in advance.

Views

107

Likes

0

Replies

4
Re: Meaning of the requestAttribute? - Adobe Experience Manager 07-08-2022
Yes, it is working.

Views

112

Like

1

Replies

0
AEM6.5 Video Thumbnails missing - Adobe Experience Manager 14-07-2022
We use AEM Asset Videos but they appear they do not have thumbnails under Renditions in the DAM. When you look under Renditions only original MP4 is there. Also when one adds a video using the DAM browser a front end error occurs in AEM Editor because assetSelectedEvent.thumbnail is undefined. I was reading some articles here that one needs Adobe Dynamic Media https://experienceleague.adobe.com/docs/experience-manager-65/assets/dynamic/scene7.html?lang=en. Is that a hosted solution? How can one ...

Views

46

Likes

0

Replies

0
Re: Meaning of the requestAttribute? - Adobe Experience Manager 13-07-2022
Hi BrianI am sorry, but I am not sure which code you refer to?

Views

178

Like

1

Replies

2
Cannot user path for selecting video in video component - Adobe Experience Manager 13-07-2022
HiWe would like the editors to be able to use the path selector as well as drag and drop when they select an MP4 file for the video component. At the moment only the drag and drop for video file works. That means, only when you drag and drop an MP4 file from Assets will this be taken into account for the video component. For the image component one can drag an drop an image from Assets or select it using the path. I am attaching the video component _cq_diaglog/.content.xmlas well as the video co...

Views

58

Likes

0

Replies

0