Has anyone worked with an SDF Project that contain...
# sdf
c
Has anyone worked with an SDF Project that contains an SSP Application? I have created a working SSP Application in my NS environment and have imported it into my SDF Project through the WebStorm plugin. When I try to validate this project I get the error below.
Copy code
Validation failed.

An error occurred during custom object validation. (webapp_demo_ssp_app)
Details: The folder /Web Site Hosting Files/Staging Hosting Files/SSP Applications/DemoPublisher/DemoApplication/ referenced by the object field appfolder is missing.
Details: The file /Web Site Hosting Files/Staging Hosting Files/SSP Applications/DemoPublisher/DemoApplication/vendorForm.ssp referenced by the object field defaultsspfile is missing.
File: ~/Objects/webapp_demo_ssp_app.xml
This is especially confusing because the directories it's complaining about exist in my file cabinet and within the SDF Project. I can use the
Compare with Account File
command on vendorForm.ssp and it will work just fine.
j
For SuiteScripts and SuiteApps the path needs to be set in the deploy.xml file. Perhaps you also need to set the path for Web Site Hosting Files in deploy.xml?
c
Hi, thanks for the tip. I updated the deploy.xml file and now I'm getting a new error that shows up for each file in the project
Copy code
An error occurred during file validation.
Details: The file or folder in ~/FileCabinet/Web Site Hosting Files/Staging Hosting Files/SSP Applications/DemoPublisher/DemoApplication/Logo.png path must be located in the SSP Applications/<appid> subdirectory of Web Site Hosting Files.
File: ~/FileCabinet/Web Site Hosting Files/Staging Hosting Files/SSP Applications/DemoPublisher/DemoApplication/Logo.png
Do my paths look right?
message has been deleted
If I'm understanding correctly the NS documentation seems to want the apps to be grouped by the publisher ID, but the error says the format should be
SSP Applications/<appid> subdirectory of Web Site Hosting Files