I have a report that allows users to drill into sub reports and then come back to the main report and enter new criteria. I'm noticing that with each drill down and then back to the main report that the following information is added to my URL with each link clicked:
&ExecId=xq4pydfqqc3eqkygktfx0uah&PingId=f3kthzre4mbyg0mfjsfe0qmu
That is what I get after my first link followed, each additional link produces another:
&PingId=f3kthzre4mbyg0mfjsfe0qmu
After a user has been doing this for a while, the link starts to look like this:
&PingId=hbtv1gyagv4tsx55cdfc1on5&PingId=ghdx5b45fn4qk045zggkpi45&PingId=ykb5ku2jhy1d11iyaguann45&PingId=eryqw4eg3md2bsmsmxmqce45&PingId=3l4ppd45nl1t3355o0cbzij4&PingId=bxcp4l45cosufzba2o5cj355&PingId=oyqnea55wfkefv4552kj1045&PingId=nrhjfxjinnvmgl45rcqqbk55&PingId=44yavxb0rcldabuqzdeekl3a&PingId=3o4mtxy0e4hise454zfvp055&PingId=r1pjxf55o1yy0f55pfd1u345&PingId=m5j5xa550y4dmrqfrsfmczua
We're noticing not only performance issues, but eventually IE just craps out and I assume this is due to hitting the 2083 character URL max (roughly 20 links clicked).
I can find NO information about what the PingId is or what its purpose is. I believe it's like a GUID that tracks what you've done allowing you to drill back out of a report. Maybe that GUID is a representation of a variable being passed into the sub report, I don't know. Is there a way to scrub the URL when you click on a sub report or to drop the tracking that RS is doing? What I do know is that it's giving us a headache.
Thanks in advance.
I found a solution to my problem... This DOES NOT explain what the PingId is and why it's growing. Rather than setting the Action of a field to "jump to report" I changed it to "jump to url". Then I created a formula (see below) that takes the user back to the original report passing the arguments needed. This changes how the report is viewed (notice that it's ReportServer/Pages vs Reports/Pages). I found this article to be helpful: http://dobrzanski.net/2008/08/11/reporting-services-problem-with-passing-parameters-directly-in-the-url/
http://rs/ReportServer/Pages/ReportViewer.aspx?%2fDepartment+Reports%2fOperations%2f.Receiving+Stuff%2fPaperless+Receiving&rs:Command=Render&po_number="&Fields!po_number.Value
Related
Similar to the functionality of using a form formula in a view, I would like to figure a way to provide someone with a link to a document via a URL and have it open in an alternate form. I'm trying not to modify the actual form value on the document, that gets messy to keep straight.
The form is a very complicated form with tabbed tables and 90% admin data, but I would like to turn over the maintenance of just one small set of fields to the user community without them seeing everything else.
Is there a way to force a link to open it BY WAY OF A VIEW that has a form formula? That is what I am thinking. Either that or I create/populate some smallish document when providing the link, then send them a link to this smaller document and have it update the 'parent' in it's webquerysave event.
Thanks,
Matt
If you want to open the document in Notes, you could try to send them a notes-URL, in the form of
notes://yourServer/yourDatabase.nsf/yourView/yourKey?OpenDocument
I remember having a conversation about this with one of the original developers of the Domino web server many, many years ago -- but I wasn't 100% certain that I remembered the answer correctly. So, I just searched through my old documents looking for a draft of the article I was writing when I had that conversation (in 1997!). It turns out that I didn't cover it in that particular article, but I did cover it several years later in one of the chapters that I wrote for the Lotus Notes & Domino 6 Programming Bible
You may be wondering why, since a UNID uniquely identifies any note, is it necessary to include both a Document UNID and a View UNID in a URL. The same question actually applies to doclinks, which were discussed above. The truth is that you don’t have to include a View UNID in either case, but it does serve a purpose if you do. You can replace the View UNID in a URL with a zero, retaining the slash characters that surround it. If you do this, Domino will not be able to execute a Form formula, which you may have included in the code of one or more Views in your application. See chapter 15 for more information about Form formulas.
In other words, if you include the UNID of a view that has the Form Formula that you wnat in the ?OpenDocument URL that you are sending to the server. The Form Formula will be respected.
I'm automating a process with VBA, and I'm using SAP Scripting to do so.
The process is basically go to VA01, input the Orders Data and save the order.
But there is a variant in saving the order that is cracking up my head.
The SAP displays a popup message with relevant informations about the order, and I need that information and can't figure out how to get the Text out of the infobox that is displaying when you save the order.
Infos are: Blocked on price, No limit etc... And when it displays that message, I need to save it on a TXT file (i've already got a code for that), I just need a help in manage how to get that text out of the infobox.
If you had an access to the messages you can use MESSAGE - INTO (check info about it)
if i got your task incorrect pls write here. Good luck
I reproduce here the answer of the OP (#zanniboni):
"Hey, thanks for your help. I managed to do what I wanted with this code session.FindById("wnd[1]/usr/txtMESSTXT1").Text".
Hi we've created an explorer.It runs fine but however it goes missing from the information space list very often and upon re-indexing,it used to re-appear back.However today even after re-indexing n number of times,it doesn't show up..
I've checked it's universe security and user security settings in CMC with the rest of the explorers to see if it's any different from the rest and found all of them similar.
Can you please help me or advice me as where i'm missing out.
--VJAI
Not sure if this the correct Issue.But I found out that this happens only when the explorer is either opened or Users try to open it while it's being indexed.:-(
I have a workflow which runs every time a new list item is added.
The list item comprises of 3 fields:
a question,
a person to answer the question,
an answer.
The first 2 fields are supplied by the user who creates the list item, and the workflow routes the item to the expert who supplies #3, the answer.
On the answer form, I would like the question field to be populated with the question, however I can't drag the question field onto the form without it creating a repeating section, when it should be creating a textbox? It says the type is a group rather than just a string?
I'd also like to know how to get workflow variables into InfoPath forms.
Any ideas on how I'd go about creating a simple q&a collection workflow would be most appreciated.
The tl;dr part is the workflow needs to do this :
ask a question and specify a named user
route to user via workflow
get an answer from user
and that's it.
Your first issue is caused by the fact that your question node is a repeating node in your xml schema (see Data, Show fields, then double click the node and see that the Repeating check box is ticked). I suspect you probably wanted a repeating group with Question and Answer nodes. You would then drag the group onto the form. However it might be easier to simply hard code your schema to a specific number of questions as it'll save a bit of jiggery pokery getting the question text loaded in as you'll see below.
The second part is a little more involved and there are few good explainations on the web on how to do it. I have 2 books and neither are great at explaining this! Firstly you need to create a secondary datasource in the form and link it to an ItemMetadata.xml file which contains
<z:row xmlns:z="#RowsetSchema" ows_Question1="" />
<z:row xmlns:z="#RowsetSchema" ows_Question2="" />
etc. - note no root node exaclty like shown.
Then in your workflow you can set the value that your form will get in this secondary datasource at runtime by using something like:
MyFirstTaskTaskProperties.ExtendedProperties["Question1"] = "The text
of question 1";
In your infopath form you should set the default value of Main datasource question field to the node in the secondary datasource. Then when the thing runs it will work.
I hope you are reasonably familiar with SharePoint workflows as there are quite few other things you need to do to get an infopath form working in a workflow. In my experience it's quite painful getting it all working. Good luck my friend.
I'm trying to figure out how I can dynamically hide/unhide parameters for a Reporting Services report I've created via a URL query string. I've tried reading a whole bunch of stuff I found through a Google search and I've also tried reading various MSDN documents regarding SQL Server, but I have yet to find a way how I can pull this off. Does anyone know how I can accomplish this? Thanks in advance.
Not sure if you still want this, but you'd use the &rc:Parameters=false setting in the URL
Edit: that hides/unhides the parameter block as you mentioned.
To set parameters you'd have something like &EmployeeID=1234&FieldID=43 in the URL
So you can set parameters and hide them
Edit2: you can only do this at design time. I forget the option, but you can have hidden parameters in the report parameter page that can be set via URL access or via Report manager
Well.. this just goes to show my lack of experience with SSRS. My URL was off (apparently you can't preview reports through the Report Manager in the manner I was trying to).
EDIT: Problem still not solved -- I'm now having problems hiding a single report parameter conditionally through a query string (yes I was testing off the wrong URL originally but now I have the right URL and I still have problems when it comes to conditionally hiding a single parameter). If anyone knows how to do this, please let me know!
(DISCLAIMER: May depend on the version of SSRS you're using, if you're using 2005 & up, you should be good, I believe)
This is possible, in the xml definition for the report, find the definition for the parameter, it should look something like this
<ReportParameter Name="YourParameterNameHere">
<DataType>String</DataType>
<Prompt>YourParameterNameHere</Prompt>
</ReportParameter>
And you can add this line to set hidden to true:
<ReportParameter Name="YourParameterNameHere">
<DataType>String</DataType>
<Prompt>YourParameterNameHere</Prompt>
<Hidden>true</Hidden>
</ReportParameter>
Hope this solves your issue!