Showing results for 
Search instead for 
Do you mean 
Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Reply
Highlighted
Copper Contributor
Posts: 56
Registered: ‎02-22-2012

Need to add a folder to the deployment

Hi,

 

I need to add a "Bin" folder to the depoyment, so I can have some DLL's available for my handler in the SlxMobile website.

How/where should I add the folder so it gets deployed to the SlxMobile folder?

 

Regards,

 

      Marcos

 

Highlighted
Copper Contributor
Posts: 56
Registered: ‎02-22-2012

Re: Need to add a folder to the deployment

I'm using SLX 7.5.4

Highlighted
Bronze Super Contributor
Posts: 129
Registered: ‎06-09-2009

Re: Need to add a folder to the deployment

Don't recall 7.54 exactly. In some 7.5  versions you were able to just added under Support Files and it got deployed.

 

If that doesn't work, then add it to your Project and let it get Built and deployed.

Raul A. Chavez
http://raul.chavez.com
http://www.crmbi.com
Highlighted
Copper Contributor
Posts: 56
Registered: ‎02-22-2012

Re: Need to add a folder to the deployment

Thanks Raúl.

 

Here's how I did it:

In the build file (e.g. "Model\Portal\SlxMobile\SupportFiles\source\products\argos-saleslogix\build\release.jsb2"), I added a resource to copy the folder:

 

                resources: [
                ....
                {
                    src: '../Bin',
                    dest: 'Bin',
                    filters: ".*"
                }]

  

In the example, the folder "Model\Portal\SlxMobile\SupportFiles\source\products\argos-saleslogix\Bin" and its content will be copied to the deployment folder during the deployment process.

 

Regards,

 

      Marcos