Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Expression in Sense and Engine API give different results

Hi all,

so, I've got an app, and if I add a 'text & image' object and set the text as using a measure as '=ReloadTime()', I get this:

26/08/2014 08:38:47.

However, when using the engine API, using the 'CreateSessionObject' method, I supply this parameter fragment:

"params": [{

            "reloadTime": {

                "qStringExpression" : "=ReloadTime()"

            },

            "qInfo": {

                "qId": "",

                "qType": "Listbox"

            }

        }]

When I examine the result using a 'GetLayout' call, I get the result as follows:

9/1/2014 1:19:40 PM

I can't really explain the difference since the expression is the same. It's not a format issue, since the dates and times are completely different.  Any ideas?

Thanks a lot for looking,

Shane.

1 Solution

Accepted Solutions
Not applicable
Author

The change in dates looks like you have done a reload between your tests, is this the case?

Does the measure have any special formatting applied to it?

View solution in original post

3 Replies
Not applicable
Author

Is it the same app? or the same client machine?

Not applicable
Author

The change in dates looks like you have done a reload between your tests, is this the case?

Does the measure have any special formatting applied to it?

Not applicable
Author

Sorry I've not replied - I'm on holiday at the moment, and have just checked my machine.

It is the same app, and the same client machine.  They were the details the other day...

However, as I've restarted my machine and restarted things completely, the data is now the same.

thanks for your replies though.

Shane.