Eric Schultz
04/12/2024, 12:57 PMeminero
04/12/2024, 2:45 PMEric Schultz
04/12/2024, 2:53 PMeminero
04/12/2024, 2:57 PMEric Schultz
04/12/2024, 3:04 PMSteve Goldberg
04/12/2024, 3:42 PMeminero
04/12/2024, 3:55 PMconfig.json
, if you need to execute a specific service(s) with a specific role, in that way every time you deploy and activate, that would be performed automatically.Steve Goldberg
04/12/2024, 4:06 PMSteve Goldberg
04/12/2024, 4:06 PMeminero
04/12/2024, 4:10 PMConfiguration/setting.json
but the manifest.json
is the right one.
"elevatedPermissions": {
"files": [
{path: "Modules/Main/SuiteScript/MyService1.js" role: roleId1},
{path: "Modules/Main/SuiteScript/MyService2.js" role: roleId2},
{path: "Modules/Main/SuiteScript/MyService3.js" role: roleId3},
]
}
Something like the above.Eric Schultz
04/12/2024, 4:57 PMSteve Goldberg
04/12/2024, 5:00 PMEric Schultz
04/12/2024, 5:01 PM"assets": {
"img": {
"files": []
},
"fonts": {
"files": []
},
"services": {
"files": [
"services/StudentProgram.Service.ss"
]
}
},
'permissions": {
"roleid": 15,
"isenabled": true,
"runWithoutLogin": false
}
"configuration": { ...
Steve Goldberg
04/12/2024, 5:02 PMEric Schultz
04/12/2024, 5:02 PMSteve Goldberg
04/12/2024, 5:02 PMEric Schultz
04/12/2024, 5:03 PMSteve Goldberg
04/12/2024, 5:03 PMEric Schultz
04/12/2024, 5:03 PMSteve Goldberg
04/12/2024, 5:03 PMEric Schultz
04/12/2024, 5:03 PMSteve Goldberg
04/12/2024, 5:03 PMSteve Goldberg
04/12/2024, 5:04 PMEric Schultz
04/12/2024, 5:04 PMEric Schultz
04/12/2024, 5:06 PM"suitescript2": {
"files": [
"Modules/StudentProgram/SuiteScript2/Student.Model.js",
"Modules/StudentProgram/SuiteScript2/StudentProgram.Service.ss",
"Modules/StudentProgram/SuiteScript2/Student.Address.Model.js",
"Modules/StudentProgram/SuiteScript2/StudentProgram.Address.Service.ss"
],
permissions: [
false,
{"roleid": 15,"isenabled": true,"runWithoutLogin": false },
false,
false
]
}
Eric Schultz
04/12/2024, 5:27 PMeminero
04/12/2024, 6:24 PMcustomer center
role and the ideal scenario is that you create your own role for the specific data you want to access. After the file creation the dev tools should check the path and then see what was the role setup, I'm assuming they will be able to figure it out the file id haha. thanks guys!