Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Cynicszm
Partner - Contributor II
Partner - Contributor II

QlikSense SDK 16.5.0 Date Format

Hi,

I am using the QlikSense .NET SDK 16.5.0 from a .NET 7 C# application.

I would like to change the serialiser settings so that all the incoming date string formats are in a consistent format e.g. YYYY-MM-DD HH:mm:ss but I have no idea how to set it. For example the LastReloadTime string should be in YYYY-MM-DD HH:mm:ss format

e.g. https://help.qlik.com/en-US/sense-developer/August2023/Subsystems/NetSDKAPIref/Content/Qlik.Engine.I...

 

Current snippet

 var location = Location.FromUri( new Uri( "https://www.qliksense.com") );

/** Authenticate then get the hub**/
var hub = await location.HubAsync();
var apps = await hub.GetAppListAsync();

 foreach ( var app in apps )
 {
    Console.WriteLine($"Title: {app.Title}, Last Reload: {app.LastReloadTime}");
 }

 

Any suggestions appreciated.

Thanks

 

 

 

 

 

Labels (1)
2 Replies
Øystein_Kolsrud
Employee
Employee

I'm pretty sure that's not possible. That endpoint is simply a wrapper for this one in the engine API:

https://help.qlik.com/en-US/sense-developer/August2023/Subsystems/EngineJSONAPI/Content/service-glob...

That in turn simply calls an endpoint in the Repository. And anyway, it's good practice to call endpoints in the repository for getting that type of information instead of going through the engine. Like this one:

https://help.qlik.com/en-US/sense-developer/August2023/APIs/RepositoryServiceAPI/index.html?page=767

Cynicszm
Partner - Contributor II
Partner - Contributor II
Author

Thank you for the reply.

I will have a look at the engine API.