Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
frank_bossuyt
Partner - Contributor
Partner - Contributor

powertools => QMS API client => GetQVSDocumentsAndUsers

Hi all,

when I use the API request 'GetQVSDocumentsAndUsers' from the QMS API Client I get following error, can anyone help me?

System.InvalidOperationException: Syntax Error:

c:\Users\xpw.dev01\AppData\Local\Temp\3\0mh1v5cw.0.cs(1,155) : error CS1056: Unexpected character '`'

c:\Users\xpw.dev01\AppData\Local\Temp\3\0mh1v5cw.0.cs(1,155) : error CS1514: { expected

c:\Users\xpw.dev01\AppData\Local\Temp\3\0mh1v5cw.0.cs(1,155) : error CS1519: Invalid token '`' in class, struct, or interface member declaration

c:\Users\xpw.dev01\AppData\Local\Temp\3\0mh1v5cw.0.cs(1,168) : error CS1519: Invalid token '{' in class, struct, or interface member declaration

c:\Users\xpw.dev01\AppData\Local\Temp\3\0mh1v5cw.1.cs(1,149) : error CS1056: Unexpected character '`'

c:\Users\xpw.dev01\AppData\Local\Temp\3\0mh1v5cw.1.cs(1,149) : error CS1514: { expected

c:\Users\xpw.dev01\AppData\Local\Temp\3\0mh1v5cw.1.cs(1,149) : error CS1519: Invalid token '`' in class, struct, or interface member declaration

Source:

namespace QMSAPIClientProvider110 { [System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))] public class StringList`1Dictionary {  public override string ToString() { return "Dictionary<String, List<String>>"; } } }

namespace QMSAPIClientProvider110 { [System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))] public class List`1 {  public System.Int32 Capacity { get; set; } public System.Int32 Count { get; set; } public System.String Item { get; set; }    public override string ToString() { return "List<String>"; } } }

   at QMSAPISupport.CodeGeneration.PropertyGridWrapperObjectGenerator.CompileWrapperObjects(String[] sourceList)

   at QMSAPISupport.CodeGeneration.PropertyGridWrapperObjectGenerator.GetWrapperObject(Object obj, Type objType, IDictionary`2& typeMapping, Boolean asReadOnly)

   at QMSAPISupport.DataObjects.AnyObject.UpdateWrapperObject(Type wrapperType)

   at QMSAPISupport.DataObjects.Response..ctor(MethodInfo method, Object[] parameters, Object returnValue)

   at QMSClient.Forms.MainForm.ExecuteThread(Object inParam)

4 Replies
andy
Partner - Creator III
Partner - Creator III

Hi,

I'm getting the same error. Did you solve it?

QV11 SR2

/Andy

StefanBackstrand
Partner - Specialist
Partner - Specialist

Can you guys replicate this in the API with code, without the QMS API Client? If so, it's a API bug that needs to be reported. I just want to eliminate that this issue is in the QMS API Client.

andy
Partner - Creator III
Partner - Creator III

Hi Stefan,

This was my very first try with the QMS-API and therefore I started with the client from the Powertools before coding anything, My mission is to query the QVS from a Java based web-portal which users are using Qlikview at the moment.

I guess it is a very small and simple one once you know how to do it but it will take me some time.

Do you have a code-example to run the above function-call, C# would be enough for testing, (Java would be perfect)?

/Andy

andy
Partner - Creator III
Partner - Creator III

Hi again,

It works with code so it looks like a bug in the QMS API Client.

/Andy