cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Problem about QueryNamedPropertyHistory

yingziDing
4-Participant

Problem about QueryNamedPropertyHistory

Hi,

I want to export data from a thing's property.

I used the service "QueryNamedPropertyHistory".

I define a service named "GetMyProperty" to pass parameters to the "PropertyNames"  of "QueryNamedPropertyHistory".

Through the above i want to assign the properties which will be exported.

The error is "Unable to Invoke Service QueryNamedPropertyHistoy". It seems that the parameters isn't passed  successfully by the service "GetMyProperty".

003.png

In this picture, you can see that I assign properties in list and add them to the table in the right. The conent in the table was listed by using the service "GetMyProperty".

001.png

This picture will show you the connects about QueryNamedPropertyHistory in the Mashup Builder.

002.png

Wish your help!

1 ACCEPTED SOLUTION

Accepted Solutions
yingziDing
4-Participant
(To:yingziDing)

I have resolved the problem.

The tables display the results of the service "GetMyProperty" and "QueryNamedPropertyHistory" must in the same page.

You can understand what i mean by seeing the picture below.

Original

005.png

006.png

Now

007.png

008.png

View solution in original post

3 REPLIES 3
PaiChung
22-Sapphire I
(To:yingziDing)

are you using name (lower case n) vs. Name in your datashape?

I think it specifically needs name (lower case n)

yingziDing
4-Participant
(To:PaiChung)

004.png

I use lower case n in the datashape.

In the mashup, it appears as a captial N in a table title.

yingziDing
4-Participant
(To:yingziDing)

I have resolved the problem.

The tables display the results of the service "GetMyProperty" and "QueryNamedPropertyHistory" must in the same page.

You can understand what i mean by seeing the picture below.

Original

005.png

006.png

Now

007.png

008.png

Top Tags