We are having an issue with our pages where we cannot run CRM webapi calls when we have the "Use Website Header and Footer" option on the Page Template toggled off. We have it off due to numerous major conflicts between the default power pages content and the custom bootstrap theme we are utilizing. We have tried a few different solutions including those offered in these two forum posts to no avail:
https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/414980/power-apps-portal-web-api-shell-is-not-defined
https://powerusers.microsoft.com/t5/Power-Apps-Portals/Powerapps-portal-Web-API-Wrapper-Says-shell-is-not-defined/td-p/1474328
Is there any effective method to acquire specifically the file(s) for defining shell so we can manually load them in and avoid conflicts with the header. The api calls do work with the header/footer turned on, however it would place us in a similar situation of needing to disable a bunch of the javascript/jquery files that come with and conflict with our custom theme.