Hello everyone, I would like to know how I can upload a very light file onto a player's data. Essentially this will be a 1KB file that will store some game information(save game material). I saw something about this in the documentation but I couldn't really figure it out as I would like to achieve this in Unreal Engine 4 Blueprint.
https://api.playfab.com/documentation/Data/datatype/PlayFab.Data.Models/PlayFab.Data.Models.InitiateFileUploadsRequest
I would greatly appreciate any help.
Answer by SethDu · Apr 04, 2019 at 08:11 AM
I am not sure how familiar are you with Blueprint. after the login, to call InitiateFileUploads API, you will need at least 2 properties which is Entity and FileNames in the request. Entity is a JSON Object that Blueprint doesn't directly support, but it includes in PlayFab SDK.
I have made 2 samples for you.
Thank you Seth, where would you actually declare what file to upload?
the File Names in the API request is names of the files that will be stored in the player's account. A URL will be generated for uploading file in the OnSuccess callback.
Use that URL and select the files you want to upload. Basically it is a Blueprint question and in fact I am not expert in Blueprint. I believe you can find more information on Unreal Engine Documentation website.
Will play around with it more to see how it works. Much appreciated Seth
GetUserData doesn't return values 1 Answer
Custom data from the catalog item is not returned correctly. 1 Answer
Size Limit to CustomData on CatalogItems? 1 Answer
Getting Group Members With Their User Data 1 Answer
Shared Secret Key Usage 2 Answers