AnsweredAssumed Answered

I have a feature class and related table both have relation ship, but when i retrieve data from related table i get RelationshipQuery.js:5 Uncaught TypeError: c.join is not a function

Question asked by dayanidhi1983@gmail.com on Jan 26, 2017
Latest reply on Jan 27, 2017 by dayanidhi1983@gmail.com

Hi,

I am using arcgis javascript 4.1 api.I have a feature class and related table both have relation ship, but when i retrieve data from related table i got

the following error 

 

RelationshipQuery.js:5 Uncaught TypeError: c.join is not a function
at Object.toJSON (RelationshipQuery.js:5)
at Object.executeRelationshipQuery (init.js:2096)
at showRestaurant (Bestaurant11.html:244)
at HTMLAnchorElement.onclick (VM2846 Bestaurant11.html:1)

 

Here is some portion of the code

var  relatedReviews =new RelationshipQuery();

relatedReviews.outFields=["*"];

relatedReviews.relationshipId =0;
relatedReviews.objectIds=feature.attributes.OBJECTID;

queryTask.executeRelationshipQuery(relatedReviews).then(function(relatedRecord){

...................


});

 

please help me how can i solve it?

Outcomes