Adding items to numbered list using Create

I want to achieve this but getting a little bit of a problem:

  • End User can add an item in a number list by clicking a button.
  • He can choose Product Family from the drop down (Page Selector).
  • And after that whatever he wrote in Product Name gets imported to the list under the Product Family Selected.

DOUBT.PNG

I tried using Create Action but with that first a number gets inserted which later I had to edit to achieve the functionality. What I really want is that what user types it gets added on clicking of the button without any manual editing. 

 

Please Help!

 

Best Answer

  • prabhu
    Answer ✓

    Hi @Vaibhav,

     

    I have a solution without using a Create button.

     

    1. So you have a Parent list(Product - Non-Numbered List) and

        Child List (Sub Product - Numbered List) and 1 property(Display Name - Text Format).

     

    2. Create a Module (Module A) with Parent list(Product - Non-Numbered List) as Dimension. and Line Item - Product Name(Text - Format) and Product Code(Text - Format)

     

    Capture.JPG

     

    3. Create a Module (Module B) with Parent list (Product - Non-Numbered List) as Dimension. Line Item - Blank(no data - format)

     

    Capture1.JPG

     

    4. Create an action - Import into Child List from Module A

     

    Capture2.JPG

     

    5. Create an Action - Import into Module A from Module B (the reason for this Action is to, clear Existing inputs in the dashboard so that new inputs can be written after the action is executed)

     

    Capture3.JPG

    6. Create a Process(Import into List) - (Put Step4, Step5 actions in this order)

     

    7. Publish into Dashboard (Parent list(Product - Non-Numbered List) - Page Selector, 

                                                Module A,

                                                Process - Import into List

     

     

    Capture4.JPG

     

     

    8. After the Action is Executed

     

     

    Capture5.JPG

     

     

    Hope it helps

     

     

     

    Thanks,

    Sorna Raja Prabhu

Answers

  • Hi @Vaibhav 

     

    You have already used number list to create a new product using " Create". There is an option under create action to assign the parent as well. It would be better to use this option to create a new product under Product family.

    you can try below steps:

    1.  Create one system module with product dimension( which is your number list) and one line item " Product Name"

    Screenshot_117.png

    2. Create one property "Display name" in your Product list and set as display name

    Screenshot_118.png

    Make sure Display name format should be text

     

    3. Write a formula for Display name

    IF ISBLANK(SYS_Create New Product.Product Name) THEN "Please enter a Product name" ELSE SYS_Create New Product.Product Name.

    4. Use " Create" option to create a new product under Action tab.

    Screenshot_116.png

    Now when you create a new product through this action one pop-up will come to assign the parent

    Screenshot_119.png

    Select the parent and click on ok

    Now you can enter whatever the product name it will reflect as well in the list.

    Screenshot_120.png

     

    Hope this help!

    Thanks

    Akhtar

     

     

     

  • Hi @prabhu 

     

    Thanks for the solution. It Worked, but still it is showing one error can you help me out with that. It is inserting but still showing one error:

     

    1.PNG 

  • Hi @Vaibhav,

     

    Don't Worry much about the errors.

    This error is because of we have mapped 1 parent only rest 4 parents are not mapped.

     

    I am trying for a new solution will let you soon.

     

    Thanks,

    Sorna Raja Prabhu