Back

No Clue for Creating Documents with Relationships from SDK - [React Native]

  • 0
  • Databases
  • Web
0xabdulkhalid
29 Dec, 2023, 16:59

Hi everyone, I'm going through a weird situation where i can't map relationships for documents while creating it using Web SDK. But i can create a document with an option to select a relation from available attribute records. Unfortunately there's no clue on Appwrite's official documentation.

My concern is to create a new document and want to provide it's relationship attribute ID from the Web SDK instead of creating it on Appwrite Console.

Your feedback regarding this issue are welcome, thank you!

TL;DR
OP is asking for help with creating documents with relationships using the Appwrite SDK in a React Native app. They are struggling to find documentation on how to do this and are looking for guidance. They have already created a relationship in the console but need help creating a document with a linked attribute from the relationship collection. Solution (if available): It is unclear if a solution is provided in the thread.
0xabdulkhalid
29 Dec, 2023, 17:02

@Steven can you share you thoughts regarding this issue ?

Drake
29 Dec, 2023, 17:23

No need to ping. Just wait for anyone to respond

0xabdulkhalid
30 Dec, 2023, 02:50

Yeah I read that and I have already created a relationship, now my concern is to create a document with link to it's any of the attribute from it's relationship collection.

0xabdulkhalid
30 Dec, 2023, 02:52

Sorry to ping you, I will follow your suggestion hereafter.

0xabdulkhalid
30 Dec, 2023, 02:57
Drake
30 Dec, 2023, 05:15

What do you mean by:

with link to it's any of the attribute from it's relationship collection.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more