Module Size Issue

  • 1
  • Problem
  • Updated 11 months ago
  • In Progress
We have around 80 skuid pages in a module in a managed app which we cant bundle into a static resource as we hit the salesforce 5Mb static resource size limit.

Is there any way we can run apex to unpack the module and then a second piece of apex to unpack a second page pack perhaps?

Any ideas.
Photo of David Forder

David Forder

  • 2,624 Points 2k badge 2x thumb

Posted 11 months ago

  • 1
Photo of Bill McCullough

Bill McCullough, Champion

  • 13,542 Points 10k badge 2x thumb
David,

Looks like you can run:
skuid.Utils.PageRefreshResult RefreshPagesFromStaticResource(nameOfStaticResource)

to unpack pages from any static resource.

I found this by looking at the PageList 'page' from Skuid and examining the Static Resource 'SkuidPageListJS'l

Thanks,

Bill



Photo of David Forder

David Forder

  • 2,624 Points 2k badge 2x thumb
Thanks Bill.. I will give it a try! Merry Xmas