Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-99844

Provide a new field type in the data engine form builder so that a form can have a field that links to an existing page



      This features will allow a webcontent author to add links to pages. This is done by allowing authorized users adding the field "Link To Page" in the webcontent structure definition.

      This feature was existing in previous version and needs to be re-done in current version. 


      WEM & DM Requests

      The Link to Page Field Type:

      • Ability to define a Field Label;
      • Ability to Hide/Show the Label;
      • Ability to set as Required or not;
      • Ability to define the Name of the field;
      • Ability to set a Predefined Value;
      • Ability to define a Tip for the field;
      • Ability to set the Localizable and Indexable options;
      • Ability to set as "Repeatable";

      Behavior on tab 'Structures' (builder): (2d)

      • Define field properties; 
      • User interaction is not allowed; 

      Behavior on tab 'Web Content' : (6d)

      • Select Button that opens a modal; (1d)
      • Modal with 2 tabs: Public Pages / Private Pages and both of them list pages; (2d)
      • The page lists have infinite scrolling by 20 entries; (3d)

      Behavior on sites: (2d)

      • Show field Label; 
      • Show text as a hyperlink;

      Acceptance Criteria

      • Given a developer using the Data Engine to create an application, when the user is defining the Data Definition, then he should be able to include a link to page field type in the Data Definition;
      • Given a developer using the Data Engine to create an application, when the user is defining a link to page field in the Data Definition, then the Data Engine must give him the option to define all configurations for the field as DDM does;
        • Including the option to see and choose the public and private page that should be linked.
      • Given a Data Definition that has a Link to Page Field type, when the user decides to render it using the taglib, then the Link to Page Field type rendered should give the users the same options to access and be redirected to a page through a link as DDM does;

      Definition of Done (DoD):

      • All Acceptance Criteria were passed;
      • Make sure that the expected automated tests were created (unit / integration / functional) and passed successfully;
      • Verify if the test labels were added;
      • Code with peer review completed;
      • Validated by QA, Product Designer and/or PM;
      • No critical bug related to Story scope (ex.: similar of FP4, FP5);
      • Make sure that all system documentation were updated (if necessary)

      Test Scenarios

      Test Scenarios Test Strategy Kind of test Is it covered by FrontEnd ? (JS-Unit) Is it covered by BackEnd ? (unit or integration)
      Can defined field properties of Link to Page field Smoke Manual TBD TBD
      Can not interact with Link to Page field during creating a Structure Regression Manual TBD TBD
      Can select Public Pages or Private Pages in WC with Link to Page field Smoke Manual TBD TBD
      Can redirect to the linked page via click the link of Link to Page displayed in WCD Smoke Manual TBD TBD
      Can set Predefined Value for Link to Page field Sanity Manual TBD TBD


        Issue Links



              jorge.ferrer Jorge Ferrer (Inactive)
              eduardo.zoby Eduardo Zoby (Inactive)
              SE Support SE Support
              Kiyoshi Lee Kiyoshi Lee
              0 Vote for this issue
              0 Start watching this issue




                  Version Package