Possible to hide sql-workshop?
Hi,
we are isvs and plan to roll out an apex-application to the client's workspace for the first time. But we don't want that the client will have access to the code of all the tables, views and so on in sql-workshop.
One solution would be to install the application in the client's workspace and give him only access to the application. But he wants to manage himself the administration area. And for adapting reports he wants to have access to the application builder. So this solution is not optimal.
Some good ideas would be very much appreciated.
Thanks
Michael Fischer
Michael,
I would suggest in this case that if your client wants to be able to adapt reports, then you try and build something into your application whereby the user can specify/adapt the reports through the application itself (without knowing exactly what they want to do it's difficult to advise how to approach this).
Also I'm not sure what you mean by "manage the administration area", but again the best solution would be to implement this in your application where you can, that way you can still control what they can and can't do.
Similar Messages
-
Restrict access to Query Builder component in SQL Workshop
Hello folks,
Can someone tell me if it is possible for an end-user to have access to the Query Builder component only?
End-users on our site are currently using the stand alone version of the old Query Builder (OBE60.EXE), which is not supported any longer, and have compatibility issues when used against a 10g database.
I'm looking for an alternative (query-only) tool, and came across the Query Builder component in Oracle Application Express. But couldn't find anything there that would allow me to limit access to this component for an end-user.
Please let me know if this can be achieved, and if not, is anyone aware of an equivalent tool that would do the job?
Many Thanks,
PraveenHello,
No, that functionality does not exist currently, you would need to build your own.
If you search this forum there are a few threads which detail how you can install the Application Builder and SQL Workshop applications into the APEX environment itself so you can see how they (meaning the Oracle team) have built those apps.
Hope this helps,
John.
http://jes.blogs.shellprompt.net
http://apex-evangelists.com -
Edit schema objects with sql workshop
I am trying to setup the ability for admin type user to log in via
HTMLDB and use the sql workshop to create / change objects in
the owning schema.
But I can't seem to get it right.
I have a schema, this was prexisting before HTMLDB
BOB which contains hundreds of objects. From the outside world, the users would log in as BOB with BOB's password to trouble shoot and develop PL/SQL - say with Toad or pl/sql developer.
We have 2 htmldb applications that run from BOB and work great (HTMLDB is great!)
The number of people needing access to BOB has increased dramatically.
I have created HTMLDB users that log into the BOB HTMLDB workspace and can via all the table data and the like.
But when they go to look at PL/SQL the screen is red and there is no wrapping of lines and no scroll bar to see everything.
So, I assumed it is priveleges - I granted everything, same thing. I ran a select user from dual from the sql scripts screen and it comes back as HTMLDB_PUBLIC_USER.
I have tried logging into the workspace with the BOB oracle user password - won't work (invalid credentials). I created an HTMLDB BOB user and it still hits the database as HTMLDB_PUBLIC_USER.
Is it possible somehow to "link" Bob HTMLDB user to BOB oracle user so that when the user logs into HTMLDB sql work shop (even if it is as BOB) they can edit PL/SQL, triggers etc?
So, basically - log into the database using a database user/pass but have access to the wonderful sql work shop and utilities tools?
I have tried messing with the DAD etc, but doesn't seem to work.
I have checked the documentation, can't find anything.
Help please.Hi,
you have a typo there. You need a "." before the xbl and htc.
See here for the full config:
Alias /i/ "/u05/oracle/oraweb/marvel/images/"
AddType text/xml .xbl
AddType text/x-component .htc
<Location /pls/htmldb>
SetHandler pls_handler
Order deny,allow
Allow from all
AllowOverride None
PlsqlDatabaseUsername HTMLDB_PUBLIC_USER
PlsqlDatabasePassword PSWD
PlsqlDatabaseConnectString MYSERVER:MYPORT:BOBSID ServiceNameFormat
PlsqlDefaultPage htmldb
PlsqlDocumentTablename wwv_flow_file_objects$
PlsqlDocumentPath docs
PlsqlDocumentProcedure wwv_flow_file_manager.process_download
PlsqlAuthenticationMode Basic
PlsqlNLSLanguage AMERICAN_AMERICA.US7ASCII
</Location>Regards,
~Dietmar.
P.S.: Make sure to clear the browser cache before retrying.
Message was edited by:
daust_de -
SQL Report not showing data - available in SQL Workshop and SQL Developer
I am having an issue with developing a SQL Report in APEX 3.2.1. I run the code in both SQL developer and SQL Workshop and I get data pulled back (both against my development environment). When I run the same code in a SQL Report region, it returns no data available. Does anyone have any idea what would be causing this? Other regions on the page accessing different tables in the same schema return data without issue. Any help would be appreciated.
Thanks
FreddieCould you explain the last comment a bit more. Here is a bit more info just in case I touch on the info with it. The db schema is BPAMGR, the Workspace is BPAMGR. We use the same schema for all of our reporting. All of our tables are in the same schema. We don't use any tables outside of this schema. Our APEX workspace has been associated to only this schema. The tables are able to be queried by SQL Workshop in the same APEX instance that the report application is under.
Freddie -
Possible to hide browse sequences?
I have a few topics in my chm that do not contain browse
sequences. They are standalone topics that do not appear in the TOC
or index. When the help is called from the application, they are
launched in the right pane of the chm. The problem I have is that a
"default" browse sequence will still appear at the top of the chm
even though the topics don't have any assigned browse sequences.For
these topics, is it possible to hide the browse sequences from
appearing?Hi Emmanuel
Actually this should be possible. What you would do is to
create a new window that would be used for your context sensitive
calls. Then when your developer calls the help, they specify the
window it should appear in. That window would be configured with no
browse sequence bar.
Cheers... Rick -
hi,
Please help me..
is it possible to install sql server 2008 standard edition in windows server 2008 enterprise edition?
will any problem arise?Hiya,
Yes it it possible. No there will not be any problems.
Short and simple :) -
Select works in SQL Workshop, but not as an LOV
I want all venues to appear in my LOV
With their affiliated Performing Arts Center, if one exists.
I get the perfect results when I run it in SQL Workshop.
When I try to create the LOV, I'm told it's invalid, because it includes an in-line query and the first FROM clause must not belong in the in-line query.
Not quite sure what it means, but I'm sure I don't know how to fix it...
SELECT
v.VENUE_NAME, p.pac_name d,
v.VENUE_ID r
from pac p, VENUES v
where v.venue_pacid = p.pac_id(+)
thanks
MarionI'm told it's invalid, because it includes an in-line query and the first FROM clause must not belong in the in-line query.Think that's just an example of why a query might be invalid, as this query clearly doesn't have that.
Jari's right, it has to only return 2 columns, so the venue and PAC values need merged somehow, like:
SELECT
v.VENUE_NAME || nvl2(p.pac_name, ' (', null) || p.pac_name || nvl2(p.pac_name, ')', null) d,
v.VENUE_ID r
from pac p, VENUES v
where v.venue_pacid = p.pac_id (+) -
Hi ,
I need some help, pls.
The follwg report runs in SQL Workshop - but gives errors in the sql-query report in HTMLDB:
SQL-Workshop:
select
case
when SUM(S.POTENTIAL_GROWTH)> 1 and SUM(S.POTENTIAL_GROWTH) < 4 then 'Ok'
when SUM(S.POTENTIAL_GROWTH)> 4 and SUM(S.POTENTIAL_GROWTH) < 8 then 'SoSo'
when SUM(S.POTENTIAL_GROWTH)> 8 and SUM(S.POTENTIAL_GROWTH) < 12 then 'Very Good'
else 'too much'
end
from "SEGMENTATION" S
In an HTMLDB SQL-Query Report I added Aliases (as requested for HTML) but still gives the error:
<<Query cannot be parsed, please check the syntax of your query. (ORA-00920: invalid relational operator) >>
the code:
select
case
when SUM(S.POTENTIAL_GROWTH) pot_growth > 1 and SUM(S.POTENTIAL_GROWTH)pot_growth < 4 then 'Ok'
when SUM(S.POTENTIAL_GROWTH)pot_growth > 4 and SUM(S.POTENTIAL_GROWTH)pot_growth < 8 then 'SoSo'
when SUM(S.POTENTIAL_GROWTH)pot_growth > 8 and SUM(S.POTENTIAL_GROWTH)pot_growth < 12 then 'Very Good'
else 'too much'
end
from "SEGMENTATION" S
any halp from the gurus wud be very much appreciated.
TIA
BernhardStill you did not give the alias for the case when column. For that only you should give the alias
select
case
when SUM(S.POTENTIAL_GROWTH) pot_growth > 1 and SUM(S.POTENTIAL_GROWTH)pot_growth < 4 then 'Ok'
when SUM(S.POTENTIAL_GROWTH)pot_growth > 4 and SUM(S.POTENTIAL_GROWTH)pot_growth < 8 then 'SoSo'
when SUM(S.POTENTIAL_GROWTH)pot_growth > 8 and SUM(S.POTENTIAL_GROWTH)pot_growth < 12 then 'Very Good'
else 'too much'
end "GROWTH"
from "SEGMENTATION" S -
Java Stored Procedure via Function Give 0RA 600 from SQL Workshop and App
Hi,
Anyone experienced stored procedures or functions failing when called from APEX app or SQL Workshop ( ora 600 ) yet they work fine when called from SQLPlus?
Sqlplus connected as my apex workspace schema owner:
select net_services.test_db_connection_via_ldap(
'APEXPRD1', 'test1', 'test1', null ) as result from dual;
RESULT
The database connection attempt was SUCCESSFUL
From Apex Sql Worshop:
select net_services.test_db_connection_via_ldap(
'APEXPRD1', 'test1', 'test1', null ) as result from dual;
ORA-00600: internal error code, arguments: [16371], [0x434B08150], [0], [], [], [], [], [], [], [], [], []
NOTE: Same result when run in response to button push on page in application.
Apex Version: 3.2.1.00.10
Oracle Version: 11.1.0.7.0
NOTE: I am using the embedded plsql gateway; was going to try NOT using it to see if it was shared server related (seemed to be from trc files)
Any ideas?
Since the code works from sqlplus, I know that it's good: Here some snippets
-- ========================================================================================
public class NetServices extends Object {
public static String doTestDbConnectionViaLdap
String piDbConnUrl,
String piUserName,
String piUserPassword
String vResult = null;
try
Connection conn = null;
OracleDataSource ods = new OracleDataSource();
ods.setUser( piUserName );
ods.setPassword( piUserPassword );
ods.setURL( piDbConnUrl );
conn = ods.getConnection();
conn.close();
vResult = "The database connection attempt was SUCCESSFUL";
} catch ( SQLException e )
int vErrCode = e.getErrorCode();
String vErrMsg = e.toString();
if ( vErrCode == 1017 ) {
vResult = "The database connection attempt FAILED! Incorrect Username or Password";
} else if ( vErrCode == 17433 ) { // Null Username or Password
vResult = "The database connection attempt FAILED! You must provide both a Username and a Password";
} else if ( vErrCode == 17002 ) {
vResult = "The database connection attempt FAILED! Net Service Name was Not Found";
} else if ( vErrCode == 17067 ) { // NULL Net Service Name
vResult = "The database connection attempt FAILED! You must provide a Net Service Name";
} else {
vResult = "The database connection attempt FAILED! Error " + vErrCode;
return vResult;
} // method: doTestDbConnectionViaLdap
-- ========================================================================================
function do_test_db_connection_via_ldap
pi_db_conn_url IN VARCHAR2,
pi_user_name IN VARCHAR2,
pi_user_password IN VARCHAR2
return VARCHAR2
is -- PRIVATE to the net_services package
language java -- NOTE: See cr_java_class_NetServices.sql for actual java implementation
name 'NetServices.doTestDbConnectionViaLdap
( java.lang.String, java.lang.String, java.lang.String ) return java.lang.String ';
-- ========================================================================================
function test_db_connection_via_ldap
pi_net_service_name IN VARCHAR2,
pi_user_name IN VARCHAR2,
pi_user_password IN VARCHAR2,
pi_search_base IN VARCHAR2
return VARCHAR2
is -- PUBLIC procedure
v_url VARCHAR2(256);
begin
g_err_source := 'NET_SERVICES.test_db_connection_via_ldap';
g_err_action := 'build_jdbc_conn_url_using_oid';
/* NOTE: We don't want to assert the parameters because we don't want to raise
an exception;
-- Get the jdbc connection url that uses oid info
v_url := build_jdbc_conn_url_using_oid( pi_net_service_name, pi_search_base );
return( do_test_db_connection_via_ldap( v_url, pi_user_name, pi_user_password ) );
end test_db_connection_via_ldap;
-- ========================================================================================
Thanks in advance for your consideration.
TroyTroy:
You could be right in your guess that the error is related to MTS. Search Metalink for '16371'. Why not switch your APEX app to use OHS and test whether the error persists. ?
varad -
Is it possible to hide part of the line in webI line chart
I had webI line chart which is showing for 2 months data, and is it possible to hide the line for only first 10 days in the line chart and continue the line after 11 th day till the end?
@rajesh: I didn't understand why should we use Relativedate() function?can you please explain little bit more. Becuase the report has customer exit written such a way that if I run the report today it will show up previous 60 days
For example:
today is 04/06/2011
so in the report date column has values and shows up like
02/06/2011
02/07/2011
02/08/2011
04/05/2011.
So now I should hide/avoid/shouldn't show First 10 days. In example above 02/06/2011, 02/07/2011,02/08/2011.....like wise 10 days so till 02/16/2011 shouldn't be shown in the report. The beginning of the report should start from 02/17/2011 till 04/05/2011..
Edited by: saathiyaa on Apr 6, 2011 9:31 PM -
Copy and Paste in an Application (like sql-workshop)
Hey,
i would like to implement a functionality to copy & paste (similar to sql workshop) data from an excell sheet into a formular.
by submitting this formular i want to create a set of data after the 'tab' dividing.
its not comma seperated. because its coming from an excelll-sheet.
Does anybody know a solution
PS: Or how i read an array to the tab sign and put this string in a select statement.
greets phil
Message was edited by:
user557004Hi,
How about the issue now, is it solved?
This issue might be caused by her user profile. What the result would be if using another user account to log on her computer to test this issue.
Also do you have the same problem when you open excel in Safe Mode?
Try opening Excel without any Add-ins or hidden workbooks:
Press and hold the CTRL key, and then click the excel program.
Best Regards,
Wind -
Is it possible to hide desktop folders until needed
MacBookPro screen real estate limited. Folders and other junk on my desktop can be distracting on top of that.
Is it possible to hide them until I need them?You can eliminate mounted volumes via Finder Preferences>General
You can reduce folder clutter by being neater!
But if you really want to hide everything on your Desktop, then download the free utility TinkerTool, and use this option:
To make the Desktop objects visible again, re-run TinkerTool and uncheck that box. -
Is it possible to hide the save function and only use the save as function in teststand
Hi,
When i'm done building a sequence i want to prevent other engineers to save the sequence with the same filename (or version number).
Is it somehow possible to "hide" the save button and only use the save as function?
Or is there another possiblity to solve my problem.
The idea is to have a sequence called Sequence_V1.0.seq which i have build. When installing this in a factory enviroment I would like whenever there is a change needed in the sequence that the version number increases (manual action) (becomes Sequence_V1.1.seq). So from the moment you want to save i would like to only have the function save as. In this way you are obligated to fill in a new sequence name (original sequence will be read-only)
What would even be great if there could be a log of what the changes were
Thx!!!1) You could mark the file as read-only, by default you would then not be able to save over it. The user could make it not read-only though if they know what they are doing.
2) Another possibility is to lock the sequence file for editing (this is a teststand feature). Go to the Sequence File Property dialog, on the advanced tab, where it says Password Protection, set it to Not Editable and give it a good password. This doesn't however keep someone from saving another file to the same name as the locked one, but they at least won't be able to saved the locked file again without your password, nor will they be able to edit it.
Hope this helps,
-Doug -
Is it possible to hide the yellow box that appears when you scroll over any object in the form? This box contains the item name or caption.
Hi,
Under Tools ... Options ... Workspace, there is an option "Display Object Name Tool Tips While Pointing".
Try clearing that.
Bruce -
Executing pl/sql procedure in SQL Workshop
Hello.
My understanding is that the only way to execute a pl/sql procedure in the SQL Workshop is via SQL Scripts, because running it under SQL Commands causes
"ORA-00900: invalid SQL statement".
Here is the statement I would like to run:
execute efax_letter_to_pharmacist ('8888888888','ASDFSFSFSF','1','APN123456789','81');
and here is the message I get when I run it under SQL Scripts:
You have requested to run a script that does not contain any runnable statements.
Script Name TEST
Created on 02/14/2008 10:47:15 AM by ADMIN
Updated on 02/14/2008 10:56:45 AM by ADMIN
Number of Statements 0
Script Size in Bytes 86
thanks
BorisBoris,
Execute is a SQL*Plus command.
It should work if you call your procedure in a begin-end block. e.g:
begin
efax_letter_to_pharmacist ('8888888888','ASDFSFSFSF','1','APN123456789','81');
end;
Maybe you are looking for
-
How to retrieve Business Partners Per Target group
Hi experts!!! I am new to CRM development and i need to find the tables related to the target group. So far i have only found some tables that hold the T.G. GUID, but i cannot understand how these are connected among them. The requirement i have is t
-
How to add related fields from one transaction to other transacction?
Hi all, I have a problem. I need to add an OPPORTUNITY field (SALESCYCLE) to the ACTIVITY transaction because of an upgrade and I'm now in a new world... The CRM 2007 is an unexplored place to me. I added some custom fields (Z fields from the CUSTOME
-
Macbook won't boot past grey Apple logo.
Hello! My mother's unibody white MacBook will not get past the grey apple and spinning gear when you first boot up the computer. This was after she opened a link in an email from a friend who had her email compromised. Now I'm getting spam emails wit
-
Hi, Need a help in using a date columns, I have the below 2 columns (mm/dd/yyyy hh:mi:ss) and I want to exactly find the number of hours and minutes between those 2. please help me. Start time - 9/2/2010 8:12:03 AM End time - 9/3/2010 9:12:03 AM Than
-
Why do some sites show up very small and unreadable?
my gmail site and facebook are so small I cannot read them also this page is also very small I cannot find a way to enlarge the pages