Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  I need to add Plus button into my application

    Posted 16 days ago

    Hello, 

    I'm creating a new application for Locations and I need to add Plus (Add) button into top right corner in Locations list. I've tried many solutions but none of them worked. This Plus button would create a new Location and add it into Locations list. I will be glad for every advice how to make it work. 

    Kind regards



    ------------------------------
    Vojtěch Šustek
    ------------------------------


  • 2.  RE: I need to add Plus button into my application

    Posted 16 days ago

    Hello Vojtěch,

    Once the new application is created, you would need to enable create/add access for the application in Security Group Application. Logout and login once you make the changes in security group. You would be able to see the plus button for the application to create new location 



    ------------------------------
    Tinnokesh AP
    ------------------------------



  • 3.  RE: I need to add Plus button into my application

    Posted 16 days ago

    Is it a "List" Tab of a power app like the original locations app, or just a single page app with a table like Conditional Expression Manager?

    If it's a power app, then you add a sigoption called INSERT as Tinnokesh says, and then add it to the toolbar using Add/Modify Toolbar Menu, and grant it in security groups. It has to be called INSERT as that will call the INSERT method on the bean class. The bean class should be on your app xml - e.g.

    <presentation beanclass="psdi.webclient.beans.location.LocationAppBean" id="locationlist" mboname="LOCATIONS" orderby="location" resultstableid="results_showlist" version="7.1.0.0">

    If it's a single page one then you would use a button group and push button control on the page itself, and use the mxevent addrow.



    ------------------------------
    Paul Irving
    Chief Product Officer
    BPD Zenith Global Group
    ------------------------------