Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

Highlighted
Employee
Employee

QVS API Support

This is not an object that's specifically a part of the API code - it's .NET behavior. You haven't defined that generic object lists should be of the type List<>, but Array[]. Array[] does not have .Add, but List<> does.

If you got to the Solution Explorer > (Project) > Services References > (QMS backend) > right click > Service Reference Settings.. > Collection type. Set this to "System.Collections.Generic.List" instead. You might need to re-build the solution for this (Ctrl+Shift+B).

You could as well use Array[] if you are more comfortable with that, but in my opinion it will only limit usage of API object lists, since List<> is a very powerful enumerable collection.

Not applicable

QVS API Support

Thanks, that worked!

I´m sorry, i´m a newby at C#, and i´m doing my best to get this to work.

Now, after changing that, when i start debugging, the instance of the BackEndClient throws me an error:

No se pudo cargar una sección de configuración de extremo para el contrato 'QMSBackendService.IQMSBackend' porque se encontró más de una configuración de extremo para dicho contrato. Indique la sección de configuración de extremo preferida por nombre.

All i´m doing is: QMSBackendClient Client = new QMSBackendClient();

Thanks

Pablo

Employee
Employee

QVS API Support

What does your app.config contain?

Not applicable

QVS API Support

In the solution explorer, right-click the service reference to the API service and choose Configure Service Reference. Under Data Type, change the Collection Type to System.Collections.Generic.List

Not applicable

QVS API Support

In the solution explorer, right-click the service reference to the API service and choose Configure Service Reference. Under Data Type, change the Collection Type to System.Collections.Generic.List

Employee
Employee

QVS API Support

?

Not applicable

QVS API Support

I fixed the app.config.

For some reason, there were some lines duplicated.

Thanks for your help.

Pablo

Not applicable

QVS API Support

I'm also interested in the documentation for the management api. I can't find any documentation about the individual calls, parameters or results. Supposedly, everything that's available from QEMC is in the api but I haven't found anything for the list of user sessions and the documents that they have open.

Employee
Employee

QVS API Support

Every method, with parameter setup and expected return values and types in the QMS backend client is documented in the .chm help file which can be downloaded from the QEMC. Go to System > About, click on the node "Management Service" (top node) and you'll see the documentation link. If you download the file from a remote server, as in not localhost, make sure that you open the properties for the .chm file and click "Unblock" before opening it, otherwise pages in the file will be blocked, since it is not trusted if downloaded from a remote location.

Not applicable

QVS API Support

Stefan, it seems like you know what you're talking about. Do you know how I can get the reload schedule for a document? I can get the Tasks for a document and I can see when the task was started and finished, but I need to see how it's scheduled.

I've asked in a previous post, but didn't receive any helpful answers.

Thanks

Community Browser