Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
17 replies
Subscribers
7 subscribers
Views
4993 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi all, I am trying to import an application built in 7.11 into a 7.1
rachelz585
over 8 years ago
Hi all,
I am trying to import an application built in 7.11 into a 7.10 environment. I modified the MANIFEST.MF file to read 7.10.0.0. When I try and import my application I get several errors like the following:
An error occurred while creating content [uuid=391064b3-1c32-4113-9ee9-31c064301330]: java.lang.IllegalArgumentException: Invalid TestData object specified: TestData [TestDataId [objectUuid=391064b3-1c32-4113-9ee9-31c064301330, objectVersionId=33451, objectType={http://www.appian.com/ae/types/2009}ContentFreeformRule], testData=TypedValue[it=2141,v={{{{<null>,reportNames},{TypedValue[it=3,v=],chosenRptName},{TypedValue[it=1,v=<null>],index},{TypedValue[it=3,v=],chosenRptObjConfig},{TypedValue[it=1,v=<null>],flag},{<null>,reportNamesLabels},{<null>,searchFilterList}}}}]] (APNX-1-4071-007)
Does anyone have an insight to this problem?
Much thanks,
Rachel
OriginalPostID-214138
OriginalPostID-214138
Discussion posts and replies are publicly visible
0
chetany
A Score Level 1
over 8 years ago
@sikhivahans, If you are importing to older version of Appian, and you have used few functions/Appian functionality in your application which are not present in the old version, you need to remove/modify those. This is likely to work if the difference between the two Appian versions is not huge. (It is likely to work easily from 7.8 to 7.7)
By removing/modifying I mean, either find some way to keep that functionality but use functions which are compatible with older version also. For this you may need to do some modifications in your application. This will however not work if your application has some features which can be implemented only in new version of Appian. So, in that case your only option is to remove that functionality from the application to be able to import to old Appian env. For example: WebAPI cannot be imported to old versions. So, for application import to succeed on old version, you will need to remove the WebAPIs from your application when exporting.
For the a!queryProcessAnalytics() function, you will need to replace it with the code which uses Portal to SAIL Plugin. Then you can use it on old version also.(Of course you will have overhead of deploying the plugin for that from forum). Also, you will effectively need to maintain redundant code - one code which uses portal to SAIL plugin(for old Appian version), other which uses a!queryProcessAnalytics() for newer version. This is certainly an extra overhead, but it will help in porting applications to slightly older versions.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 8 years ago
@chetany Thanks, that's my understanding. Personally I am not quiet comfortable with the approach but it's really good to know that it's possible with modifications in the objects or source xml.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Paul Mayeur
Appian Employee
over 8 years ago
There is more to import than the objects in the zip. We also edit databases (but business and internal). You are asking to cause a lot of problems by importing backwards. There is a reason we block it.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
rachelz585
over 8 years ago
Luckily, in this case, the application is heavily based on plug-ins and mostly uses Appian functions that have been in place for several versions, so I have not encountered any major problems :)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Myles Weber
Appian Employee
over 8 years ago
Paul is exactly right. You have created a situation where your client's deployment will not be supported anymore. You are introducing issues which can't be undone.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
daniellev628
over 8 years ago
As an FYI - this has been addressed; no clients impacted and was only done in a test environment in a training class; won't be repeated (ever)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Myles Weber
Appian Employee
over 8 years ago
Ok. Thank you.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
<