0

As the title says,

When I try to modify and APP on a site with a custom CSS registered with CSSRegistration:

<SharePoint:CssRegistration name=”<%$SPUrl:~SiteCollection/Style Library/~language/Themable/icapapp.css%>” runat=”server” EnableCssTheming=”true” />
I get the error shown in the title (Exact error as an attachement)

So.. you can get around this on premises by utilising _layouts for me which is bad practice as you never know what an update will include and besides this on 365 so is a no go area. Or of course you don’t use custom themeable css… Which totally lets down the whole themeing concept.

Recap:

  • Masterpage on main site has custom themeable css registered WORKS
  • Add an App and configure
  • App Properties page doesn’t load CSS due to cannot make cache safe URL error
  • It is automatically trying to append the hive/~language url to the front
  • Could this be a publishing error? SPUrl insufficient in this case?
  • Due to site-appid.sharepoint.com address it is attempting to resolve using relative url?

?id=6614983%3AUploadedFile%3A63812

(Visited 57 times, 1 visits today)
Add a Comment