Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
ozcano
Contributor III
Contributor III

QlikSense RestClient No overload for method 'Put' takes 1 arguments

Hello

Using combination of QlikSense RestClient and .NET SDK, I have been able to make copy of an app, then changed the load script, then reloaded the new application. Now I want to publish new app.

ozcano_1-1707471874699.png

Unfortunately last line in the above picture (also copied below) gives compile error: No overload for method 'Put' takes 1 arguments. I do not know what to give as second argument.


var val2 = restClient.Put<JObject>($"/qrs/app/{newAppId}/publish?stream={streamId}&name={appName}");

Your helps will be appreciated

Regards, Ozcan

 

Labels (1)
  • API

1 Solution

Accepted Solutions
Øystein_Kolsrud
Employee
Employee

You can just provide the empty string as body. There is an example for how to publish apps available here:

https://github.com/kolsrud/qlik_rest_sdk/blob/master/Qlik.Sense.RestClient/Examples/PublishApp/Progr...

View solution in original post

2 Replies
Øystein_Kolsrud
Employee
Employee

You can just provide the empty string as body. There is an example for how to publish apps available here:

https://github.com/kolsrud/qlik_rest_sdk/blob/master/Qlik.Sense.RestClient/Examples/PublishApp/Progr...

ozcano
Contributor III
Contributor III
Author

Thanks