#Guys is this possible or not in the current app?...

6 messages · Page 1 of 1 (latest)

tall shoalBOT
#

Guys is this possible or not in the current app?

I want to import .json.

image_src has Image interface. With import I get message "invalid input syntax for type uuid" because when file is imported seems that it's not going through FileService?.

Just so you know, we have moved your message here, @azure forge. In future, please ask questions in one of the help channels as per the server rules.

@chilly pivot was the person who moved it, so if there's aditional context, they will add it here for you.

#

Thanks for posting! This is a community powered server, so you may or may not get an answer based on available help and expertise. To increase your chances of somebody being able to help you, please help us help you making sure you:

  • Adding an explanation of exactly what you're trying to achieve.
  • Adding any and all related code or previous attempts.
  • Describing the exact issue or error you are facing.
  • Posting any screenshots if applicable.
  • Reading through https://stackoverflow.com/help/how-to-ask.

When you're done with this thread, please close it. Thanks! ✨

(If you have a support agreement and need help, please contact the core team via email.)

chilly pivot
#

If you are importing a file or image via url you have to do that before you can reference it in other collections.

That’s why it’s asking for the uuid.

#
  1. Import the file
  2. Get the uuid from the response
  3. Pass uuid in your relational field (looks like ‘image_src’ here)
#

If you don’t want to actually import the file to your Directus instance - you could also just change the field type to string