Hello,
we have created an entity from type "event", so we have a parent-field by default. Normally the value of this field is setted by formula:
01: ifThenElse(entity\isNew() && parentId == null, parentType = 'Meeting');
02: ifThenElse(entity\isNew() && parentId == null, parentName = entity\attributeFetched('meeting.id'));
03: ifThenElse(entity\isNew() && parentId == null, parentId = entity\attributeFetched('meeting.id'));
All looks ok. In the detail-view and in the list- view you see the name of the parent. But if we click on the link we get an 404 error. The link includes the name instead of the record-id. If we set the parent value manually, the link contains the record-id (the name will be shown). I've tried o lot of formula variants: with and without line 2 (see above), use of meeting_id and meetingid instead of meeting.id , use with and without subformula entity\attributeFetched. All tries have the same result: the content will be shown but the link isn't working. Can you help us?
we have created an entity from type "event", so we have a parent-field by default. Normally the value of this field is setted by formula:
01: ifThenElse(entity\isNew() && parentId == null, parentType = 'Meeting');
02: ifThenElse(entity\isNew() && parentId == null, parentName = entity\attributeFetched('meeting.id'));
03: ifThenElse(entity\isNew() && parentId == null, parentId = entity\attributeFetched('meeting.id'));
All looks ok. In the detail-view and in the list- view you see the name of the parent. But if we click on the link we get an 404 error. The link includes the name instead of the record-id. If we set the parent value manually, the link contains the record-id (the name will be shown). I've tried o lot of formula variants: with and without line 2 (see above), use of meeting_id and meetingid instead of meeting.id , use with and without subformula entity\attributeFetched. All tries have the same result: the content will be shown but the link isn't working. Can you help us?
Comment