As MS Doc shows, I can use the function 'RetrieveAllEntities' to get all entity metadata, but this function returned too much content, what I wanted is just some properties like 'logical name, display name, IsIntersect etc, and with condition "RetrieveAsIfPublished=false", I tested this parameter, seems not working, whatever I give it to 'true' or 'false', an unpublished entity returned always. and this function is low performance.
As I searched, EntityDefinations can be used to retrieve entity metadata also, and I can build $select by myself to get the properties I want. and I did it. it works
Now the only question left is, How to know an entity I retrieved is published or not though 'EntityDefinations'? because I don't want get the entities which not published yet.

Report
All responses (
Answers (