You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

set_details_object()

If the URL ends with a UUID, Structr tries to find an object by this id. If found, the object can be referenced by the keyword ‘current’.

With the set_details_object() function, one can override the referenced object.

Example: ${set_details_object(first(find('KnowledgeArticle', 'id', '6bb2ec80efc44d64acc8af6bf29fafc4'))}

Search results for "set_details_object()"

set_details_object()

Allows overriding the current keyword with a given entity.

set_details_object(entity)