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

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

Kinda important. ;)
2
2 votes

Under Consideration ยท Last Updated

Comments

  • Mark DeSimoneMark DeSimone ๐Ÿ› ๏ธ ๏ปฟ
    edited June 25
    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 VachonPat Vachon ๐Ÿ’Ž๐Ÿ’Ž๐Ÿ’Ž
    edited April 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> 
  • edited April 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.
  • edited August 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 VachonPat Vachon ๐Ÿ’Ž๐Ÿ’Ž๐Ÿ’Ž
    edited May 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 DeSimoneMark DeSimone ๐Ÿ› ๏ธ ๏ปฟ
    edited May 2018
    Pat, can you explain which arguments you would expect to see on a table's global action render snippet?
  • Pat VachonPat Vachon ๐Ÿ’Ž๐Ÿ’Ž๐Ÿ’Ž
    edited July 2019
    Standard stuff. The model, component, context, list.
  • Mark DeSimoneMark DeSimone ๐Ÿ› ๏ธ ๏ปฟ
    edited June 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 VachonPat Vachon ๐Ÿ’Ž๐Ÿ’Ž๐Ÿ’Ž
    edited July 2019
    Another client. Same need. :/
  • Arne-Per HeurbergArne-Per Heurberg โœญโœญ
    edited July 2019
    yes please
  • Arne-Per HeurbergArne-Per Heurberg โœญโœญ
    edited July 2019
    Pat do mind sharing how you worked around it?
  • Pat VachonPat Vachon ๐Ÿ’Ž๐Ÿ’Ž๐Ÿ’Ž
    edited July 2019
    No idea which page for which this was for and whether or not I found a work around. :/
  • Arne-Per HeurbergArne-Per Heurberg โœญโœญ
    edited July 2019
    Ok. Thanks anyway. If inspiration hits lmk.
  • Pat VachonPat Vachon ๐Ÿ’Ž๐Ÿ’Ž๐Ÿ’Ž
    edited June 25
    Bump!
Sign In or Register to comment.