Can the out of the box widget report be embedded in the client script ? I am not able to do it.
@Evilasdevil Жыл бұрын
Very helpful👍, before I'm not aware of 3 and 4 type widget embedded Can you please show how to pass the value from widget on different page For example Between my task and boardcast page
@SnowExpertRohit Жыл бұрын
Thanks
@NikhilSoni-t6z Жыл бұрын
I am trying alternative way but Its not working can you tell me where I am making mistake. Client Side Script : $rootScope.$on("myData",function(event,data){ $scope.data.action ="setState"; $scope.data.myState = data; $scope.server.update(); }) Server Side Script: if(input){ if(input.action == "setState"){ console.log(input.myState+" value of current state"); var parm = {"table":"incident","fields": "number,short_description,state","filter":"active=true^state="+input.myState}; console.log(parm.filter); data.listWidget = $sp.getWidget("widget-data-table", parm); } }else{ var parm1 = {"table":"incident","fields": "number,short_description,state","filter":"active=true^state=1"} console.log(parm1.filter); data.listWidget = $sp.getWidget("widget-data-table", parm1); console.log("It is coming in !input block and value of parm is"+parm1); }