Create new Druid Datasource in Apache Superset - apache-superset

I'm creating a Druid Datasource in Apache Superset.
I see 'Is Hidden' checkbox, but when I check or uncheck it, I don't see any difference.
Can anyone explain to me What 'Is Hidden' checkbox means?

Related

How to clear Apex Oracle debug history from SQL Developer?

I have an Oracle Apex 19.2 workspace and I would like to clear the debug history from SQL Developer.
I have tried :
apex_debug.REMOVE_DEBUG_BY_APP(p_application_id =>1401);
-- Or
delete from apex_debug_messages
but none of them works.
What I'm doing actually is creating a page that is not used in my apps and add the code
apex_debug.REMOVE_DEBUG_BY_APP(p_application_id =>1401);
This code works only from a page context.
Is possible to remove the history from SQL Developer please ?
Thanks.
Cheers,
As long as you are connected as a user that has the role APEX_ADMINISTRATOR_ROLE granted to the user, you can run the code below to remove the debug messages.
BEGIN
APEX_UTIL.set_workspace ('WORKSPACE_NAME');
APEX_DEBUG.REMOVE_DEBUG_BY_APP (p_application_id => 1401);
END;

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?

What is the "Disable Service Factory" option that appears in CF Admin Settings Summary?

Creating a new instance in ColdFusion 10 Enterprise with the intention of it matching another instance's settings except some scheduled tasks. When I compare the Settings Summary page output for each instance there is an option called "Disable Service Factory" which I can not find in the admin. The old instance has the setting as "No" and the new instance defaulted to "Yes".
Does anyone know what this option is and how to update it in the admin if necessary? Thank you
It is a security setting. Disabling it prevents:
...the ability for CFML code to access and create Java objects
that are part of the internal ColdFusion implementation. This prevents
an unauthenticated CFML template from reading or modifying
administration and configuration information for this server.
Confusingly, the option is under a totally different name. You can find it under Server Settings > Settings:
[ x ] Disable access to internal ColdFusion Java components

WSO2 Governance Registry UI customization

Folks,
I'd like to have something like the following in our service registry.
I'd like to add a field to the UI that when I click on it in the UI, it does a select from the database and creates a popup with the data returned from that database select.
is this possible?
For instance, I'd like to have a button on the UI page for a service that when clicked, goes to the database and gets all "METHODS" of the service (I would have previously populated customized database fields after analyzing the service definition, and this button would execute a customized select statement to pull the required data out of the db).
I am not entirely clear about what your requirements is but i think this might help take look at the doc for RXT[1] and see if you can solve your requirement with that :).
[1] http://docs.wso2.org/wiki/pages/viewpage.action?pageId=22185121
Thanks,
Pulasthi

Liferay web service

I use Liferay 6.1.1-ce-ga2 bundled with Tomcat server and Oracle 10g database.
My goal is to insert some content, as Journal Article, and display them in an Asset Publisher (with a structure and template, already working).
I used JournalArticleServiceSoap.addArticle(...) with the right fields (groupid, structureid, templateid, ...). The contents are "correctly" inserted in the database and I can see them inside web contents from administrator content panel. The contents have also "Approved" as status. This is done by setting:
serviceContext.setWorkflowAction(WorkflowConstants.ACTION_PUBLISH)
However, I can't see the inserted contents displayed with the other contents in the Asset Publisher, until I open it again for edition and click on publish button (even without changing nothing). Then the content is published as expected. The problem is the number of contents. It is about 600 so I can't to this action for each one.
I do not understand what is the matter and how to figure it out? In other words, what do I have to do to make the web-content inserted by web service display automatically in Asset Publisher?
Or, what does the "Publish" do exactly so I can try to reproduce programmatically with SOAP service (or SQL after insertion)?
Thank you in advance for your help.
I've also posted the same question in Liferay' forum: Problem to display JournalArticle inserted by SOAP web service
you can try to log the database accessing from Liferay and see what will be changed after you save article manualy. Herefor set the logging level of hibernate to info or debug.
are you setting serviceContext like this?
ServiceContext serviceContext = new ServiceContext();
serviceContext.setAddGuestPermissions(true);
serviceContext.setAddGroupPermissions(true);
serviceContext.setScopeGroupId(groupId);
serviceContext.setWorkflowAction(WorkflowConstants.ACTION_PUBLISH);
You must setting serviceContext Like This:
ServiceContext serviceContext = new ServiceContext();
//serviceContext.setAddGuestPermissions(true);
//serviceContext.setAddGroupPermissions(true);
serviceContext.setScopeGroupId(groupId);
serviceContext.setWorkflowAction(1);
serviceContext.setIndexingEnabled(true);
serviceContext.setIndexingEnabled(true); is Very Important.
The following code is not must requeired.
serviceContext.setAddGuestPermissions(true);
serviceContext.setAddGroupPermissions(true);