Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
database connection failure in inline command
Sbardeo
Hi,
I am connecting to database through an ipl which is inline command in a DCT. When database connection fails, while opening dct it gives error of database connection failure. I want to customize the error like alert message and closing the DCT automatically.
I tried to use eval{}; code to trap a error and from server side displaying an alert, but that alert is not getting displayed.
Please tell me how to display an customized error in this scenario
Thanks in advance!!!
Find more posts tagged with
Comments
Sailesh
In your IPL code if you get an error, create a field in the dct and on itemChange (that would happen when you populate that field with the error message you received) of that field display an error alert using formAPI and then close the window..
Not sure whether this is do able or not just a wild guess (haven't come across anything like this yet so...).