This only happens to one interface. Whenever you try to click on anything in design mode or edit anything in expression mode you get the above image. This is my expression mode code:
a!localVariables( local!selection:0, local!priority, local!search, local!date, { choose( local!selection+1, { a!richTextDisplayField( labelPosition: "COLLAPSED", value: { char(10), char(10), a!richTextItem( text: { "What do you need?" }, color: "ACCENT", size: "LARGE" ), char(10), char(10) }, align: "CENTER" ), a!columnsLayout( columns:{ a!columnLayout(), a!columnLayout( contents: { a!cardLayout( contents: { a!richTextDisplayField( labelPosition: "COLLAPSED", value: { char(10), char(10), char(10), char(10), char(10), a!richTextItem( text: { "Create an SFN Order" }, color: "ACCENT", size: "LARGE", style: { "STRONG" } ), char(10), char(10), a!richTextItem( text: { "Enter a new order into the system" }, size: "SMALL" ) }, align: "CENTER" ) }, link: a!startProcessLink( processModel: cons!MAP_PM_CREATE_ORDER ), height: "MEDIUM" ) }, width: "MEDIUM" ), a!columnLayout( contents: { a!cardLayout( contents: { a!richTextDisplayField( labelPosition: "COLLAPSED", value: { char(10), char(10), char(10), char(10), char(10), a!richTextItem( text: { "Create an SFNS Order" }, color: "ACCENT", size: "LARGE", style: { "STRONG" } ), char(10), char(10), a!richTextItem( text: { "Enter a new order for SFNS into the system" }, size: "SMALL" ) }, align: "CENTER" ) }, link: a!startProcessLink( processModel: cons!SFNS_PROCESS_MODEL ), height: "MEDIUM" ) }, width: "MEDIUM" ), a!columnLayout( contents: { a!cardLayout( contents: { a!richTextDisplayField( labelPosition: "COLLAPSED", value: { char(10), char(10), char(10), char(10), char(10), a!richTextItem( text: { "Create an SFNG Order" }, color: "ACCENT", size: "LARGE", style: { "STRONG" } ), char(10), char(10), a!richTextItem( text: { "Enter a new order for SFNG into the system" }, size: "SMALL" ) }, align: "CENTER" ) }, link: a!startProcessLink(), height: "MEDIUM" ) }, width: "MEDIUM" ), a!columnLayout() } ) }, { a!richTextDisplayField( value:a!richTextItem( text:{ a!richTextIcon(icon:"arrow-left"), " Go Back" }, link:a!dynamicLink(value:0,saveInto: local!selection) ) ), rule!MAP_ordersGrid( priority: local!priority, search: local!search, date: local!date ) }, { a!richTextDisplayField( value:a!richTextItem( text:{ a!richTextIcon(icon:"arrow-left"), " Go Back" }, link:a!dynamicLink(value:0,saveInto: local!selection) ) ), rule!TKV_MyTasks(batchSize: 10) } ) } )
Please help us this is a huge blocker for our team currently.
Discussion posts and replies are publicly visible
So does this mean you are unable to edit the interface at all? I don't see anything inherently wrong with what you have, but here's a few suggestions:
Let me know if any of those work or if you are still having issues.
So, looking at the logs I cannot identify if there is an error how would you end up checking the logs to know if there was an error? I will look into the second one as well here in a second.
I always suggest starting with the application server log, which should be tomcat-stdout.log. That is the catch all for many errors, and you might see more details listed there.
I have checked the previous versions and I am getting the same error with previous versions even though previously I edited them.
Can you restore the earliest version (which presumably should be empty)? If that still doesn't work, can you describe how this is being used? Is this live in production or is it only being used in development? If it's live in production, do you see the same errors in each of your environments (dev, test, prod)? If you don't see the error in one of your environments, I'd try to see if you can export that version and overwrite the current version in your other environments.
This is deployed but we do not have the correct environments stood up yet. It works with the earliest version, whenever I try to copy and paste expression mode code it spits back the same error. This is being used as a button to take to other forms with a link to the process model so it will open up new tabs to other forms. This is a live production.
Can you paste a portion of the full code into your interface? Best I can tell there's 3 potential things that show based on a choose function - do any of the 3 parts work on their own? You should be able to add items until they break to identify what in your interface is causing the error.
It has a problem with what seems to be every section of the choose statement. I have no clue what is going on with this error.
Being a developer for so long I have never found an error that has been so vague.
Ok last thing I'm wondering about - does this SAIL expression work in another interface or does it give you the same error? If it works in another interface, you could at least paste it there and update any objects to reference the new interface.
If that doesn't work, then you may need to open a support ticket. It does seem like a strange issue :(
What exactly do you mean by the SAIL expression?