Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, November 22, 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: What is the use client setup or installable file during development.
Mallikarjun
Posts: 32
 
What is the use client setup or installable file during development.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Jul 08 4:21 AM
Hi,

We have got SalesLogix Black berry product. I am trying to install all the setup copies provided and create development envirnment ready for development. I was wondering what is the use of this Client setup copy named "SalesLogixMobileBlackBerryClient.exe" during development because we will be using architect model to make any changes in the code, build and deploy. Finally we will be using the .Cod file created from architect after building to run on emulator. So can anybody help me understanding the use of this "SalesLogixMobileBlackBerryClient.exe" file during setuping the envirnment.

Thanks in advance
[Reply][Quote]
Mark Dykun
Posts: 297
 
Re: What is the use client setup or installable file during development.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 Jul 08 7:33 AM
Though you are using the Architect to create, compile and deploy your customizations, you may want (I suspect so) test and debug using the simulator. To do so you will need the runtime components that would be installed in a sub folder (there are 5 cod files i believe) that need to be copied into your simulator folder and the core Jars and one RIM JDE jar file needs to be copied into your library folder for successful compilation.

- Mark
[Reply][Quote]
Mallikarjun
Posts: 32
 
Re: What is the use client setup or installable file during development.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 Jul 08 11:40 PM
Thanks Mark.
So to run application on simulator we need some runtime components. After installing Client.exe i got some 7 .cod files and no jars are present with this. After installing architect i got 5 jar files which are present in lib/blackberry/imports folder. Now can you please tell me in bit detail how to use these .cod files and jar files to run application on simulator. Once i make a build from architect, i get one .cod file named "SageBusinessBase.cod".

I have only built not deployed application on enterprise server. Is it not possible for me to see atleast first screen on simulator on deploying?

Mallikarjun
[Reply][Quote]
Mark Dykun
Posts: 297
 
Re: What is the use client setup or installable file during development.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 Jul 08 7:35 AM
Mallikarjun,

The cod files need to be copied into th Simulator directory as well as the SageBusinessBase.cod. You will need the MDS simulator up and running for data communication. Once both of these things are done you can run the appropiate device simulator by locating its .bat file. You should see the Sage Mobile icon on the BB device and can start the application and configure it from there.

- Mark
[Reply][Quote]
Mallikarjun
Posts: 32
 
Re: What is the use client setup or installable file during development.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Jul 08 1:30 AM
Mark,

I have copied all 7 .cod files which i got from client installation into simulator folder. copied SageBusinessbase.cod which i got after building from architect into simulator. started MDS simulator. Lastly i started device simulator 7290. I could see the Sage mobile icon on the BB device simulator but when i started it gave NullPointerException. Should i make any setting for MDS simulator before i start it because i just started it ny finding MDS icon in startmenu without making any settings?

I have not deployed application on Enterprise server.

Mallikarjun
[Reply][Quote]
Mark Dykun
Posts: 297
 
Re: What is the use client setup or installable file during development.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Jul 08 5:35 AM
Shouldn't get a null pointer there. Seems strange try a simulator of a newer device and let me know whar happens.
[Reply][Quote]
Mallikarjun
Posts: 32
 
Re: What is the use client setup or installable file during development.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Jul 08 1:35 AM
Mark,
I tried with another 7520 simulator. In this simulator, application is not even installing i.e i am not seeing any sage icon in the simulator. I have edited 7520.bat file by adding a command to copy the SageBussinessbase.cod file. "Copy "C:\Program Files\SalesLogix\Architect\Compiled\31DF8642-626D-4641-9A09-AF74E3A32D35\SageBusinessbase.cod" "C:\Program Files\Research In Motion\BlackBerry JDE 4.1.0\simulator\SageBusinessbase.cod". this command i got from the ducument given along with product.
I am understanding how to proceed on this.
Shouold client and enterprise server be on same system?
Is deployment of application required to get first screen on simulator.
Your advice on this would be of great help to me.

thanks in advance

Mallikarjun
[Reply][Quote]
Mark Dykun
Posts: 297
 
Re: What is the use client setup or installable file during development.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Jul 08 7:36 AM
The copy statement is used for quick and dirty moving of the customization cod file into the simulator directory. It allows you to skip a step when it comes to round tripping a sync. I if you are not seeing the application at all on the 7520 I would try removing the .dmp files created specifically for that simulator. If that does not work ensure that the version of the client works on that device. Generally I will only work with the 80+ series of BlackBerry devices.

Mark
[Reply][Quote]
Mallikarjun
Posts: 32
 
Re: What is the use client setup or installable file during development.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Jul 08 4:26 AM
I have tried removing .dmp files for both 7290 and 7520 simulators and started afresh still it deos not work.
In documents provided with the product soecify only about copy statement if we running on simulator. Is there any other way to install and run on simulator. I have not install desktop manager and desktop addin in the system. i guess these are used in while installing on actual device am i rt mark?
If there is other way of installing on simulator please help me.
Now i have deployed the application on enterprise server and copied SageBusinessBase.cod into simulator folder and lastly launching simulator using 7290.bat file. All other 7 .cod files generated from client installation are also placed in simulator folder.

I am not understanding how to move forward.

Thanks
mallikarjun
[Reply][Quote]
Mark Dykun
Posts: 297
 
Re: What is the use client setup or installable file during development.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Jul 08 6:25 AM
The .dmp files are the runtime image of the simulator. Each of the cods are required in the simulator directory so that they can be located. I have always just copied them in and ran the associated batch file (8700, 8730, 8800). I can only assume that the version of the JDE you are using is not compatible or something else has gone wrong in the setup of the application as there is not much to getting the client to run in the simulator. Perchance did you take training?

Mark
[Reply][Quote]
Mallikarjun
Posts: 32
 
Re: What is the use client setup or installable file during development.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Jul 08 7:13 AM
Hi Mark,

I could get first screen of the client app on simulator. The problem was with operating system. Previously JDE was installed in Windows XP now tried by installing it in windows 98 server. it worked and able to get first 2 to 3 screens. Now i am not able to sync data with the server from simulator and no documents talk about it. Can you please suggest me how to proceed on this.

Thanks
Mallikarjun
[Reply][Quote]
Mark Dykun
Posts: 297
 
Re: What is the use client setup or installable file during development.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Jul 08 7:29 AM
Sorry, but I used XP for many years and successfully used the simulator. The fact that it is on windows 98 to me does not make much sense. I do not even know that it is a supported OS. To sync data you will need the MDS services started. Sorry but I am going back to the 'have you gotten any developer training' question. It seems like you are trying to do all this without any details. If you are a BP I know that Sage has some videos that you can get if you subscribe to the online training. Otherwise I would greatly suggest getting some as developing for the mobile platform is not like scripting in the lan client, or even developing for the web. It is a totally different thing.

Mark
[Reply][Quote]
Mallikarjun
Posts: 32
 
Re: What is the use client setup or installable file during development.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Jul 08 1:25 AM
Hi Mark,

As you specified a am undergoing Sage developer online training.
I am facing some problem in writing a validaiton code for particular field which i have created.

I have created new tab with one new field in Contact form.New field is added from a new table which is associated with contact table(1:1 relation with Contact table). Now i want to wirte code for validating this field not to be left empty and show an alert to user if it is empty. I am not understanding in which part of the code i should write this validation code. (I mean in which java class). Even i tried to see the code for existing validation alerts like "First Name is missing" or "Last Name is missing". I didnt get any hint in the java classes provided.

I didnt find any training video in Sage University trainings which talk about java coding for validation or alerts. i guess this training videos doesnt cover much about coding.
[Reply][Quote]
Mallikarjun
Posts: 32
 
Re: What is the use client setup or installable file during development.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Jul 08 1:26 AM
Hi Mark,

As you specified a am undergoing Sage developer online training.
I am facing some problem in writing a validaiton code for particular field which i have created.

I have created new tab with one new field in Contact form.New field is added from a new table which is associated with contact table(1:1 relation with Contact table). Now i want to wirte code for validating this field not to be left empty and show an alert to user if it is empty. I am not understanding in which part of the code i should write this validation code. (I mean in which java class). Even i tried to see the code for existing validation alerts like "First Name is missing" or "Last Name is missing". I didnt get any hint in the java classes provided.

I didnt find any training video in Sage University trainings which talk about java coding for validation or alerts. i guess this training videos doesnt cover much about coding.

Thanks
Mallikarjun
[Reply][Quote]
Mallikarjun
Posts: 32
 
Re: What is the use client setup or installable file during development.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Jul 08 4:44 AM
Hi,

I could add client validation for empty field using mobile architect itself by setting the "required" property of a field to true. Suppose i want to add customized alerts other then this empty field how to do that through coding. Please suggest me on how i should proceed.

Thanks
Mallikarjun
[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/22/2024 4:06:10 PM