the config/container.js is:

    "supportedFields" : {
       "person" : ["id", {"name" : ["familyName", "givenName",
"unstructured"]}, "thumbnailUrl", "profileUrl"],
       "activity" : ["id", "title"]


I konw  how to detect id、thumbnail_url、profile_url,use:

var id = env.supportsField
(opensocial.Environment.ObjectType.PERSON,opensocial.Person.Field.ID);

and detect name use:
var name = env.supportsField
(opensocial.Environment.ObjectType.PERSON,opensocial.Name.Field);

but who can tell me how to detect  name:familyName、
name:givenName,name:unstructured using supportsField methods.

because my gadget server's container only implement name:unstructured.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial Application Development" group.
To post to this group, send email to opensocial-api@googlegroups.com
To unsubscribe from this group, send email to 
opensocial-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to