Hello,
I can get related entries for an entry but i can't get an entry from related entries
public IEnumerable<Association> ListAssociations(ContentReference referenceToEntry) { var associationRepository = ServiceLocator.Current.GetInstance<IAssociationRepository>(); var associations = associationRepository.GetAssociations(referenceToEntry); return associations; }
Is there anyone know any solution please let me know?
Thanks,Thang Le
Hi Thang Le,
Have you checked out the IRelationRespository.
Using this you should be able to get the children of an entry or the parents of a relation.
Paul
Hello,
I can get related entries for an entry but i can't get an entry from related entries
Is there anyone know any solution please let me know?
Thanks,
Thang Le