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!
|
|
Smartpart design changes in application architect not reflecting in browser.
Posted: 30 May 08 7:06 AM
|
hi
I add a smartpart called AddEditPropertyCharge,in that i add a control in existing design and build it in AA. When i view in browser,it is working fine and new controls are visible.Then i removed the control from the AddEditPropertyCharge and again view in browser.But the removed control is again visible.
Pls tell me what may be the reason?
Ulaga |
|
|
| |
| |
|
Re: Smartpart design changes in application architect not reflecting in browser.
Posted: 30 May 08 7:16 AM
|
If you reopen the smartpart you are working on, does it reflect the new control not being there? If so do a Ctrl+Build to do a full rebuild. It might not have detected your change for some reason. Then, delete the Smartparts folder in your deployment path (e.g. C:\inetpub\wwwroot\slxclient\smartparts), and redeploy. This directory will then get fully recreated by what is the VFS.
If the control is still there when reopening the smartpart in AA, remove the control again and resave the form...and do the above again... |
|
|
|
Re: Smartpart design changes in application architect not reflecting in browser.
Posted: 30 May 08 9:15 AM
|
Nick ,i made all the changes what you told.But again when viewing the output the removed control is appearing there.My Sage Apps is configured in VSS2005.
I have another doubt also,i am creating a smartpart called AddEditPropertyCharge in PropertyCharge Entity.In VFS, what are the related files get's created and in which folder of VFS.
I solved my problem,by doing undocheckout the file in VSS2005 and again checkout.Then the control is not appearing in browser. but it is not the correct way.
Ulaga |
|
|
|
Re: Smartpart design changes in application architect not reflecting in browser.
Posted: 30 May 08 9:25 AM
|
What does my Sage Apps is configured in VS2005 mean? It shouldnt be configured in there, all config should be done in AA.
They will get created under the quickforms area of the entity in the VFS. WHen you build and deploy they will go to the smartparts\propertycharge folder in inetpub...
You checked the file out so when you were redeploying it couldnt overwrite the fiel as VSS has obviously locked the file. I wouldnt use VSS with AA - just back up the virtualfilesystem table at regular intervals - this is a much easier and foolproof way of backing things up. |
|
|
| |
|
Re: Smartpart design changes in application architect not reflecting in browser.
Posted: 30 May 08 10:17 AM
|
Ah, weve had a few issues using it with VSS so now we all just log into directly to the VFS in the database (not a local copy). Just ensure you are not working on the same forms and there are much less issues working this way (we found). This method has improved a lot since 7.2.0 thats for sure!! |
|
|
| |
|
Re: Smartpart design changes in application architect not reflecting in browser.
Posted: 02 Jun 08 3:02 AM
|
Hmm, have never looked at the help topic so dont know if its even there!
Yes as many people as you like can work on the VFS at the same time, but be careful not to work on the same templates or there will be issues (as there is any multi user development environment) - but in SLX 7.2 it is slightly more sensitive to this issue as its a bit more complex than most apps in this respect.
To add an exsiting smartpart...build and deploy the website. Then open up the vfs, go to supportfiles and the dir you require, right click and add existing files...browse to C:\inetpub...to your deploy path and pick up the quickform that will have been placed following your last build deploy. You can now use the quickform as a custom smartpart, which in my opinion is way more flexible than a quickform 
There should be an option on the left hand tree (project explorer) there should be the oiption of VFS on YOURLOCALCONNECTIONNAME, this is your direct link to the db VFS, not a local one. If you use this then you are now logging directly into (and affecting the vfs).
I always recommend backing up the virtualfilesystem table regularly as well, in case of any corruptions 
There is more to this though, like adding it to the main .aspx page, but im not going into that now....go on the dev training course  |
|
|
| |
| |
|