-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Mapping context fields.
Could it be an idea to map context fields if 'mapping field does not exist'?
For example, if I map
title title
And if EasyForm title does not exist => title = context.title
Some kind of checking, for title this works:
if "id" in mappings and mappings["id"]:
title_or_id = mappings["id"]
elif "title" in mappings and mappings["title"]:
title_or_id = mappings["title"]
elif context.title:
#use title or some other field
title = context.Title()
mappings["title"] = title
title_or_id = title
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels