Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, November 25, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Administration Forums - Mobile/PDA/Handhelds
Forum to discuss use of SalesLogix with mobile devices including SalesLogix mobile and other mobile solutions. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Mobile/PDA/Handhelds | New ThreadView:  Search:  
 Author  Thread: Need to add a folder to the SlxMobile deployment
Marcos Orfila
Posts: 40
 
Need to add a folder to the SlxMobile deploymentYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 May 13 10:57 AM


Hi,


 


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


 


Example folder:


C:\inetput\wwwroot\SlxMobile\Bin


 


How/where should I add this new "Bin folder in the Model so it gets deployed to the SlxMobile folder?


 


Regards,


 


      Marcos


 


[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Need to add a folder to the SlxMobile deploymentYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 May 13 12:36 AM
fiogf49gjkf0d

A bin folder, and DLLs in the bin folder, are server-side code. The mobile client is a 100% client-side app. Written 100% is Javascript. It is not possible to add server-side components to the mobile app.


Is there something specific you're trying to achieve? Maybe I can suggest an alternate route that would fit with the SLX mobile architecture.


Ryan

[Reply][Quote]
Marcos Orfila
Posts: 40
 
Re: Need to add a folder to the SlxMobile deploymentYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 May 13 8:49 AM

Hi Ryan,


I added a handler to the SlxMobile website (I can't use SData for this). This handler is called from the javascript code. The handler requires some DLL's, which I added to the "Bin" folder. Placing the handler file in the "products\argos-saleslogix" works fine (i.e. it's copied to the deployment folder). The "Bin" folder does not get copied.


Regards,


      Marcos

[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: Need to add a folder to the SlxMobile deploymentYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 May 13 11:01 AM
fiogf49gjkf0d

Marcos:


  What version of the Mobile Client are you using? And/or how are you adding your Customizations to it?


 


  In some of the older versions, you need to add the folder and files right under the Support Files folder for the SLX Mobile portal.


  On the newer versions, I would suggest you add your own Module file and include your folder and file there. It will be built and deployed.


 


Ryan:


  I have used a similar approach to Marcos in the past. I have a DLL that is not SLX Dependant, and it queries Weather Services on the Web. On the Mobile Cient, I added an AJAX call to an .ASHX file that I hosted on the SLX Mobile site, which then utilized my DLL component. I don't think that this necessarily breaks the way that the Mobile portal is supposed to work, but indeed the case can be made that these files could be deployed to a separate portal.

[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Need to add a folder to the SlxMobile deploymentYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 25 May 13 12:28 AM

Adding a handler should be ok. To get the bin (and files inside) to deploy you need to modify the release.jsb2 file. See this article for details: http://customerfx.com/pages/crmdeveloper/2013/04/16/bundling-and-deploying-saleslogix-mobile-customizations.aspx

[Reply][Quote]
Marcos Orfila
Posts: 40
 
Re: Need to add a folder to the SlxMobile deploymentYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 May 13 8:22 AM

Thank you Ryan! That worked perfectly.


I added the following lines to "resources" section of the "release.jsb2" file: 


resources: [

....

{

    src: '../Bin',

    dest: 'Bin',

    filters: ".*\\.*"

}]


That way, the "Bin" folder and its content was copied to the deployment folder.


Regards,


      Marcos



[Reply][Quote]
Marcos Orfila
Posts: 40
 
Re: Need to add a folder to the SlxMobile deploymentYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 May 13 10:42 AM


Now I see that the filterr should be "filters: ".*". The former fiilter works fine only for files with an extension.


[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/25/2024 7:22:30 PM