question

Henry Lisowski avatar image
Henry Lisowski asked

DisplayPosition Not Set on Store Items

We were trying to use DisplayPosition of StoreItems in our app but it's always coming down as null. When we download the json from the management console we notice it's still null. This seems weird since the UI lets us drag things into a different order, but that apparently doesn't propagate to "DisplayPosition". When we download the json and then modify the 'null' values to be the proper displayposition values, it won't accept an upload of the json file saying "Failed to deserialize". Any help with this would be appreciated, it'd be a lot of overkill to have to do raw http admin calls just to get around this.

game manager
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Seth Du avatar image
Seth Du answered

DisplayPosition property seems to be not used. I have use Postman to test GetStoreItems API and DisplayPosition is not returned in the callback result. However, I have confirmed that the order of the items returned from GetStoreItems API matches the order in Game Manager. Hence, you may directly use the index of “Store” (which is a list of StoreItem Objects).

Please feel free to tell us if you have business impact.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.