Commit a7743bf82979a2343722349e855b8e0544c88a22

Authored by Ahmed Owian
1 parent 6f79e7896d
Exists in master

Updated controller and descriptor file to use userId argument

share-amp/src/main/resources/alfresco/web-extension/site-webscripts/org/alfresco/skype/skype.get.desc.xml
... ... @@ -3,5 +3,5 @@
3 3 <description>Skype Integration</description>
4 4 <family>Share</family>
5 5 <format default="json" />
6   - <url>/skype</url>
  6 + <url>/skype?userid={userId}</url>
7 7 </webscript>
8 8 \ No newline at end of file
... ...
share-amp/src/main/resources/alfresco/web-extension/site-webscripts/org/alfresco/skype/skype.get.js
1 1 function main()
2 2 {
3   - var profileId = args.userid;
  3 + var profileId = args.userId;
4 4 if (profileId != null)
5 5 {
6 6 // load user details for the profile from the repo
... ...