Hi @Suraj_Patil ,
I think your question contains a few points , so possibly as timely reasons, we can split in some subpoints and handle each answer in separate posts (inside this topic)
So here I want to discuss the report itself. You mentioned that it outputs csv file. So believe when the user will complete the required task after work in Thingworx (mashup) then the user can generate the report and export it to csv. So then in Vuforia Studio when you want simple to display the csv file which is already generated then you can save it to Thingworx File repository and form there load it to Vuforia Studio via LoadText file repository service and then read it via JavaScript where you can parse the csv format to different values
But I think you intention is different - you want to generate the report in Vuforia Studio . This means in this case it will not make sense to load and parse a csv file.
So what you need is to display the data from Thingworx. This is too general , but without knowledge of the TWX data I have no idea how to display it. When it is a table then you can use a repeater or dataGrid widgets (what unfortunately is not working in the current version but is already fixed , please, see https://community.ptc.com/t5/Vuforia-Studio/Data-Grid-Widget-Appears-to-not-be-working/td-p/869073 ) . alternatively you can use gauge , label etc... widget which will display the TWX data (binding in Expernal data or call of twx service)
You can link the same Thingworx services what you use already in the Thingworx mashup (So in your case the Experience Project will try to implement an UI which corresponds to your mashup. In Studio External data services , you can call your TWX service which will create the end report , - so the report is created then in Thingworx and you can then export it from there , but as mentioned you can call the twx services form Vuforia Studio.
In Studio UI you can also perform some user permissions checks by calling TWX resources ->CurrentSessionInfo.GetCurrentUser() to check the current user ,User Group checks and other admin services, from TWX (referring to PTC Article https://www.ptc.com/en/support/article/cs306223 )
So the general call of TWX service could be via binding to buttons and to data from the external area but also you can use JavaScript . Here is an example. When the service should retrieve data , because the call of the TWX service is asynchronous you need also to define a "<yourService>-complet" event)
Example:
$scope.testTwxService=function(){
var TWXmodelID = 'CurrentSessionInfo';
var serviceName = 'GetActiveUsers';
var data = {};// this is json but here is empty , no data will send
twx.app.fn.triggerDataService(TWXmodelID, serviceName, data);
};
//handle the retrived data
$scope.$root.$on('GetActiveUsers-complete', function(event, args) {
console.log("GetActiveUsers-complete event");
console.log("name="+event.name)
let retObjData= args.data;
console.log("obj---> returned")
console.warn(retObjData);
})