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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Mashup widget extension - infotable datashape is not in correct order

FredSilva92
5-Regular Member

Mashup widget extension - infotable datashape is not in correct order

Hello everyone,
I'm developing a thingworx widget extension and i was trying to build a table based on an infotable returned from a certain service.

When the service returns the infotable data, the datashape is not ordered as i defined on the thingworx datashape.

The below image represents the datashape that i created:

FredSilva92_0-1588937207116.png

 

And the service returns, on widget extension, this order:

FredSilva92_1-1588937245747.png

 

I want to receive original order from datashape.

Is there a way to fix this problem?

 

Thank you

Best regards,
Frederico Silva

1 ACCEPTED SOLUTION

Accepted Solutions
FredSilva92
5-Regular Member
(To:Constantine)

Hi Constantine,

Sorry for the later answer.
Yes, i found that ordinal property that you mentioned the it fixed the problem.

Thank you very much for your answer.

View solution in original post

8 REPLIES 8
slangley
23-Emerald II
(To:FredSilva92)

Hi FredSilva92.

 

Which version of ThingWorx are you running?  We'll need to investigate.  Can you also provide your extension?

 

Regards.

 

 

--Sharon

FredSilva92
5-Regular Member
(To:slangley)

Hi Slangley,

Thank you for your answer. 

 

I'm using ThingWorx 8.5.0-b12 version.

Unfortunately, i cannot provide my extension. Sorry about that.

slangley
23-Emerald II
(To:slangley)

Hi @FredSilva92.

 

You should consider upgrading to the latest patch release of the product.  A number of bugs have been addressed since the release of 8.5.0.

 

We'll try to do some testing to see if we can recreate the issue.

 

Regards.

 

--Sharon

FredSilva92
5-Regular Member
(To:slangley)

Ok i will consider that,
Thanks Sharon

Hello @FredSilva92,

 

Datashape fields have ordinal property, maybe it can help ordering them?

 

Regards,
Constantine

FredSilva92
5-Regular Member
(To:Constantine)

Hi Constantine,

Sorry for the later answer.
Yes, i found that ordinal property that you mentioned the it fixed the problem.

Thank you very much for your answer.

slangley
23-Emerald II
(To:FredSilva92)

Hi @FredSilva92.

 

If one of the previous posts answered your question, please mark the appropriate one as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon

 

FredSilva92
5-Regular Member
(To:slangley)

Hi Sharon,

Sorry for later answer,

yes, i've already marked as accepted solution.

Thanks

Top Tags