Allow to link a content item created by a form block to the content document

Description

Background

When using a form block on a content item page, linking the new content item to content item from the page allows to use the content in context, for example when using comments.

Requirements

  • Add a select box field "Link to content item" to the form block form

  • Default value is "Do not link"

  • Other values are the relation names, with the word " relation" added: "Media relation", "Keywords relation"

  • When a relation has been chosen en the form block is submitted, add a relation to the content item, with the active content document as target

Test scenarios

  • Add a form block and choose a relation

  • Submit the form block on a content item page: content item need to be added as a relation

  • Submit the form block on a static page: no item should to be added as a relation, the form block will be submitted succesfully

Visual

(text have been updated in requirements)

Technical tasks

None

Deployment actions

None

Activity

Show:
Michael Jongman
June 29, 2017, 6:23 AM

, kan je deze goedkeuren? Volgens mij moeten deze wel gebeuren..

API
June 29, 2017, 7:09 AM

.Schatting van 4.75 uur is geaccepteerd door Integrated Marijn (in opdracht ingevoerd door Marijn Otte).

Michael Jongman
June 29, 2017, 10:43 AM

, zorg ervoor dat deze en gedeployed worden binnen het issue van de nieuwe inlog van PI

Michael Jongman
June 30, 2017, 8:43 AM
API
June 30, 2017, 9:03 AM

.Notificatie oplevering gestuurd naar Integrated Marijn (marijn@e-active.nl)

Assignee

Unassigned

Client

Integrated Marijn

Sprint

None

Fix versions

Configure