Skip to content
Snippets Groups Projects
Commit ce70c115 authored by Martin Bilda's avatar Martin Bilda
Browse files

1060809 - added function getWebUrl for choosen Teams

parent fc6a2b82
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,7 @@ if(teamIdAndName)
{
var [teamId, teamName] = JSON.parse(teamIdAndName);
var channelId = teams.getGeneralChannelId(teamId);
var webUrl = teams.getWebUrl(teamId);
var mstTeamId = newSelect("MST_TEAMID")
.from("MST_TEAM")
......@@ -26,7 +27,8 @@ if(teamIdAndName)
"MST_TEAMID" : teamId,
"TEAMNAME" : teamName,
"GENERAL_CHANNELID" : channelId,
"IS_ARCHIVED" : 0
"IS_ARCHIVED" : 0,
"WEB_URL" : webUrl
}, "MST_TEAM");
}
newWhere("SALESPROJECT.SALESPROJECTID", "$param.SalesprojectId_param").updateFields({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment