question

shivam2020v avatar image
shivam2020v asked

Is there a "UNIQUE ID" in playfab (other than the playfab player id) that can be used as a reference?,Is there a "Unique ID" in playfab (other than the playfab player ID) that can be used as a reference ?

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

·
Montana Tuska avatar image
Montana Tuska answered

I think people will need more as to what you need the UniqueId of. If you need a Unique Id of a player, it's the PlayFabId, if you need one of a server, it's a LobbyId. Need more specifics before anyone could really help.

2 comments
10 |1200

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

shivam2020v avatar image shivam2020v commented ·

I am testing MLAB API using CloudScript. To insert documents into the collections we need to have a unique ID. Is there any Unique ID generator that CloudScript Supports

0 Likes 0 ·
brendan avatar image brendan shivam2020v commented ·

The PlayFab ID for the user is the unique identifier for that user. When creating documents for that user in another database system, like mLab, the best plan is to use the PlayFab ID together with something (game-specific defined values) to specify the document type. There are a variety of index methods you can use in mLab to accomplish this: https://docs.mongodb.com/manual/indexes/.

0 Likes 0 ·

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.