I'm trying to move over the extensions to the 2024...
# suitecommerce
c
I'm trying to move over the extensions to the 2024.1 but now I get a internal error on a servicecontroller just retrieving a random custom list using nlapiSearchRecord
Copy code
var sdOrigin = nlapiSearchRecord(
         "customlist_sd_origin",
         null,
         [new nlobjSearchFilter("isinactive", null, "is", "F")],
         [new nlobjSearchColumn("name")]
       );
Basically nothing special, and yes the custom list does exist and the search itself is functioning fine within NetSuite. What could be wrong? The moment I comment this search, my internal error disappears and the page is loading like it should
a
Is the Customer Center role your suitecommerce users have on their Access, set to have the needed List permissions?
c
I see the old version had elevated permissions enabled. Re-enabling those on the new servicecontroller fixed this issue
👍 1
s
Unfortunately, one of the limitations of service files in extensions is that you need to elevate permissions each time you deploy.