How to add apex error message for an page item in oracle apex - oracle-apex

In oracle Apex, i can see one error message for an item which is not coming from page validations, i think the error is showing from Apex error, i have attached the screenshot, how to check or remove the error message showing from oracle apex for an item.
Thanks
Abinnaya

In addition to validations, errors can also be handled with the package apex_error.add_error. So the error can be raised from a pl/sql object (function/proc/package/trigger) that is not part of your application definition.

Related

Sitecore - Analyze ribbon > Attributes dialog is empty for Campaigns/Goals/Attributes tabs

Version- Sitecore 8.1 update 1.
I am trying to tag a media item for Page Download Event.
When I try follow the steps
My Attributes dialog shows no events to select from.
Events Listed
Attributes Dialog
Can Anybody help me here?
My first idea was that the analytics were disabled...but then you shouldn't even be able to open the Attributes popup.
Are you logged in as an Sitecore Administrator or another user? Perhaps the user role is not able to set any goals/events.
Have you checked the error log? Perhaps it can help with narrowing down this problem.

An error occurred while publishing Sitecore

When i am publishing site in Sitecore it is giving error.
Job started: Publish to 'web'|#Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.FormatException: Unrecognized Guid format.
Please guide me how can i resolve this error.
Did you an upgrade recently? If so, maybe this will help:
http://reasoncodeexample.com/2015/03/26/sitecore-linkdatabase-unrecognized-guid-format/
Try to rebuild the Link Database, gives that an error.
With Sql server Profiler (from SQL server Management Studio) you can find the item with the issue. Create a filter to capture the Web database. Start the publish, and press pause when the error occur. Now you see the latest publish action and can you see the guid in the query.
This is described here: Upgrade Sitecore experience with modules
In this case the issue was in the Webforms For Marketers (WFFM) module, the Tracking Field.
Also look for broken links. (Press right mouse button on the left white space in the content editor to choice with icons you want to see)

Error when trying to open Campaign in Sitecore 7.1

I am using Sitecore 7.1, created a new campaign in Marketing center, but after saving when i try to open it, it gives the error An error occurred while loading report data. Please try again or contact your administrator.
Same happens with Engagement plans, i get this error when i try to open it Error Loading Engagement Plan.
Try clearing the browser cache and restart browser, this usually helps.
Also. You need to approve the campaign through the workflow before publishing. And off course, make sure you have Sitecore DMS installed :-)

Sitecore: We experienced a technical difficulty while processing your request. Your data may not have been correctly saved

It is throwing the following exception after submitting the data using Web form created after it is upgraded from Web Form for Marketers 2.1.0 to 2.3.0. Followed the step by step upgrade instructions.
Exception in the Log file:
6772 22:24:13 WARN Web Forms for Marketers: an exception: has occured while trying to execute an action.
Error/Warning on the UI:
Sitecore: We experienced a technical difficulty while processing your request. Your data may not have been correctly saved
However, it is saving the data to database, and when I view the report for the same form using Web Form Reports, nothing is shown.
Action Method : Save to Database
The reading/creating counters warning is covered by adding the 'Performance log users' role to the account used by the application pool as previously answered here. It seems unlikely that this is causing the WFFM error, but it's worthing getting rid of the warning, restart IIS, and try again.
This is related to smtp setup on Send Email Message action which is used on webforms for marketers.
Refer:
http://blog.arkesystems.com/post/2010/05/18/SiteCoreWeb-Forms-for-Marketers-Send-Email.aspx

getting error information on cfgrid - cfdebug

I'm using CF9
When editing a field which updates information on a db in a cfgrid, I get this error:
"Error invoking CFC /assetMgmt/assetdata.cfc : Error Executing Database Query. [Enable debugging by adding 'cfdebug' to your URL parameters to see more information]".
adding ?cfdebug to the end of the url and hitting enter opens the menu to search for items to populate the grid, so the cfdebug parameter gets removed once the grid has been populated (because of hitting the search button).
I guess I need some way to enable this cfdebug mode without having to navigate to the page, since it removes the cfgrid. Sorry if that sounds confusing
Here's my advice: Use chrome or Safari. Open the developer tools and look at the console. Make sure that xmlhttprequests are being logged.
Now access the page with the issue. You will see the error logged (likely a 500 error) in the console along with the URL that was requested. Right click on the url and open in a new tab. This will rerun the request and output the result directly in the browser so you can see the error being thrown. Fix the error and you should be good to go.
If you need any more assistance please let me know.
I found that giving a sql column an alias with a space in it caused an issue in ext-all.js with cfgrid. To fix this, I replaced the spaces with non breaking spaces (&nbsp) and it solved the issue.