I have a custom entity as a related of Territory entity. In a new create form of that custom entity, I want to retrieve it's parent (territory) id. In edit mode I can get through url but for create mode it doesn't exist as a query string.
I want to retrieve that territory id using javascript client api.
Need your valuable suggestion.