Speedrun: Your First Ontology Function - Linked Objects not present [Help Needed]

Hello - New to foundry and going through these Deep Dive courses. I have hit a dead end in the named Deep Dive course, found under the App Developer track. I hope that someone can assist in identifying where I went wrong and get my back on track.

In the Create a Function-Backed Variable section of the course within the Add Ontology Object References, the objects available to me do not contain the linked objects as in the course examples.

I tried moving forward with only the two available objects, but when moving to the next step, Add Code to Your Repository, I am getting 7 errors referencing the Objects that are in the course examples.

All validations passed and it was installed successfully without issue.


Hi,

regarding the 1st error (“Module … has no export member ‘Clinic’”), since your object type has the prefix “[Mruiz]”, after importing the object type, you should use the API name “MruizClinic” which is shown here–

Same goes for the 2nd error (note that when using Objects.search(), it is not exactly the API name, but when you type out “Objects.search().” there should be prompts showing you a list of the available object types (based on the object types you imported into the repository) you can search.

Hope this can help you :slight_smile:

Jamie

2 Likes

@Jamie - This worked. I don’t think that I would have figured it out on my own.

I think I was stuck not having the linked objects illustration as in the course and should not have been focused there only. It seems like a simple task error that was literal, and I was reading too much into.

Thanks for your time and patience. Much appreciated.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.