Highlighted

AEM SPA, Angular side

Avatar

Avatar

dfrusone

Avatar

dfrusone

dfrusone

10-09-2018

Hello everybody. I'm experimenting something with the new feature SPA Editor.

I have everything setted and im also able to make components working. With the model manager and the mapping.

Everything fine, but i have one question.

I know its still a beta, but when i try to create a new page, under We-retail-journal-angular, i can choose only react template, even if everything is setted and there are angular template is under configs.

And also, what i dont understand is: "how can i create the structure for a new template to be editable"?

Thank you in advance

Replies

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

10-09-2018

This is a detailed doc that can help...

Getting Started with SPAs in AEM

Also I am checking with other internal ppl about this.

Highlighted

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
MVP

10-09-2018

Hi,

Your templates might not be visible because you didn't added allowedTemplates in root page or allowedPath property in case of static templates. You can go to root of your site from site console and from property allowed the templates.Editing Page Properties

You can check editable templates to create new templates or restructured.

Creating Page Templates

Highlighted

Avatar

Avatar

dfrusone

Avatar

dfrusone

dfrusone

10-09-2018

I'm checking over and over documentation. The problem is that is mostly about React, not angular.

smacdonald2008

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

10-09-2018

I am checking internally to see if we have a good example of SPA and Ang.

Highlighted

Avatar

Avatar

dfrusone

Avatar

dfrusone

dfrusone

10-09-2018

EDIT:

I've been able to allow templates but what i get when i create the page and then i edit the template, it says thats not possible to request /path/structure.....*...(NOT FOUND)

I know this is something known as explained in the documentation from Adobe Beta, because we still can't edit templates according to that.


But what if i want to map a new template to Angular?

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

10-09-2018

The recommendation from the team is to use react. New content is being written and we will be doing an AEM Ask the Community Experts session on AEM and SPA within the coming months.

However - there is a community article here that talks about AEM and ANg -- http://suryakand-shinde.blogspot.com/2017/06/part-1-angular-2-with-aem-introduction.html

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

10-09-2018

This content will be added to the AEM Weekend tutorial. They said --

Yes, we are working on a WKND style tutorial for the SPA editor [0]. Initially, it will be in React but Angular is also planned (although it might be a good month later).

For those reading this thread - this content is coming.

Highlighted

Avatar

Avatar

dfrusone

Avatar

dfrusone

dfrusone

10-09-2018

Ok thank you.

The problem is that i have a request to integrate with Angular, so basically i can't use React because it would mean to change requirements and that's not possible.

I'm also in the Beta group, so i'm following the calls , but that article, i wish it can helps a bit even if its not featured with the SPA Editor

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

10-09-2018

As of now - AEM and Angular is covered via community articles. here is another one - http://www.aemcq5tutorials.com/tutorials/integrate-aem-with-angular-2-js/