Skip to main content

Hello! I’m trying to add a custom button to my Skuid page, but outside of a page title. I followed this guide pretty closely:

http://help.skuidify.com/m/supercharg…

But when I look at my page it is blank. Upon inspecting the developer console in Chrome, I find the following message:

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check http://xhr.spec.whatwg.org/.

Here’s the javascript I used; again, pretty much the same as the guide above:


skuid.componentType.register('addAssessment', function(element) { var btn = jQuery('New Assessment').button() .on('click', function() { window.open('https://na6.salesforce.com/a21/e?retURL='); }); element.append(btn); }); 

Any advice? Thanks! Eulogio

That error message is pretty standard stuff.  We see it most page loads. 

You should add some console.log statements to your component to see if it is working successfully. 

Are you using the custom component (from the component list) to call this snippett?   How is your snippet set up (Is it Inline Snippet, etc). 

And finally…  Though this seems like a hack.  Why don’t you put a page title where you want your button to be, and simply remove the title and subtitle properties… 


Hi Rob! Yeah I was using a custom component with an inline component snippet. I played around with it a bit, but decided on using a Page Title like you suggested. Thanks! Eulogio


Reply