Updated the process for retrieving records from CRMServiceRequests
This commit is contained in:
@@ -4,7 +4,8 @@ const { loadApplication } = require("./support/application.cjs");
|
||||
const { response } = require("./support/characterization.cjs");
|
||||
|
||||
function setup(fetch) {
|
||||
const app = loadApplication("content", { fetch });
|
||||
const app = loadApplication("content", { fetch: (url, options) => options.method === "GET"
|
||||
? response({ items: [{ savedSearchNumber: "dynamic-sr-search" }] }) : fetch(url, options) });
|
||||
app.currentUser.allowsCrmActivities = () => true;
|
||||
app.opportunitiesQueryState.periodRequestVersion = 1;
|
||||
app.debugContentView.renderDebugPanel = () => {};
|
||||
|
||||
Reference in New Issue
Block a user