How to hide/disable Parameters in Title of Report 11g ?
Hi all,
I m using 11gr2 Forms/Reports 64-bit with Weblogic server 10.3.6 on Windows server 2008 ent 64-bit.
I m calling a report from Form by following built-in;
declare
v_show_document VARCHAR2 (2000) := :GLOBAL.V_DOC;
v_connect VARCHAR2 (200) := :GLOBAL.V_conn;
v_report_server VARCHAR2 (50) := :GLOBAL.V_ser;
v_report_name VARCHAR2(100) := :global.rep_path2||'SALE_CHALLAN_VOUCHER1.rdf';--:GLOBAL.V_rep;
v_format VARCHAR2(12) := 'HTML'; --:GLOBAL.V_for; -- PDF or SPREADSHEET
begin
v_show_document := v_show_document
|| v_connect
|| '+server='
|| v_report_server
|| '+report='||v_report_name
|| '+destype=CACHE'
|| '+desformat='||v_format
|| '+paramform=no'
-- || '+fromdate='||TO_CHAR(:UNITCONTROL.FROMDATE,'DD-MM-RRRR')
-- || '+todate='||TO_CHAR(:TODATE,'DD-MM-RRRR');
||'+compcode='||:parameter.compcode
--||'+P_DOC_CODE='||:MAINBLOCK.CONTROL_CODE
||'+FROM_SERs='||:MAINBLOCK.V_SER
||'+FROM_NOs='||:MAINBLOCK.V_NO
||'+to_SERs='||:MAINBLOCK.V_SER
||'+to_NOs='||:MAINBLOCK.V_NO;
web.show_document(v_show_document);
end;
This built-in calls the report successfully.
But all theses parameters (server name,report name,username/passwords etc.) above, are shown in
title of the Report, which should be hide for security purpose.
Please guide me.
Thanks with Regards.
bhatt.
Edited by: 982164 on Apr 3, 2013 2:58 AM
web.show_document(v_show_document);This is not a good way to call a Report from Forms. Use run_report_object instead (as shown in Hamid's link). This will hide all the parameters.
Similar Messages
-
How to hide dynamic parameters values in the URL with Reports 6i
Hi,
I want to know a way of hiding the parameters values when asking for a report through the web.
Now I'm using the Reports 3.0.5.8 with a Cartridge defined in the Oracle Web Application Server 3.0.1.0.1. When you ask for a report with the parameters DESTYPE = cache and DESFORMAT = pdf, it is fully generated and in the Address or Location box of the browser, you can see http://webserver/cache/report.pdf (where cache is the virtual directory defined in the OWAS in which the .pdfs are cached). So, users cant see the Url used to generate the report.
Im trying to upgrade this configuration to Reports 6i with Cgi in a web server. I generate reports with no problems. The problem I have is I cant find how to hide the parameters values as before. I mean, when I ask for a report, once its generated I can see http://webserver/cgi-bin/rwcgi60.exe?server=ServerName&report=report.rdf&userid=user/pass@connection&destype=cache&desformat=pdf&P1=value1&P2=value2 in the Location box. It allows user to ask for another report changing the values of the parameters. I use these parameters to execute some query written in the Data Model. For example, imagine that the P1 represents the company id, the user (that is supposed to see only data of its company) can change this id, ask for a new report and see data of another company.
Ive already tried to use the key mapping option, but its not useful to me because the parameters values are dynamic and its impossible to define different entries in the cgicmd.dat for each possible value. The option of loading the parameter form before running a report is not useful to me either, because there exists specific screens for this purpose.
Is there any solution?
Thank you.
Marma Bonfiglio.Hi Rakesh,
I am using BI 7.0
The last option I have is 'Hide' for 'Calculate single values as' .
I have the below options for 'Calculate single values as'
1. Normalise according to Next group level Resul.
2. Normalize according to Overall Result
3. Rank number
4.Olympic Rank Number
5.Maximum
6. Minimum
7.Counter for all detailed values
8.Counter for all detailed values that are non zero
9.Moving average
10.Moving average That is Not zero ,null or Error
11. Hide.
So could you please tell me where i can find 'suppress result' option for the keyfigure .
Many thanks -
How to hide/disable menu items using Javascript in Acrobat 9 pro or later
We just wanted to know on how to hide/disable menu items for e.g. 'Open' menu item under 'File' menu in Acrobat 9 or later on Mac using Javascript. It would be useful if you could provide if any other option is in place already.
Not sure it will work, but you can try using the app.hideMenuItem() method. See reference here.
-
How to hide the parameters in the url
Hi,
Can anyone help me to hide the parameters being passed in the url. For example, when a link is clicked i want to pass few parameters to it, but i dont want to display those parameters in the url. Can anyone help me figure out how can i achieve this?
Thanks
riIn your CO's processFormRequest, do pageContext.putTransactionValue(name, value). You can retrieve the value using pageContext.getTransactionValue(name). Please use your own judgement to use Transaction or Session as the place holder as per your requirement. In most cases, transaction would do but if you want the values to be retained across transactions, use Session. Also, make sure to clear those values when you are done with the values so that this does not get retained across session/transaction.
Incase, you want the values only for the next submit and not for the transaction, you can use pageContext.putParamater() and pageContext.getParameter() which has a very short life cycle.
Regards,
Guru. -
Beginner Question - How to hide the parameters of a created process on a remote machine.
OK so I am useng the following Powershell command invoke-WmiMethod -class Win32_process -name Create -Argumentlist ($some_command_with_parameters) -Authentication 6 -ComputerName $Your_Computer -Credential $cred
The question comes when I pass the command with parameters in the command is encrypted until it gets to the destination but then it appears to be very easy to view the command parameters by using a PROCESS Get command while that command is being run.
Is there a way to hide the parameters on the remote system to prevent someone from viewing those at the time I run my script. The problem is that I would like to pass a username and password as a parameter but would like to make sure it is fairly secure.Yeah I was trying to execute a cmd.exe /c ... This works great except the for mentioned issue. Essentially what I was trying is to create a backward mapped drive. In order to transfer a log that is created from the command I am running,
back to my machine. I know the process I am doing could potentially be done different but in the enviroment I am in it is very restricted so I am basically working with what I have here. Is there any way to at least make sure that no one other
than the person who created the process can see its arguments? Interactive prompts or using files won't work as I am doing this remotely and essentially issuing one long command that will do everything I want. A file might work but I don't have a secure
way to transfer a file as this has to be a process I can do on multiple servers and many of them do not have anything setup for doing that. The other issue is the credentials would still be unsecure on the server as long as the file was there.
I think my best bet would be if possible to restrict others from viewing a process and arguments that I create. Any ideas? -
How to hide/disable Spotlight on a client by using Workgroup Manager
Dear Apple Pro's
I'm looking for a script or Policy whatever to hide/disable spotlight on a client. Iam using WGM for policy's to disable some applications, but I can not find an option disable spotlight on a client. I hide a lot directory's systemfiles but if I type in the spotlight "terminal" on the client and click on it the terminal will start.
I've 400 iMacs on a school it makes me desperate.
Hope to hear from you pro's!One possible solution might be to change the permissions on the Spotlight app on all client machines. The command would be:
sudo chmod 600 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search
That way only root can run Spotlight. One may be able to roll that out via a startup script, too. -
How to Hide/Disable custom ribbon button on infopath form!
Is it possible to hide/disable custom ribbon button on specific infopath form library or list????
I just want to hide/disable custom ribbon button for specific form library and show/enable these buttons on the other form library!
Any suggessions??
Thanks in advance!Hi Tahir,
Using javascript you can show/hide ribbon on particualr page.
Open your SharePoint master page
Locate this line: <div
id="s4-ribbonrow"
class="s4-pr s4-ribbonrowhidetitle">
Change it to: <div
id="s4-ribbonrow"
class="s4-pr s4-ribbonrowhidetitle"
style="display:none">
Now find the end of the “s4-ribbonrow” tag and add following
block right after it: <Sharepoint:SPSecurityTrimmedControl
ID="SPSecurityTrimmedControl2"
runat="server"
PermissionsString="AddAndCustomizePages">
<script
type="text/javascript">
document.getElementById("s4-ribbonrow").style.display =
"block"; </script> </Sharepoint:SPSecurityTrimmedControl>
Save the new master page and publish it.
Or try this feature.
http://spribbonvisibility.codeplex.com/
Best regards,
Avinash. -
How to hide options from InfoView's "Schedule Report Page"?
Hi,
We are using Business Objects XI R2 InfoView (Java version) to schedule the reports.
Whle schedling the reports, schedule page displays the following option to the users -
1. When
2. Database Logon
3. Filters
4. Destination
5. Format
6. Print Settings
7. Server Group
8. Events
9. Parameters
And I need to display only three options (When, Format and Parameters) to the user and want to hide the rest of the options from the user.
Please let me know how to acheive this using the InfoView (Java version)?
Thanks,
VickyThanks for the reply.
I do not want the user to enter / change the database logon information and other setting of the report. As I set those info using the CMC.
And writing the our own pages using SDK will take lots of efforts and require java professionals for that.
I only need to hide those options please let me know how to hide them.
Thanks.
Vicky -
How to hide username and passward in web reports
Dear friends
Im runing one report on web but its showing the username and passward in the URL (address bar) can you please help me how to hide that passward.......
let suppose the username/passward is scott/tiger
thanks with regardsfor hide the password follow thses steps
user_name := get_application_property(username);
pass := get_application_property(password);
conn := get_application_property(connect_string);
con_url := 'userid='||user_name||'/'||pass||'@'||conn;
/* Convert the connect string into a hexadecimal character string. */
FOR i IN 1..LENGTH(con_url) LOOP
v_a := ltrim(to_char(trunc(ascii(substr(con_url,i,1))/16)));
if v_a = '10' THEN v_a := 'A';
elsif v_a = '11' THEN v_a := 'B';
elsif v_a = '12' THEN v_a := 'C';
elsif v_a = '13' THEN v_a := 'D';
elsif v_a = '14' THEN v_a := 'E';
elsif v_a = '15' THEN v_a := 'F';
end if;
v_b := ltrim(to_char(mod(ascii(substr(con_url,i,1)),16)));
if v_b = '10' THEN v_b := 'A';
elsif v_b = '11' THEN v_b := 'B';
elsif v_b = '12' THEN v_b := 'C';
elsif v_b = '13' THEN v_b := 'D';
elsif v_b = '14' THEN v_b := 'E';
elsif v_b = '15' THEN v_b := 'F';
end if;
con_url_temp := con_url_temp||'%'||v_a||v_b;
END LOOP;
path:='/reports/rwservlet?server=repserver4&destype=cache&'||con_url_temp||'&report='||rep_path);
web.show_document(path);
kuljeet pal singh -
How to generate a local file pdf with reports 11g
I want to generate a local pdf file to print it with client_host
I think using report builder can't support pdf output,...All of our reports are PDF output so Reports 11g definately supports this format.
I'm a little confused by your request, however. If your user has your PDF report displayed in a browser window - can't they just click the "Save" button in Acrobat Reader to save the report to their computer?
Is your user wanting to bypass this step and have the report generated and saved automatically to their computer? If this is what you want to do, then Francois's suggestion is the way to proceed. You will be using the WebUtil library to transfer the file to the client computer. This means, you will need to complete the configuration of the WebUtil library on your application server before you can use any of the WebUtil methods.
If you are new to WebUtil, I recommend you search the Forms Help on "Webutil" and review the following articles:
Configuring WebUtil
Runtime Setup Checklist
These first two articles give you step-by-step instructions for completing the WebUtil configuration on your application server.
Using WebUtil in Your Appilcations - This article will demonstrate how to implement WebUtil in a Form.
Hope this helps,
Craig... -
How to hide database parameters report ?
Post Author: xaviert
CA Forum: Publishing
HelloI use CR XI R2 Developer on my computer and offered version of BO XI SP3 with five users named on Windows 2003 server All reports are based on Oracle 10G database with the same server, user and password parametersIn Infoview, all reports work fine but when a report is used, database parameters are visible (only password) and can be modified Is there a solution to lock and hide all databases parameters (In CMC, I have only find how to not display filters) ? Thank you by advanceXavierGo to your page template body and remove
&APP_USER.
variable.
Denes Kubicek -
How to hide the Parameters?
Hi all,
I Have two parameters in a report. I need to hide one paramerter when another one is selected and vice versa. Kindly give me the solution. Thanks for your support in advance.
Thanks & Regards,
ShivaJason,
Thank you for your valuable Suggestion. Using formula I am prompting the Web elements message box If they selected both Parameters. But, I want to clear the PArameter values before prompt the message. Please have a look on below coding part and give me the solution how to clear the Parameter values. thnak You.
WhileReadingRecords;
if HasValue({?JG}) and HasValue({?P}) then
{?JG} = "";
{?p} = "";
test ("Select Job Group or Position")
Thanks & Regards
Shiva
Edited by: Sivaramakrishnan.it on Jun 2, 2010 8:01 AM -
How to hide/disable the Real URL on Browser
Hi
We are using Sun one Application server 7 on solaris.We are using JSP and Servlet.
Directory listing pattern is ocurring as www.myapp.com/rite/pre/information.jsp in address bar of browser.And Want to dispaly only www.myapp.com in address bar instead of www.myapp.com/rite/pre/information.jsp
Is it possible we can disable/hide the directory listing pattern from url in browser?
please help me out.share the ideas.
thanks
lalitI thought this is realetd to the security feature that's why I posted here and nothing else.
How to configure server to map www.myapp.com/rite/pre/information.jsp to www.myapp.com?
what are steps fro that?
please have look. -
How to Hide / Disable the delete button in EditForm using Infopath 2010
Dear Experts
In the SharePoint List 2010, need to disable / hide the Delete button while editing the item based on certain condition (based on logged in user)
E.g, if UserA logged then should able to delete the item in EditItem mode
if UserB logged then should not delete the item in EditItem mode
How to achieve this?
Regards
SantoshHi Santosh, it's you again! ;)
I don't think this is possible. You can remove it for all users, but not sure how you could accomplish it just for certain users. See the following link for more info.:
https://social.technet.microsoft.com/Forums/sharepoint/en-US/7a0cecbd-4aba-4fbc-a897-391e0ed4e613/disable-delete-item-option-from-ribbon-and-ecb-menu-even-for-contributors?forum=sharepointgeneralprevious
cameron rautmann -
How to hide the parameters passed into servlet or make it read only
Hi,
I am calling a servlet to downlaod files, using
<a href="../servlet/DownloadFile?directory=<%=attachmentPath%>&fileName=<%=fileName%>">But this will display all the paramters passed , of course as I am using hyper link. However I can not use
<form> to call the servlet because otherwise I got nested form anyway.
So the users would be able to change the directory and file names to download files I do not like them to download. Somebody would suggest hardcode the directory and filename, but these two parameters are dynamic, so I have to pass them into the servlet everytime I call it.
Any advice to disable the users to change or even view the two parameters on the address bar?
Thanks
</a>Here some code snippets to give you an idea of what I do.
Let's say you want to retrieve a file from your server, and you need to pass the full directory path info in your URL. You might have code as follows:
String fileName = "/server/SomeUltraSecretHiddenDirectory/ImportantSecretFile.doc";
Click <a href="/fileservlet?fileName=<%=URLEncoder.encode(fileName)%>">HERE</a> to download file.Using the above code, ANYONE can retrieve this file if they know the URL. Also, they could try to change the URL paths to find other files. In other words, it's NOT SECURE.
Now, try it this way (all exception handling is left out):
private static final byte[] salt = { (byte)0xd4, (byte)0xa3, (byte)0xff, (byte)0x9e,
(byte)0x12, (byte)0xc7, (byte)0xd0, (byte)0x84 };
String fileName = "/server/SomeUltraSecretHiddenDirectory/ImportantSecretFile.doc";
base64Encoder = new BASE64Encoder();
base64Decoder = new BASE64Decoder();
// get key object
SecretKey key = null;
PBEKeySpec keySpec = new PBEKeySpec("somesecretkeystring");
SecretKeyFactory kf = SecretKeyFactory.getInstance("PBEWithMD5AndDES");
key = kf.generateSecret(keySpec);
// get parameter spec
PBEParameterSpec paramSpec = new PBEParameterSpec(salt, 1000);
// create cipher
Cipher c = Cipher.getInstance("PBEWithMD5AndDES");
c.init(Cipher.ENCRYPT_MODE, key, paramSpec);
// take string and get encrypt it (base-64 encode it to get rid of non-printable characters
byte[] aResult = c.doFinal(fileName.getBytes("UTF-8"));
String strResult = base64Encoder.encodeBuffer(aResult);
// print the link
Click <a href="/fileservlet?fileName=<%=URLEncoder.encode(strResult)%>">HERE</a> to download file.
// on the server side, do the following to decrypt the link
String encryptedFileName = request.getParameter("fileName");
// create decryption cipher (i'm skipping a lot of the init code this time - see above for code example)
Cipher c = Cipher.getInstance("PBEWithMD5AndDES");
c.init(Cipher.DECRYPT_MODE, key, paramSpec);
// decrypt string
byte[] aResult = c.doFinal(base64Decoder.decodeBuffer(encryptedFileName));
String strResult = new String(aResult, "UTF-8");Now you have the decrypted String. Your link will be unreadable and unbreakable. 100% safe as long as your key password is safe. I hope that gives you an idea of what you can do with cryptography!
A few notes:
- Most of the above code is in separate methods that can be easily reused (especially encrypt() and decrypt())
- All exception handling has been left out
- The above code was patched together from memory, so don't expect it to work as is (that's my disclaimer :)
- You'll need the JCE libraries to use this functionality.
- For REALLY sensitive data (such as passwords), make sure you use one-way encryption (hashes) if you don't ever need to decrypt it again.
Michael
Maybe you are looking for
-
How to use a KVM switch with my IMAC
Have a new IMAC and wanting to use my KVM switch - is there a way to use it? Thanks,
-
PO field values at the time of Rlease.
Hai folks, I want to know the values for fields at the time of PO release.. LIke if i create a PO and Release it and change it and release it(so on many times) How will I know the values of fields at each release time.. My report has to display all
-
1. may i know how to solve this error ? 2. may i know how to sync video from my library to ipad ?
-
Wi-fi not working on phone and touch
i have a touch and phone both on 2.0 wifi was working fine till last night..i have restored just the iphone and restored it fresh(not backup) and still wifi not working but both will connect to other wifi's in my neighborhood..i have a netgear WGR614
-
Billing call data for previous months
I have always been on paperless billing to save money. As Kerry said in a previous post to encourage paperless billing: "Get organised Signing up to paper-free billing with My BT can save you time – and it makes finding your latest bill much easier t