Prior to installing my project in FB8, I moved all my User Variables - most are persistent - to the Project Variables list. I then opened the FB7 project in FB8 and saved it as an FB8 file. All the old User variables are present in the Project variables list in FB8. However, although file FBPersistentVars.xml is in folder C:\Users<username>\AppData\Roaming\FinalBuilder8 (and has all the FB7 User persistent entries therein), the project doesn’t show the old (FB7) User persistent variable values in a Enhanced Prompt for Variables action when running the project in FB8; old persistent Project variable values are shown as normal. How do I get my FB7 persistent values back?
Using FB 8.0.0.1520 with W10.
Regards…Andrew
Sorry Andrew we are a little confused as to what your experiencing. Let me know where my understand is missing the mark.
You have updated a FinalBuilder 7 project to FinalBuilder 8. Prior to that all User variables were moved to Project level variables. Most of these variables had persistent values. On using the project under FinalBuilder 8 the persistent values are not being displayed.
Does this match up to what your experiencing?
Yes, that’s it exactly.
Regards…Andrew
It looks as though the persistent values associated with the User variables weren’t also moved across when moving the User variables list to the Project variables list in FB7, as I see that those DefaultValues aren’t in the new ProjectName.fbp8 file. I guess the values in FBPersistentVars.xml aren’t also moved across to the Project variables list when ‘Move to Project’ is used? If so, I guess I will just have to re-enter all the values in the FB8 project?
Regards…Andrew
'as I see that those DefaultValues aren't in the new ProjectName.fbp8 file.'
I see that that comment is incorrect as it is the Default not the Persistent values which are stored in that file. I can't actually see where Persistent values are stored? If it is also (as in FB7) in FBPersistentVars.xml, then I guess there may be an issue here?
Regards...Andrew
When the FinalBuilder 8 project is run, does the last persisted value get loaded for the variable in question? Testing it here I performed the following;
1. Created a FB 7 project with a user variable that is persistent.
2. Ran the FB 7 project to have the variable value persisted.
3. Moved the FB 7 project variable from user to project grouping.
4. Opened the FB 7 project in FB 8 and ran.
The result was that the persisted value was loaded by FB 8 and used for the variable.
If your still having issues please send us the FB 7 project prior to its changes, and the updated FB 8 project. This will give a clearer picture as to what is occurring for you. You can send them to support@finalbuilder.com.
Thanks Jason, projects sent as requested, Also the persistentvariables.xml file as I presume you need that?
Regards…Andrew
Hi Jason,
Further testing reveals that User variables persistent values aren't moved to the Project variable list in FB7 when using 'Move to Project'; hence FB8 doesn't see them. I'll be interested to see if it works for you with my projects. BTW, I'm using FB 7.0.0.3486.
Regards...Andrew
Thanks Andrew.
I have been able to reproduce the issue and have sent you a new build.
Hi Jason,
That update to FB7 seems to do the trick. However, I get the error shown in Error1.png ( sent by email as I can't save a png file here) when I try to save the FB7 project to FB8. Any ideas?
Regards...Andrew
To help others: The problem was with the TMS UpdateBuilder action. I had to load the actiondef in FB8's action studio and fill in the serialization ID field, and the save it into the FB8 Actiondefs folder.
Thanks to Jason & Vincent.
Regards...Andrew