BLOB error on Interactive Grid (Master Detail Form) - oracle-apex

I created master detail one page form on Apex 5.1, I have blob column in the detail when i am going to detial page im facing an error
Data type BLOB can not be converted to VARCHAR2!
Contact your application administrator.
Technical Info (only visible for developers)
is_internal_error: true
apex_error_code: WWV_FLOW_PLUGIN_UTIL.CANT_CONVERT_TO_VARCHAR2
component.type: APEX_APPLICATION_PAGE_REGIONS
component.id: 12860330874335917
component.name: Ticket Details

You can't set blob in a page item directly, I think you want to display blob download link. Try to implement APEX_UTIL.GET_BLOB_FILE_SRC in-built APEX function.
Refer to Oracle doc for more information on this function --> link

Related

How to build a tabular form or editable interactive grid on an existing page in apex 5.1.3?

Recently our oracle apex application got upgraded to version 5.1.3. Ever since the upgrade, I am having trouble creating a tabular form or an editable interactive grid on any existing page.
I could create an editable interactive grid on a new page and then add other regions to the page. However, I can't seem to do the other way around. I do not see any options to select an interactive grid in either 'Create Form Region' or in 'Create Report Region'.
Here's the list of options I see when I try to create a form region on the current page:
And for the Report region on the current page:
And for Form Region on a new page:
I couldn't find anyone having such issues in any of the forums, which makes me believe that I must be missing something way too obvious. Any help would be great.
Thanks!
References : https://www.toadworld.com/platforms/oracle/w/wiki/11698.apex-5-1-interactive-grid-compared
Click Create Page. In a list of possible options, you'll see the Legacy Page at the bottom of the list - choose it. In there, you'll see the "Tabular Form" you're looking for.
[EDIT] (as here's much more space to type than in the comment)
I have an old application created back in Apex 4.x. It was not migrated to 5.x (currently, I'm on 5.1.1), only Apex was upgraded to a more recent version, while that application runs "as is". I'm writing this because - maybe true "upgrading" makes things different ...
Anyway: I opened that "old" application and went to edit a page that contains a "Static content" region. Then I added a new region. In a list of possible region types, there's the "Show Legacy/Unsupported ..." at the bottom of the list. I chose it; the "Type" list collapses, but when I returned back to it, it shows "Tabular Form [Legacy]".
If I choose it, I get the message saying
This will just create the tabular form and not the associated processes and validations. To generate the related processes and validations please use the Create Page wizard".
Does this help?

Tutorial to create custom reports on Oracle APEX 5

I am new to Oracle APEX 5 and I am looking for a link or tutorial to achieve below.
Create a custom report with a parameter (date).
Go to shared components > report queries (add your sql statement with parameter. Test report with Bind Variables and works fine)
Under manage instance settings I have done the required configurations to print report in PDF
Go to share components > reports layouts (add rtf layout)
Add an item (date picker) on a page so that user can select a date.
Go to page and add date picker as an item. It works fine
Pass the date selected as a parameter to the custom report and generate output in PDF.
Under report query > session state, I have enabled include application and session information. There I selected the item I created on my page. The item name is the same name as the parameter name in my SQL script.
On my page I have also include a button that will trigger the report. The button is linked to the report by the URL.
This part fails and I am unable to get a report based on the date I selected in the date picker item.
I have done numerous research but could not find a single place where they explain how to proceed.
Any explanation, link or tutorial would be greatly appreciated.
For instance your page item which stores the date parameter is P9_DATE, you have to pass the page item P9_DATE as a parameter to redirect URL on button click as https://example.com/apex/f?P=&APP_ID.:0:&SESSION.:PRINT_REPORT=<REPORT_NAME>:::P9_DATE:&P9_DATE.

SItecore WFFM trackig field data?

I am using sitecore 7.2 rev. 140228, We have some default tracking in Sitecore WFFM that could be seen in advance field under standard fields.
Client asked us where is report for this tracking and where we can review this events etc ... I have tried but could not found any way to get this tracking report.
There are WFFM reports in your Sitecore desktop under the Sitecore start button -> All Applications -> Web Forms Form Marketers -> Form Reports
In there, you can select the form you want to see the report of. Reports include things such how many people have filled in the form, how many dropped out and the values of the fields when they are filled (if you've enabled form dropout tracking).
Alternatively, if you're just interested in which goals have been triggered on which page you could potentially find this in the Executive Dashboard (haven't used 7.2 in a while so not sure anymore which data it shows) or you'd have to write a SQL query and query the database.
Use button "Form Reports" on your ribbon:

List control not visible after adding in Sitecore SPEAK UI

I am fairly new to Sitecore and I am trying to add a list control in Sitecore Speak. While I am able to add a List control and bind a Search data source to it, It is not visible in the page when I run the page. I am not sure what is going on.
Below is the screenshot of the Page layout.
I am using Sitecore 7.5 with Sitecore Rocks version 1.4.
enter link description here
Does the Datasource item you have the list control databound to SearchDataSource in this case have any data?
You can debug in the browser console using Sitecore.Speak.App.DataSource.viewModel.Items() I believe as long as you have your webpage in debug mode and using this query string ?sc_debug=1.
If not update the SearchDataSource components to perform and return the data you wish to bind. The SearchDataSource component will have a few options to set the search you wish to perform.
You shouldn't need a datasource in this case as your data is coming from the Items property which is bound to the datasource control.

Custom Campaign URL in DMS 2.0

Edited
The issue (#347688) has been fixed in Sitecore CMS 6.5.0 rev. 120427 (6.5.0 Update-4) and DMS 2.0.1 rev. 120427
We have been asked to explain where the editor can customize the campaign tracking url, they have seen the feature when participating in Sitecore Training sessions, but can't find the features in the our platform that is currently fully updated.
It seems to me the feature has been removed otherwise it is hidden in {3AC13180-912F-4388-AF56-46A0F1172E70} that is missing in the DMS Installation, when looking at the insert options for the Campaign Item.
Does anyone have insight on the topic ? and if the feature is still present or has been removed for another model.
OMS / Custom Campaign tracking URL
When looking at the old documentation for Sitecore OMS the section related OMS Creating Campaign Events, it should be possible for the Editor to personalize the incomming url parameter that triggers the page visit to attach to a specific campaign.
Reference: "OMS Creating Campaign Events" page 13-14
http://sdn.sitecore.net/upload/sitecore6/64/online%20marketing%20suite%20cookbook-usletter.pdf
Engagement Analytics / No Custom Campaign tracking URL (?)
In the new DMS 2.0 / Engagement Analytics there are also Page events, and they should be attachable to Campaigns. But we can't seem to create anything under the Campaign definition even tho the first line in the documentation suggests it. Looking at the Insert options on the campaign there is a missing id: {3AC13180-912F-4388-AF56-46A0F1172E70} that suggest the installation is missing an Item for this feature to function.
Reference: "Engagement Analytics Page Events" page 6-7
http://sdn.sitecore.net/upload/sitecore6/65/engagement_analytics_configuration_reference_sc65-usletter.pdf
Campaigns
You can associate events with specific campaigns. To register a
campaign event, beneath the campaign definition item, insert a
campaign event definition item using the System/Analytics/Campaign
data template. You can activate the campaign using the value of the
sc_camp query string parameter or you can assign a campaign to a
content item, such as a landing page. For more information about
campaigns, see the section Campaign. To change the name of the sc_camp
query string parameter, see the section The
Analytics.CampaignQueryStringKey Setting.
I have been in contact with Sitecore Support and they responded that the option of customizing the url that triggers the campaign has been removed. The documentation is misleading on the subject and they have registered it as a bug.
So yoursite.net/?sc_camp={ID of the campaign item here} or using a landing page with the campaign as trigger is currently the only way to monitor incoming links from a campaign, unless custom code is build.
Thanks for the answers.
Edited:
The issue (#347688) has been fixed in Sitecore CMS 6.5.0 rev. 120427 (6.5.0 Update-4) and DMS 2.0.1 rev. 120427
Mentioned ID {3AC13180-912F-4388-AF56-46A0F1172E70} used to be a Campaign Event template. Campaign Events are no longer used, as they were replaced by Campaign in Sitecore DMS.
In order to track it, use the following URL format: yoursite.net/?sc_camp={ID of the campaign item here}
I just wanted to add in that although it might be what they know and what they want to use, the reason that it's so obscured is because that's really not how you should be doing things and its not a practice I'd recommend since it's not really guaranteed to be tracked. The structure of DMS and the underlying database is such that I'd stick to setting things up by associating things with a campaign. Tracking is done in large part via page events that are triggered... but just amending a url will trigger a visit and a new page, but not a page event to be created unless there is something associated with that item that will trigger an event.
Campaigns are typically associated with items, or events, or engagement plans or any number of different elements of DMS. In all cases, there's a tab on the item that has an option to check the campaign to associate it with. That's how you want to be doing this which ensures that a page event is properly created and associated with the campaign.