Join Discord
Powered by
AngularJs question
# help-with-umbraco
h
huwred
08/04/2023, 10:29 AM
in an angular controller, how do I get properties from a content item using it's ID basically I want to fetch some properties from an items parent
s
Sebastiaan
08/04/2023, 10:34 AM
https://github.com/kgiszewski/LearnUmbraco7/blob/master/Chapter%2011%20-%20Working%20with%20AngularJs%20for%20Customizing%20the%20Backoffice/03%20-%20AngularJs%20Umbraco%20Services%20and%20Resources.md
entityResource.getById(..)
h
huwred
08/04/2023, 10:39 AM
That just gives me a failed to retreive entity data error
s
Sebastiaan
08/04/2023, 10:40 AM
🤷♂️ then I don't know! 😅
Sebastiaan
08/04/2023, 10:40 AM
Sorry, updated the link above, that might give you more clues?
h
huwred
08/04/2023, 10:42 AM
yep, that helped thanks 🙂
Previous
Next