Try our conversational search powered by Generative AI!

Get Category from a Reference Node

Vote:
 

I'm working on a tool to let team members update Item information, specifically I'm looking to allow edit of the primary category since the CMS doesn't have the ability to do so. I've looked at a few posts, and have been able to find the node relations for the product I'm working with, but I want to convert those relations into readable categorys to display to the end user within a list, so they can select a new primary relation to send back for update.

I'm using GetNodeRelations() on my ProductContent object to pull up the related categorys for this product - but I need to convert the relations that are confirmed to be Categories, into the proper format for usage in my interface. I was going to then use the RelationRepository in order to update the relations that need to be updated (former primary, new primary).

Thanks in advance.

#222254
Edited, May 01, 2020 4:22
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.