Jump to content
We've recently updated our Privacy Statement, available here ×

billaras1234

Members
  • Posts

    1
  • Joined

  • Last visited

billaras1234's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi i have jaspersoft server 6 and i have succssfully been able to use the jasperserver/flow.html?_flowId=viewReportFlow url and view a report Please if you could assist with the following: 1)Can i put a parameter to the jasperserver/flow.html?_flowId=viewReportFlow url and force the server to give only the file and not the rest of the ui (so the browser pops a save as). My intention is to get the final file only so i can somehow change it to base 64 string and save it in the database autocatically 2)If 1 cant be done then i should use web services? 3)I tried the web services through c# but i cant get it to work, My code: WebClient httpclient = new WebClient();httpclient.Credentials = new NetworkCredential(username, password);httpclient.Headers.Add("Content-Type", "application/x-www-form-urlencoded");string requestXml;requestXml = "<resourceDescriptor name="net.sf.jasperreports.json.source" wsType="inputControl" isNew="false" uriString="/Reports/MyReportFolder/MyReport/net.sf.jasperreports.json.source">";requestXml += " <value>"+filepath+"</value>";requestXml += "</resourceDescriptor>";string requestAllResult = httpclient.UploadString(serverurl, "PUT", requestXml);the report works by supplying the filepath of a json file to an inputcontrol which is hiddeni always get a bad request exception in the last lineIt says that the ...of type com.jaspersoft.jasperserver.api.metadata.common.domain.InputControlsContainer not found thanks
×
×
  • Create New...