Topic
  • 4 replies
  • Latest Post - ‏2013-10-23T13:58:04Z by kal
kal
kal
42 Posts

Pinned topic How to get Teamspace object while doing add document

‏2013-10-18T14:33:50Z |

Hi All,

I am trying to access the teamspace object while doing adddocument but the request only contain template name & repository id . IS there a way I can acces the teamspace object. Any help is much appreciated.

Thanks

Kal 

  • BJOwings
    BJOwings
    185 Posts

    Re: How to get Teamspace object while doing add document

    ‏2013-10-18T20:18:02Z  

    In looking with firebug it appears that the teamspace is passed in on the addItem posted request using workspaceId.   Check for that parameter.

  • kal
    kal
    42 Posts

    Re: How to get Teamspace object while doing add document

    ‏2013-10-22T14:07:08Z  
    • BJOwings
    • ‏2013-10-18T20:18:02Z

    In looking with firebug it appears that the teamspace is passed in on the addItem posted request using workspaceId.   Check for that parameter.

    Hi Brian,

    I am using EDS as needed some validation for the properties. With EDS i can see request only contains the template_name & RepositoryId. I am not sure how would i get the workspace id in request parameter.

    Thanks

    Kal

  • BJOwings
    BJOwings
    185 Posts

    Re: How to get Teamspace object while doing add document

    ‏2013-10-22T18:50:05Z  
    • kal
    • ‏2013-10-22T14:07:08Z

    Hi Brian,

    I am using EDS as needed some validation for the properties. With EDS i can see request only contains the template_name & RepositoryId. I am not sure how would i get the workspace id in request parameter.

    Thanks

    Kal

    I understand now.   It isn't available to EDS.  If it were it would be in clientContext in the JSON request.  We have desktop id, user id and locale there, but it looks like we didn't have the foresight to predict teamspace would be needed.

  • kal
    kal
    42 Posts

    Re: How to get Teamspace object while doing add document

    ‏2013-10-23T13:58:04Z  
    • BJOwings
    • ‏2013-10-22T18:50:05Z

    I understand now.   It isn't available to EDS.  If it were it would be in clientContext in the JSON request.  We have desktop id, user id and locale there, but it looks like we didn't have the foresight to predict teamspace would be needed.

    Hi Brian,

    Thanks for your quick reply. Looks like I am stuck here. Do you think this can be resolved sometimes near future. Or didn't hv the scope at all? I think its the plugin.jar and may be java script need changes.

    Thanks

    Kal