Hey all !! I am trying to bundle my custom extensi...
# suitecommerce
h
Hey all !! I am trying to bundle my custom extension through suite bundler! please help to figure out which file should be selected for bundle my active extension?
m
@Steve Goldberg so should we either go for Bundle, SuiteApp, or SDF?
s
Depends on what you want to achieve
I would advise reading the first few sections of the above page as that will answer some of your questions
m
@humzariaz SuiteScripts > Deploy_Extensions > Your_Extension > Edit > Available for SuiteBundles
@Steve Goldberg I'm reading but a little bit confused on the difference between a Bundle and a SuiteApp. Can you guide on this or point to any reference documentation?
Got it from the SuiteAnswer: Bundles are also known as SuiteApps
f
The advantage of using SDF to build a Suiteapp is huge
SDF projects live on a person's own computer or version control system, and not in NetSuite
h
Thanks For your Guidance !! @Mohammad Sharaf Ali I have created my bundle as you mentioned by enabling the folders availability for suite bundler !! But when I shared my bundle with test acc, facing an error on installation of that bundle. Attached is the ss of the error for your reference! tell me if any of you figure out something from this !! thanks again
m
@humzariaz did you deploy and attach the Extension Bundle script with this SuiteApp? That sample script is located under the SC Extensions bundle.
h
@Mohammad Sharaf Ali Yes I have tried with ExtensionsBundle.js as well as ExtensionsBundleSS2.js As we must have to define execution script in the first step of bundle creation also, I have tried to include script file with the bundle.
m
Check if the path of the custom field
custscript_sc_extmech_api_path
is correctly configured under
companypreferences
.
message has been deleted
h
@Mohammad Sharaf Ali could you plz share the full path scroll left in this text box and share that ss too
m
SuiteBundles 
 Bundle XYZ123 -> ExtensionMechanism -> SDK -> SCExtMechAPI.js
h
Hy Thanks All !! Successfully install the bundle on other accounts @Mohammad Sharaf Ali The issue was in SuiteBundle There was no file exist in Bundle XYZ123 as I found the issue was in bundle update .. it works fine for me After update bundle "SuiteCommerce Extension Management"
m
Great it finally worked for you 👍
1
Creating any new bundle via SuiteBundler does not create the Bundle folder under SuiteBundles. How did you resolve this?
h
@Mohammad Sharaf Ali Bundle folder will update only if you install any new bundle, In my case, I am creating a bundle so it will exist in the Saved Bundles list! but when I install this on other acc it updates my other acc bundle folder
m
I tried couple of times yesterday by creating a fresh bundle but got the following error
EXTMECH_INSTALL_SCRIPT: SCE_BUNDLE_MISSING_FOLDER
h
Could you please share your selected bundle components/objects ?