04-14-2010 10:30 AM
Hi All,
Apologies for the newbie question in advance. But I am editing a custom smart part directly in Application Architect (SLX v. 7.2). The change is simple...removing two date/time pickers and replacing with picklists.
So I have updated the .ascx file under: Portal Manager/Sage SalesLogix/SupportFiles/SmartParts. I did a Build Interface and Build Web Platform and then re-deployed. No issues.
But the change isn't showing up on web client. Did I miss any steps?
Thanks in advance.
04-14-2010 05:11 PM
04-15-2010 04:25 AM
I have found that sometimes, if you do not have a pre-compiled site, smartparts are not updated.
What I do then is delete the deployed client and redeploy.
I would also advice you to export your vfs and work locally.
Then you can make changes outside of AA.
Also, if you have a custom smart part, you can do the changes in your deployed web site and copy the changes back into the vfs or exported vfs after everything works fine.
This saves you a build and deploy step.
Regards!
Alexander
04-15-2010 06:25 AM
Hi Alexander and Dan,
Thanks for the suggestions. I'm going to check out the server to which these files are deployed and see what updates (if any) took place and let you know.
Alexander: Your suggestions are very important. I know how to export the VFS. But is there a set of instructions on how to go about doing the following:
1. Creating a local web deployment
2. Linking the exported VFS to that local deployment
3. Updating the smart parts (I assume using Visual Studio)
4. Re-importing the updates back into App Architect
I know that's a lot - but if there's a set of instructions available somewhere then I can just use that as best practices. Please let me know and thansk aofr your help.
04-16-2010 06:28 AM
OK, here is what I do - perhaps not the best, but works fine:
1. Export your VFS to a LFS (Local file system)
2. Install the web host on your dev machine.
3. Build and deploy
A - To your local computer
B - To a dev deployment on your server (thats what I do)
4. If you deployed your slxclient to a dev deployment on a server copy the deployment to your machine.
5. Open the webSite in Visual Studio.
6. Make changes until everything works fine.
7. Optional copy the changed files back to your web server to test again
8. Copy the changed files (no quickforms, but Dlls, custom smart parts css files ..) to your LFS
9. Build and deploy and test
If everything works, just import everything back to the VFS.
We work only with a LFS which we put on a network share so more than one person can access it.
Hope this helps!
Alexander