08-19-2020 07:26 PM
Hello,
Can someone please assist me by giving me an example of how to use the IdentityUserService in a custom component. I have tried it as shown in the pictures below but it keeps failing
user-register-component
appModules providers array
this is the error I keep getting
error message
Please help, I am new to Angular and ADF, so I feel like I am missing something. Please provide as much details as possible if there is something wrong with my code above.
08-22-2020 07:12 AM
Hi,
Did you have the chance to look at a working example?
There some around:
- The ACA (Alfresco Content Application). The source code is available here: https://github.com/Alfresco/alfresco-content-app
- A basic ADF application created using the ADF Yeoman Generator. A tutorial can be found here: https://www.alfresco.com/abn/adf/docs/tutorials/creating-the-app-using-yeoman/
I hope this will help you.
-F
04-04-2024 09:25 AM
2 hours ago
Hello,
Try this link https://www.alfresco.com/abn/adf/docs/tutorials/creating-your-first-adf-application/
You can find info too in: https://github.com/Alfresco/generator-alfresco-adf-app
Regards
Roberto Gámiz Sánchez
Alfresco Content Services Engineer
a week ago
Hi eliemichael,
Make sure IdentityUserService is not added manually in providers and your authentication module is properly configured. Also check Angular and ADF versions.
For a quick mental break while debugging, you can check griefquote dot com and look for "missing you grief quotes".
2 hours ago
Could you give me more context about your problem? What is your Alfresco stack (Alfresco, ADF, and KeyCloak versions)? Are you extending an existing Alfresco content application, one generated with Yeoman, or are you using ADF components in an application built from scratch?
In any case, it seems to me that some of the necessary components haven't been initialized correctly, for example, AlfrescoApiServices.
Regards
Roberto Gámiz Sánchez
Alfresco Content Services Engineer
Explore our Alfresco products with the links below. Use labels to filter content by product module.