Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation Related issue : How to create your first extension #4393

Open
ITSolutionsTech opened this issue Feb 13, 2025 · 0 comments
Open

Comments

@ITSolutionsTech
Copy link

Describe the bug
Documentation is not accurate on :
https://alfresco-content-app.netlify.app/#/tutorials/how-to-create-your-first-extension

used the prerequisites :
ACA version 5.3.0,
ACS 23.4,
NodeJs version 18.20.3

what i found :

Folder not found in the assertion :

In addition, edit the src/assets/app.extensions.json file on the $references array. Below how it should look like.

"$references": ["my-extension.json"],

instead, i found it on : projects/aca-content/assets
is that the good file?

Also in the assertion below :

Let's instruct the configuration file for the extension to be visible from the ACA app through a public URL. To complete the task, edit the angular.json file as described below.

// Add to 'src/app.config.json' array.
...
{
  "glob": "my-extension.json",
  "input": "projects/my-extension/assets",
  "output": "./assets/plugins"
},
...

I could not find the angular.json file ==> i foundit in the project.json file in the root folder

and the comment : // Add to 'src/app.config.json' array. is not clear on the docs, did you mean :

update the project.json file and add the object : 
{
  "glob": "my-extension.json",
  "input": "projects/my-extension/assets",
  "output": "./assets/plugins"
},

under : 
{
 "glob": "app.config.json",
 "input": "app/src",
  "output": "/"
 },

Also : "npm install my-extension" gets the my-extension for npm registry which is causing dependency issue as the alfresco-content-services package there is outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant