Help getting report to execute from URL
Hello,
I'm able to generate a URL to access a report with parameters specified; however, the user still has to click 'Apply' to run the report. Is there a way to format the URL such that the report is executed?
Thanks!
Jess
http://reports.myco.com/_vti_bin/reportserver?http://reports.myco.com/Engineering/EngineeringDocs.rdl&rs:Command=Render&year=1990
Hi Jess,
Sorry for the delay.
Based on the current description, I understand that you should access the reports in SharePoint Integration Mode.
We can use the parameters as part of a URL to access the report server, the parameter is updated automatically. IN your scenario, I suggest you checking the broswer.
Reference:http://msdn.microsoft.com/en-us/library/ms152835.aspx
Regards,
Heidi Duan
If you have any feedback on our support, please click
here.
Heidi Duan
TechNet Community Support
Similar Messages
-
HT1386 I need help getting my contacts transferred from my old phone to my new one
I need help getting my contacts transferred from my old iphone to my new one
Either backup the contacts in iCloud or with a compatible programme on your computer (Outlook, Windows Contacts, Address Book etc).
Once done, sync the contacts to your new iPhone from that programme/iCloud.
Read "Contacts"
http://support.apple.com/kb/HT1296
http://support.apple.com/kb/HT4859 -
Pls Help:Running a C executable from my Java Code
I am trying to run a C/C++ executable a.out from my Java code but its not working pls help me out...Its very very important
I am writing a segment of the code pls point out if i am making any mistakes
public void itemStateChanged(ItemEvent a)
int i=c1.getSelectedIndex();
Runtime r=Runtime.getRuntime();
try
if(i==0);
if(i==1);
if(i==2);
if(i==3)
r.exec("./prog/a.out");
System.exit(0);
}catch(Exception e){}
}I am working in UNIX enviornmentBefore any other attempt read: [url http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html]When Runtime.exec() won't.
-
So, I have a new computer and a new iphone and I'm trying to get the auido books I had on my old iphone to show up on my new one and in my itunes on my computer.
Any help would be greatly appericated!
Thanks!Hi alyharper09,
Welcome to the Apple Support Communities! I understand that you want your previously purchased audiobooks in your iTunes Library on your computer so that you can sync them with your new iPhone. Typically you can download your previously purchased media directly to your device or your iTunes Library on your computer but this is not the case with audiobooks, ringtones, or tones.
Download past purchases
http://support.apple.com/kb/ht2519
Audiobooks, ringtones, and tones
If you made a backup of these items on your Mac or PC, you can sync the items to your iOS device. You can't download these items again from iTunes in the Cloud.
The information you need on how to try and recover these audiobooks is located at the very bottom of this article. You may need to contact iTunes Store support.
If you can't find the item that you purchased in the iTunes Store, report a problem with the item. You can report a problem with a purchase made within the last 90 days.
If you have a problem with an older purchase, contact iTunes Store support.
Thanks for reaching out,
-Joe -
Help getting the first value from a arraylist
Hi
I have a arraylist, and when i print it out it prints out.
[ben, ben, ben]
[alex, alex]
[matt, matt]
[mum, mum]
[dad]
How can get it to print out so that it will say this?
ben
alex
matt
mum
dad
thanks
nickynnickys,
I showed you how to do exactly this only a few days ago.
http://forum.java.sun.com/thread.jsp?forum=31&thread=349885
If you didn't understand how it worked then I would have been more than happy to explain it to you.
Within the code we retreive a String array that contains one of the lines of your ArrayList. (The code loops through returning each one...);
// retrieve each element in turn
String[] thisLine = (String[]) li.next();
You could then loop through this and output each element of that array, like this...
for (int i=0; i<thisLine.length; i++) {
System.out.println(thisLine);
I hope this helps, salvadorEscobar. -
Please help me in accessing database from URl
hello can i please access database of yohoo messenger's online IDs from specific chat rooms e.g. regional, romance, programming etc.
Unless yahoo is terribly stupid, which I don't think they are, there is absolutely no way that you are going to access any database of theirs.
If you actually want a list that represents something on yahoo then your choices are:
-Ask yahoo for a page that displays it.
-Search yahoo to find the page yourself.
-Write a screen scaper that calls one or more pages and constructs the relevant data yourself.
If none of the above answers the question you are asking then please add more detail to make it more understandable. -
Already submitted to AUR: https://aur.archlinux.org/packages.php?ID=56282
I'm building a PKGBUID for a program called Cafe Pilot. I'm using it for the computer lab in my shop and could use some help getting it to execute properly. I'm pretty sure the PKGBUILD is good, because I can build and install just fine, but I get the error message below when I try to execute via CLI:
Caused by: java.lang.ClassNotFoundException: CafePilot_Server.jar
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: CafePilot_Server.jar. Program will exit.
not quite sure what this means... do I need to use JRE, or can i get away with openjdk on this? ANY input would help... working on the companion client package, but wanted to get the server out of the way first so I can streamline the creation of the client's PKGBUILD... Thanks in advance!
SOLUTION: editing of PKGBUILD and .sh file as posted below
https://bbs.archlinux.org/viewtopic.php … 4#p1051824
Last edited by CPUnltd (2012-02-02 23:42:05)1. The usage of the -classpath switch is incorrect. Per manpage, you invoke it like "-classpath <somepath>". So when you call
java -classpath -jar CafePilot_Server.jar
java 6 will throw an "NoClassDefFoundError: CafePilot_Server/jar". That means, java failed to find the class "jar" in the package "CafePilot_Server", which is not exactly what you intended to do (in java packages are delimited by dots like com.mypackage.MyClass, which would go into a file hierarchy like ./com/mypackage/MyClass.class). java 7 will give you the more shorter message: "Could not find or load main class CafePilot_Server.jar"
So in short, the -classpath flag eats your -jar flag. The easiest way around this is, to omit "-classpath", which will result the classpath defaulting to the current directory, or to call "-classpath /opt/CafePilot_Server/".
2. About the '/usr/lib/jvm/java-6-openjdk/bin/java' part: Is there a specific reason to not call the "java" command directly? On a java 7 install:
$file `which java`
/usr/bin/java: symbolic link to `/usr/lib/jvm/java-7-openjdk/jre/bin/java'
And on a java 6 one:
$file `which java`
/usr/bin/java: symbolic link to `/usr/lib/jvm/java-6-openjdk/bin/java`
So i would promote one of the following options:
a)
#!/bin/bash
cd /opt/CafePilot_Server
java -jar CafePilot_Server.jar
b)
#!/bin/bash
java -classpath /opt/CafePilot_Server/ -jar /opt/CafePilot_Server/CafePilot_Server.jar
I do not really have an idea of what the program is supposed to do, but as far as i can see, b) has the advantage, that you do not need to call it as root, since the program will write some logs to the current directory. So when you call a) as a normal user, you will get an Permission denied error, because the programm could not write its derby.log to /opt/CafePilot_Server/, whereas for b) you could call it from your home directory, and you will get the log right there.
Both options assume, that the lib/ directory is installed as mentioned in my previous post.
Last edited by Wey (2012-02-02 22:37:39) -
Get Report from external j2ee aplication, help and advice!
Hi all,
My problem is this...
I need to show in a j2ee external aplication a report in pdf format, already contained in the Oracle report server.
I can do it by url way, but of course, this cant be a definitive solution, principally by the fact of that the password of the Report Server must be specified in the URL of the call to the report.
I have also read something about using a KeyMap to hide the password, but it cant be the solution just because security problems...
The ideal way should be any that allow to get a specified report by validating (from reports server or something similar) that the cast of the report comes from my J2ee aplication, and once this is verified, to get the report from the Oracle report server.
Can it be possible? what ill need to do it?
I apreciate any idea,
thanks to all.The Reports Server Access Portlet may be of help here.
This portlet is described in the Reports Services Publishing Reports to the Web guide, available on OTN at http://www.oracle.com/technology/documentation/appserver.html (choose Oracle Application Server 10g Release 2 (10.1.2.0.2) in the top right corner and select the Oracle Application Server 10g Release 2 (10.1.2.0.2) library) -
Need help in Report From SQL Query
Hi All,
I am facing a problem with a report. I need your help.
I am creating a Report From SQL Query (Portal) with some arguments passed at runtime. I am able to view the output, if the query returns few rows ( arount 1000 rows). But for some inputs it needs to generate >15000 records, at this point the page is getting time out (i think!) and showing error page. I am able to execute query from the SQL Plus console ot using TOAD editor. Here the query is not taking more that 2 mins time to show the result.
If i am executing from Portal i observed that, once i give the appropriate input and hit submit button a new oracle process is getting created for the query on UNIX (I am usign "TOP" command to check processes). The browser page will be shown error page after 5 minutes (i am assuming session time out!) , but on the backend the process will be executed for more than 30 mins.
I tried also increase the page time out in httpd.conf, but no use.
The data returned as a result of the query is sized more than 10 MB. Is caching this much data is possible by the browser page? is the returned data is creating any problem here.
Please help me to find appropriate reasone for the failure?user602513 wrote:
Hi All,
I am facing a problem with a report. I need your help.
I am creating a Report From SQL Query (Portal) with some arguments passed at runtime. I am able to view the output, if the query returns few rows ( arount 1000 rows). But for some inputs it needs to generate >15000 records, at this point the page is getting time out (i think!) and showing error page. I am able to execute query from the SQL Plus console ot using TOAD editor. Here the query is not taking more that 2 mins time to show the result.
If i am executing from Portal i observed that, once i give the appropriate input and hit submit button a new oracle process is getting created for the query on UNIX (I am usign "TOP" command to check processes). The browser page will be shown error page after 5 minutes (i am assuming session time out!) , but on the backend the process will be executed for more than 30 mins.
I tried also increase the page time out in httpd.conf, but no use.
The data returned as a result of the query is sized more than 10 MB. Is caching this much data is possible by the browser page? is the returned data is creating any problem here.
Please help me to find appropriate reasone for the failure?Do you get any errors or warnings or it is just the slow speed which is the issue?
There could be a variety of reasons for the delayed processing of this report. That includes parameter settings for that page, cache settings, network configurations, etc.
- explore best optimization for your query;
- evaluate portal for best performance configuration; you may follow this note (Doc ID: *438794.1* ) for ideas;
- third: for that particular page carrying that report, you can use caching wisely. browser cache is neither decent for large files, nor practical. instead, explore the page cache settings that portal provides.
- also look for various log files (application.log and apache logs) if you are getting any warnings reflecting on some kind of processing halt.
- and last but not the least: if you happen to bring up a portal report with more than 10000 rows for display then think about the usage of the report. Evaluate whether that report is good/useful for anything?
HTH
AMN -
How do I execute a ssrs report rdlc file from c# winforms.
Hello
I am new to c#
How do I execute a ssrs report rdlc file from c# winforms.
I have a rdl file which i have converted to rdlc and "added" to my win form
when I try to run the report I dont get the output
Please help me with a sample code
regards
Manoj GokhaleHi Manoj,
According to your description, you want to display RDLC file using WinForms ReportViewer control.
In your scenario, you can add a ReportViewer control to a Windows application, then select a report that is part of the existing project. For more information, please refer to this article:
Using the WinForms ReportViewer Control.
If you have any question, please feel free to ask.
Best regards,
Qiuyun Yu
Qiuyun Yu
TechNet Community Support -
Get file list from URL/web directory
Hey guys,
I have created a script for After Effects that can download multiple images from URLs that are given in an array. Now ideally what I want, is to get all the filenames of the files in a certain browsable web directory to be put in an array.
Unfortunately, I can't seem to figure out how to do this. Does someone have the knowledge here to help me out?
Thanks in advance,
JorgeThis is more difficult to do than it seems. Since the files are on a remote web server, you need to find some way to get the server to divulge its local file structure, which is not something most servers will do. The absolute best way is to have control over the web server and run some server-side code (PHP, node.js, whatever) to generate the file list on the server side and then fetch it with your client/extension/script. Other than that it's almost impossible to get a 3rd party server to divulge its file structure as far as I know, mainly for security reasons. So the #1 question is: do you have control over the server/website that you're trying to fetch from or not?
-
Restrict 'Executing report in background' from selection screen
I want user to not to select option for executing report in background from Selection Screen of the program.
i.e. 'Execute Program in Background' option in 1st menu bar tab should either be disabled OR if user clicks on it then he should get error message on selection screen itself.
Thanks,
FalguniHi Falguni,
Write the code based on function code SJOB in the event AT SELECTION-SCREEN. Write the following code :
AT SELECTION-SCREEN
CASE SY-UCOMM.
WHEN 'SJOB'.
MESSAGE E000 WITH 'You cannot schedule background job'.
ENDCASE.
Thanks & Regards,
Faheem. -
Run Crystal Report from URL includes username and password
Hello,
I've downloaded CR 2008, and CR Server 2008 demo's.
I'm trying to use a feature I've used with CR10 enterprise, and XI report server, where I can run a report direct from the URL.
Something like:
HTTP://scada-ho/crystal/enterprise/admin/en/viewrpt.cwr?id=381&init=actx&apsuser=administrator&apspassword=&apsauthtype=secenterprise
or
http://192.168.72.98/businessobjects/enterprise115/infoview/main.aspx?id=1024&init=actx&apssystem=hobprim&apsuser=visy&apspassword=Fillers3&apsauthtype=secenterprise
I've noticed that there were subtle syntax differences between CR10 Enterprise and XI report server in the past, and expect that similar differences exist with CR server 2008.
Could someone show me the syntax for CR Server 2008 to run a report from a URL, and pass the required username and password, without having to go through the infoview logon screenTim,
Thanks for the reply. I admit I did see that thread when I was looking for a solution.
My hesitance is that for a non programmer it looks very difficult, and a lot of settings.
I liked the URL reporting because of its simplicity - one line.
I know that it advertises the username and password, but for our requirement (intranet reporting, LAN separated from IT), its not a big risk.
My further investigations indicate that for CRS 2008 something like the following should work:
http://192.168.207.156/CrystalReports/view.aspx?id=1102&apsuser=administrator&apspassword=admin1&apsauthtype=secEnterprise&init=java
However I get
404 - File or Directory not found.
I'm running on Windows7 with IIS7, so I think it must be an IIS configuration issue
Any Ideas? -
ImageIO - javax.imageio.IIOException: Can't get input stream from URL
Hi,
I'm developing a program which accesses a given URL of an image and saves it to a file. However when I try this I get the following error:
javax.imageio.IIOException: Can't get input stream from URL!
at javax.imageio.ImageIO.read(Unknown Source)
at ImageSave.main(ImageSave.java:12)
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
... 2 moreThe internet connection I am using uses a proxy server and I think this is where the problem lies. I'm using Eclipse version 3.3 and I've tried changing the network settings to use the proxy's hostname and port but this still isn't working. I've also tried using System.setProperty("http.proxyHost", "hostname") and System.setProperty("http.proxyPort", "port") but that hasn't worked for me either. Below is my class in full.
import java.awt.image.*;
import javax.imageio.*;
import java.io.*;
import java.net.*;
public class ImageSave
public static void main(String args[])
try {
URL url = new URL("http://www.example.com/image.jpg");
BufferedImage image = ImageIO.read(url);
ImageIO.write(image, "JPG", new File("image.jpg"));
catch (Exception e) {
e.printStackTrace();
}The error occurs with the line: BufferedImage image = ImageIO.read(url);
I have tried looking for a way to change how this specific method accesses the internet (e.g: a Proxy parameter with URLConnection) but there doesn't seem to be any.
Any help or suggestions would be greatly appreciated.
-RobertAh, that worked fine. I had thought of using that earlier but I was under the impression that the input stream would be HTML rather than an actual image. Not sure why.. Anyway, thanks very much for your help!
Here is the new code with your suggested revisions and a URLConnection to get the input stream:
import java.awt.image.*;
import javax.imageio.*;
import java.io.*;
import java.net.*;
public class ImageSave
public static void main(String args[])
try {
// This is where you'd define the proxy's host name and port.
SocketAddress address = new InetSocketAddress(hostName, port);
// Create an HTTP Proxy using the above SocketAddress.
Proxy proxy = new Proxy(Proxy.Type.HTTP, address);
URL url = new URL("www.example.com/image.jpg");
// Open a connection to the URL using the proxy information.
URLConnection conn = url.openConnection(proxy);
InputStream inStream = conn.getInputStream();
// BufferedImage image = ImageIO.read(url);
// Use the InputStream flavor of ImageIO.read() instead.
BufferedImage image = ImageIO.read(inStream);
ImageIO.write(image, "JPG", new File("image.jpg"));
catch (Exception e) {
e.printStackTrace();
}Edited by: Ragnarob on Apr 21, 2009 2:49 AM -
Get parameter from URL in Java code
Hello everyone,
I've got strange problem. I have one JSF page with two controls:
- InputText
- Button
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<af:document title="view12.jsf" id="d1">
<af:messages id="m1"/>
<af:form id="f1">
<af:inputText label="Label 1" id="it98" value="#{param.test}" editable="always"/>
<af:commandButton actionListener="#{bindings.przekierowanie.execute}" text="przekierowanie"
disabled="#{!bindings.przekierowanie.enabled}" id="cb1"/>
</af:form>
</af:document>
</f:view>
And I want to initialize the InputText with parameter from URL (param name is test - value="#{param.test}"). In JSF page everything is fine. But after clicking button I have to read the value from InputText in Java Code, so I have URL:
http://127.0.0.1:7101/Application6-ViewController-context-root/faces/view12.jsf?test=asd
and my Java code which is executed after clicking button is:
public String przekierowanie() {
Map <String,String> map=FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap();
String tttValue=map.get("test");
System.err.println("test:" + tttValue);
return null;
but this doesn't work... Everytime I get null when I click the button. Could you tell me why and How to obtain this value, from InputTex in my java function?Hi,
If you have a parameter in URL named as "product", you can get its value like:
import javax.faces.context.FacesContext;
import javax.servlet.http.HttpServletRequest;
FacesContext facesContext = FacesContext.getCurrentInstance();
HttpServletRequest httpRequest =
(HttpServletRequest)facesContext.getExternalContext().getRequest();
String product = httpRequest.getParameter("product");
Maybe you are looking for
-
New MacBook Pro 15" Retina arrived today. Software Update reports that updates are available for iPhoto and iMovie, bundled with purchase. However, when UPDATE is selected, the error message "You have updates available for other accounts. To update t
-
The newer versions of Firefox are incompatible with my website builder. Tech support advised me that Firefox 3.6 would work.
-
Help required in Reading smartform
Hi Everyone, Can any one please tell me if there is any function module to read a smartform and its nodes. Function module READ_FORM is there for reading the scripts. Is there any similar function module to read smartforms. Awaiting
-
Can i see logfile for oracle-xe on RHEL4 ( redhat OS ) ?
Can i see logfile for oracle-xe on RHEL4 ( redhat OS ) ? Where the logfile store ? i want to see if i got problem like :can't connect oracle-xe :can't access htmldb :can't run complete and others. Thank you very much pratchaya
-
Anyone Know How To Get The New York Time-Lapse?
I saw it playing on a Black MacBook in the store window. I asked someone there and they said it was a streaming video on a loop. There was a White MacBook next to it playing more of a Wilderness kind off thing. Anyone know where I can get the New Yor