Hi! I am currently trying to implement a Salesforce JS button into my Skuid page. The reference fields in the URL are not pulling dynamically and I was wondering what the correct format would be or if I need to create new variables in my code. (I am not JS savvy).
Original SF button code:
var u = "https://www.toutapp.com/pitches/new?name={!Contact.Name}&email={!Contact.Email}&salesforce_contact_id={!Contact.Id}}&force_bookmarklet=true&style=salesforce";
var w = window;
w.open(u,'Tout','scrollbars=1,status=1,width=762,height=' + ( w.screen.height < 970 ? w.screen.height : 970))
Skuid reference Fields:
model: SelectedAccountContacts (Name, Email, Id)
Any thoughts??
Original SF button code:
var u = "https://www.toutapp.com/pitches/new?name={!Contact.Name}&email={!Contact.Email}&salesforce_contact_id={!Contact.Id}}&force_bookmarklet=true&style=salesforce";
var w = window;
w.open(u,'Tout','scrollbars=1,status=1,width=762,height=' + ( w.screen.height < 970 ? w.screen.height : 970))
Skuid reference Fields:
model: SelectedAccountContacts (Name, Email, Id)
Any thoughts??