Variable data in button onselect

  • Variable data in button onselect

    Posted by Larry Heimendinger on September 13, 2022 at 4:53 pm
    • Larry Heimendinger

      Member

      September 13, 2022 at 4:53 PM

      I have a SharePoint list that has a column for button label and one for button action.Ā  I used this list to create a collection and then the collection to create a gallery, including a button.Ā  I set the text property to be the label and that works as expected.Ā  However the onselect does not.Ā  Nothing happens when I click the button.

      I can create a standalone button and specifyĀ Launch(….)and that works fine.Ā  If put that command in a list row/column then reference it in the button onselect as ThisIte.Action nothing happens when the button is clicked.Ā  I also tried just the app ID in the list and the reset of the Launch command as string values in the onselect (I used & to combine the strings with ThisItem.Action in the correct place but also no luck).

      The ThisItem.Action evaluates ok but it does not seem to be effective for a button onselect.Ā  Does anyone know if onselect can take variables for a button?Ā  Really destroys a great design approach I am trying to take.

      Thanks

      ——————————
      Larry Heimendinger
      larry@techevents.com
      EverettWA
      ——————————

    • Warren Belz

      Member

      November 10, 2022 at 9:04 PM

      Hi Larry,
      What is the content of ThisItem.Action? If it is a string with “Launch( . . . )” this will not work – you cannot dynamically specify commands like this.?

      ——————————
      Warren Belz
      Queensland Australia
      ——————————
      ——————————————-

    • Larry Heimendinger

      Member

      November 13, 2022 at 3:39 PM

      I already found out that dynamic data can’t be resolvled in a command like this.Ā  Thanks for responding.

      ——————————
      Larry Heimendinger
      larry@techevents.com
      EverettWA
      ——————————
      ——————————————-

    Larry Heimendinger replied 3 years, 1 month ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

The discussion ‘Variable data in button onselect’ is closed to new replies.

Start of Discussion
0 of 0 replies June 2018
Now

Welcome to our new site!

Here you will find a wealth of information created for peopleĀ  that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!