No arguments included in conditional render snippet for table global action - 9.5.4

Pat Vachon
Pat Vachon ๐Ÿ’Ž๐Ÿ’Ž๐Ÿ’Ž
edited June 25, 2020 in Ideas
As per title.

Kinda important. ;)
2
2 votes

Under Consideration ยท Last Updated

Comments

  • Mark DeSimone
    Mark DeSimone ๐Ÿ› ๏ธ ๏ปฟ
    edited June 25, 2020
    Hi Pat,

    I've looked for what's missing, but need a little more information to find the spot you're referring to, if you wouldn't mind.ย 
  • Pat Vachon
    Pat Vachon ๐Ÿ’Ž๐Ÿ’Ž๐Ÿ’Ž
    edited April 10, 2017
    <skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="true" useviewportmeta="true" showheader="true">     <models>         <model id="Accounts" limit="20" query="true" createrowifnonefound="false" datasource="salesforce" type="" sobject="Account">             <fields>                 <field id="Name"/>                 <field id="Id"/>             </fields>             <conditions/>             <actions/>         </model>     </models>     <components>         <skootable showconditions="true" showsavecancel="true" showerrorsinline="true" searchmethod="server" searchbox="true" showexportbuttons="false" pagesize="10" createrecords="true" model="Accounts" buttonposition="" mode="read" allowcolumnreordering="true" uniqueid="sk-1Ozahe-120">             <fields>                 <field id="Name" hideable="true" uniqueid="fi-1O_5eY-218"/>             </fields>             <rowactions>                 <action type="edit"/>                 <action type="delete"/>             </rowactions>             <massactions usefirstitemasdefault="true">                 <action type="massupdate"/>                 <action type="massdelete"/>             </massactions>             <views>                 <view type="standard"/>             </views>             <actions defaultlabel="Global Actions" defaulticon="sk-icon-magic" usefirstitemasdefault="true">                 <action type="multi" label="This Has a Render Snippet" icon="sk-icon-add">                     <actions/>                     <renderconditions logictype="and">                         <rendercondition type="fieldvalue" operator="=" enclosevalueinquotes="true" fieldmodel="Accounts" sourcetype="snippet" nosourcerowbehavior="deactivate" sourcesnippet="renderSnippetHere"/>                     </renderconditions>                 </action>             </actions>         </skootable>     </components>     <resources>         <labels/>         <javascript>             <jsitem location="inlinesnippet" name="renderSnippetHere" cachelocation="false">var params = arguments[0],  $ = skuid.$;  console.log(params);</jsitem>         </javascript>         <css/>     </resources>     <styles>         <styleitem type="background" bgtype="none"/>     </styles> </skuidpage> 
  • Stephen Sells
    edited April 11, 2017
    I have been able to reproduce this issue. Thank you for bringing it to our attention. We'll update as soon as a fix is presented.
  • Neil
    edited August 17, 2017
    Hi,ย 
    I noticed this was still not working in 10.0.4 for table row actions as well, any news on this as it seems to make working out what row you are on impossible
  • Pat Vachon
    Pat Vachon ๐Ÿ’Ž๐Ÿ’Ž๐Ÿ’Ž
    edited May 25, 2018
    Yup. Forgot I had reported this back in April of last year. Rediscovered this little gem. Can you please rectify this ASAP.

    The workaround is a real pain. Way more code and super hacky.
  • Mark DeSimone
    Mark DeSimone ๐Ÿ› ๏ธ ๏ปฟ
    edited May 25, 2018
    Pat, can you explain which arguments you would expect to see on a table's global action render snippet?
  • Pat Vachon
    Pat Vachon ๐Ÿ’Ž๐Ÿ’Ž๐Ÿ’Ž
    edited July 14, 2019
    Standard stuff. The model, component, context, list.
  • Mark DeSimone
    Mark DeSimone ๐Ÿ› ๏ธ ๏ปฟ
    edited June 11, 2018
    Pat - I wanted to close the loop on this, and let you know this has been surfaced to our product team.ย We don't have any roadmap details, but it makes sense that you'd want to provide the snippet some contextual information about the conditionally rendered element in question.ย 
  • Pat Vachon
    Pat Vachon ๐Ÿ’Ž๐Ÿ’Ž๐Ÿ’Ž
    edited July 14, 2019
    Another client. Same need. :/
  • Arne-Per Heurberg
    Arne-Per Heurberg โœญโœญโœญโœญ
    edited July 14, 2019
    yes please
  • Arne-Per Heurberg
    Arne-Per Heurberg โœญโœญโœญโœญ
    edited July 14, 2019
    Pat do mind sharing how you worked around it?
  • Pat Vachon
    Pat Vachon ๐Ÿ’Ž๐Ÿ’Ž๐Ÿ’Ž
    edited July 14, 2019
    No idea which page for which this was for and whether or not I found a work around. :/
  • Arne-Per Heurberg
    Arne-Per Heurberg โœญโœญโœญโœญ
    edited July 14, 2019
    Ok. Thanks anyway. If inspiration hits lmk.
  • Pat Vachon
    Pat Vachon ๐Ÿ’Ž๐Ÿ’Ž๐Ÿ’Ž
    edited June 25, 2020
    Bump!
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!