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
8 subscribers
Views
3445 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Portal page referring to deleted channels
ajinkyab277
Certified Lead Developer
over 7 years ago
Today We have received in error in application server.log
2016-12-02 02:36:31,102 [http-/0.0.0.0:80-48] ERROR com.appiancorp.security.util.StringSecurityUtils - The text "An error occurred while evaluating an expression. Details: Exception processing expression function "=concatenate("<p><font size=""3""><strong>",intuitiveURL(cons!MO_C_APPLICATION_NAME,cons!MO_C_ADMIN_TAB,"report",cons!MO_C_PMID_VISIBLE_PERMITS_REPORT,"Visible Permits"),"</strong></font></p>
<p>View AHR and AH for Permits</p>")" with context "null": com.appiancorp.core.expr.InvalidVariableScriptException: com.appiancorp.process.expression.ExpressionRuntimeException$AppianExceptionProvider: Expression evaluation error at function 'intuitiveURL': Could not find variable 'cons!MO_C_PMID_VISIBLE_PERMITS_REPORT' (APNX-1-4198-000)" couldn't be scanned
org.owasp.validator.html.ScanException: org.w3c.dom.DOMEx...
OriginalPostID-250452
Discussion posts and replies are publicly visible
0
ajinkyab277
Certified Lead Developer
over 7 years ago
I am getting below error while inspecting application.
The specified file does not contain a valid package and cannot be imported.
The specified file does not contain a valid package and cannot be imported.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 7 years ago
My bad, wrong zip. Use v2_Repaired_Application.zip instead.
v2_Repaired_Application.zip
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ajinkyab277
Certified Lead Developer
over 7 years ago
I have imported the application successfully. I reckon the solution is
1. Export the page
2. Remove the portlet file from portlet folder
3. Import the application.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 7 years ago
No, it has to be removed from the page. Do you now see the message "Please correct this portlet" on the page?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ajinkyab277
Certified Lead Developer
over 7 years ago
Yupe got it.
I have removed that portlet from UI . as we no more need it.
Could you please also tell us the changes that you made in application zip. for knowledge base
Thanks
Ajinkya
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 7 years ago
I replaced the content of the file called "content" with that phrase. I found it by searching for keywords from the expression in the error.
"=concatenate("<p><font size=""3""><strong>",intuitiveURL(cons!MO_C_APPLICATION_NAME,cons!MO_C_ADMIN_TAB,"report",cons!MO_C_PMID_VISIBLE_PERMITS_REPORT,"Visible Permits"),"</strong></font></p>
<p>View AHR and AH for Permits</p>")"
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 7 years ago
I suggest you evaluate starting to move to Tempo instead.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
<