Closed abanghendri closed 11 months ago
Hi, @abanghendri, Thank you for your interest in the library.
I can see that you are using the same identifier for all of your resource links in the collection. Each resource link object must have a distinct identity offer value to be added to the collection. In your case, they just overwrite one another.
Basically, you can replace 'ltiResourceLinkIdentifier'
with $uuid
in either of your code snippets, and you should be good-to-go.
thank @wazelin, I lost my focus, it works fine when I change ltiResourceLinkIdentifier with my course's uuid
Hi Team, I try to add multiple ResourceCollection, but it doesn't work, here is what I've tried so far:
I also try this method
both of those codes do not work, So how to add multiple items to resource collection properly?