Query in URL
Hi guys,
Having seen "select max(Size_mb) as size_mb hkadm.size_history_view%40..." in my url I've decided its probably not to best to pass values through there. However I'm not sure why my query actually appears there...any ideas? All LOVs are with submit. The graph only appears when the Database LOV is not null. Any idea how to remove this?
http://i31.tinypic.com/17ed12.png
Mike
Hello,
It seems your query is sent to the graph page as a parameter...
It is not Apex standard way of doing...your app is designed it like that. You could use instead of URL arguments : computations or whatelse you like ( PL/SQL, SELECT, ... )
Not null means %null%? Check the display condition of your graph.
Are you discovering Apex?
Cheers,
Arnaud
Similar Messages
-
QSUF (Query string url filter) and SQL Server reporting services report viewer parameters
Hi,
this is my issue:
I have a SQL Server reporting services web part on a page with a report with 1 parameter, lets say it's a client list
Then i have a QSUF that will be used to filter the clients list through the URL
However, once i connect the filter and the report viewer web part, the parameter goes away and is no longer accessible
I'd like to somehow keep the parameter visible, in case there is no parameter sent through the URL, i would like the user to be able to choose a client from the parameter drop down list
I saw that there is a "send empty if no values are passed" option, but i can't seem to get this working properly and i don't know if this option will make the parameter visible again
Any help would be appreciated
Thanks.Hi,
According to your post, my understanding is that the query string url filter web part not worked well with SQL server reproting services web part.
Did you use the Wiki page layout in your environment?
You can change the page to a web part page, then check whether it work.
There is a similar thread for your reference.
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/4d7584e3-8e1a-48bf-9346-32f8cb480dd1/query-string-url-filter-web-part?forum=sharepointgeneralprevious
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
Hi,
I want to pass multiple query string values using the same parameter in Query String (URL) Filter Web Part like mentioned below:
http://server/pages/Default.aspx?Title=Arup&Title=Ratan
But it always return those items whose "Title" value is "Arup". It is not returned any items whose "Title" is "Ratan".
I have followed the
http://office.microsoft.com/en-us/sharepointserver/HA102509991033.aspx#1
Please suggest me.
Thanks | Arup
THanks! Arup R(MCTS)
SucCeSS DoEs NOT MatTer.Hi DH, sorry for not being clear.
It works when I create the connection from that web part that you want to be connected with the Query String Filter Web part. So let's say you created a web part page. Then you could connect a parameterized Excel Workbook to an Excel Web Access Web Part
(or a Performance Point Dashboard etc.) and you insert it into your page and add
a Query String Filter Web Part . Then you can connect them by editing the Query String Filter Web Part but also by editing the Excel Web Access Web Part. And only when I created from the latter it worked
with multiple values for one parameter. If you have any more questions let me know. See you, Ingo -
Having problems creating PDF from website with query-string URLs
I have a website that I would like to create a PDF from. I am using the Create -> PDF from Web Page..., selecting the site's home page, and capturing 2 levels, with "stay on same path" and "stay on same server" checked in order to limit the scope of the crawl.
Where the pages are at example.com/foo/ and example.com/foo/bar/, this works fine. However, where the pages are at example.com/foo/ and example.com/foo/?p=1, the page represented by the query string URL is not converted to the PDF.
This is a problem, given that the site I want to archive as a PDF uses query strings for most of its pages.
I have been able to individually convert a single query-string-based page into a PDF using this method, but doing this for every page on the site would be almost impossible given the sheer number of pages on the site.
Is this a known issue? Is there a workaround other than separately capturing each page (which would be prohibitive effort)?
I have tried this in both Acrobat Pro X and Acrobat Pro 9 for Mac, with the same results.Remember, Acrobat is a 32-bit application and as such cannot access all that 'extra' stuff.
Be well... -
Content presenter: datasource based on CMIS query with URL parameters
Hi all,
I am trying to create a page containing a content presenter taskflow that is based on a CMIS query containing URL parameters. In my component properties I define the following query for my datasource:
+SELECT * FROM ora:t:IDC:GlobalProfile WHERE ora:p:xqblIntranetSubGroep='${param.qblSubGroep}'+
I have a URL parameter qblSubGroep containing the value "Nieuws".
Somehow my page does not show any content. It looks like the parameter value is not passed to the data source query. When I change my query to
SELECT * FROM ora:t:IDC:GlobalProfile WHERE ora:p:xqblIntranetSubGroep='Nieuws'
so, I hardcode the value of my URL parameter in my query, the expected content items are shown.
Also, I have another page containing a content presenter taskflow for a single item, based on the data source:
+${'WebCenterSpaces-UCM#dDocName:'}${param.dDocName}+
In this case, URL parameter values for dDocName are passed correctly and content presenter is showing the document with dDocName as entered in the URL.
Does anybody have any idea on how to solve this probem?
regards,
Haroldhi all
when i try using cmis query with Arabic characters it display no results .
SELECT * FROM ora:t:IDC:GlobalProfile WHERE AND ora:p:xAgrPressMag LIKE'جريدة الرياض'
this is the query i am using and the value inside ora:p:xAgrPressMag is correct and i try search this value inside content presenter normal search and it display results i am afraid that cmis query doesnt accept arabic characters
any suggestion please its top urgent
best regards
Edited by: 975169 on Feb 26, 2013 12:59 AM -
Difference: SAP BW Report iview - Query iView - URL iView
Hi,
I want to show BW reports on the portal. Can anybody suggest me the different ways of doing it ? And also let me know about checklist of steps that need to be performed.
Can anybody tell me the difference between showing BW reports through URL iviews, showing reports through Query iView and showing reports through SAP BW Report iView ?
Which one can i use for showing BW reports taking into consideration the implementation of SSO between the two? I tried the URL iView (using the Web URL of reports generated by BW) but it asks for Username/password. Is that the problem with SSO. How can i check if SSO parameters have been set or not. I have imported the verify.der to BW System and added that to ACL. Is there anything else which is required?
Thanks in advance.
Rgds,
MAHi Manoj,
I feel BW report iview will solve your problem. You can create a query sting in BW query designer and give the same in BW query string text area while creating BW report iview.
In the case of an url iview you are just giving a URL link of the BW report (this will ask for username/password).
But, in the case of a BW report iview you can view the required query as an iview (user mapping can be successfully done in this case) You should give fully qualified domain name in Was server option while creating the system.
While using the logon ticket Login id of both the system (ie BW and Portal) should be the same.
Refer the link for SSO using logon ticket)
User Mapping-based Single Sign On
Regards,
Vinod -
BEx Query Designer - Url openining problem
Dear All,
While running a BI query through BEx Query Designer, it is generating portal URL as:
http:///irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=ZTEST_Q0001&VARIABLE_SCREEN=X&DUMMY=20
have created source system and all RFCs required as running properly.
Any ideas further please ??
my usage type is as below
Active Usage Types
Product Name UT Code Short Name Description Activation Date Configured
SAP NetWeaver 2004s BI BI Java BI Java Mon Aug 11 00:00:00 IST 2008 YES
SAP NetWeaver 2004s AS AS Java Application Server Java Mon Aug 11 00:00:00 IST 2008 YES
SAP NetWeaver 2004s EPC EP Core Enterprise Portal Core Components Mon Aug 11 00:00:00 IST 2008 YES
SAP NetWeaver 2004s EP EP Enterprise Portal Mon Aug 11 00:00:00 IST 2008 NO
SAP NetWeaver 2004s AAS AS ABAP Application Server ABAP Mon Aug 11 00:00:00 IST 2008 YES
Please correct me where to configure default host name
Regards,
Ravi ghangurdeDear all.
Below are the details probelm .
i want to open the portal nwa using url "http://10.2.202.154:50000/nwa" but it's ask me username and password screen , when entering J2EE_ADMIN user and correct password next screen is not appears
and same user name and password screen shows again.
when putting worng password it's show authontication fail message.
Below are url details after providig the correct password.
http://10.2.202.154:50000/logon/logonServlet?redirectURL=%2Fwebdynpro%
2Fdispatcher%2Fsap.com%2Ftc%7Elm%7Ewebadmin%7Emainframe%7Ewd%
2FWebAdminApp
in morning it was showing the nwa screen when loginig with path
http://10.2.202.154:50000/nwa and j2ee_admin and password
but we are only change sso tiket parameters in default profile and create tiket in visual administrator.
after than i am not able to open the portal NWA
i want to run post installation wizard for BI post installation please suggest to open the NWA.
is any other way for BI post installation wizard
Regards,
Ravi Ghangurde -
Can't decode query in URL!!!
On HTML page I have java script like this:
function subApp()
window.open("test.jsp?param="+escape("������������"));
When in test.jsp page I try to get query using java.util.Decoder.decode(request.getQueryString(), 'utf-8') I've got following exception: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "u0"
What is wrong in this example?I have tried to get this parameter using request.getParameter("param") but i have got only NULL.
I looked src for java.net.URLDecoder and i think this problem occur because:
1. As you can see in JavaScript reference function "escape" doing following:
The escape method returns a string value (in Unicode format) that contains the contents of charstring. All spaces, punctuation, accented characters, and any other non-ASCII characters are replaced with %xx encoding, where xx is equivalent to the hexadecimal number representing the character. For example, a space is returned as "%20."
Characters with a value greater than 255 are stored using the %uxxxx format.
(This means if i input : location.href = "test.jsp?param="+escape(привет); in address bar i will have following url: test.jsp?param=%u0407%u0430%u0401%u045E%u0490%u0432 )
2. As you can see in src of java.net.URLDecoder sequence %uFFFF will throws exception:
case '%':
* Starting with this instance of %, process all
* consecutive substrings of the form %xy. Each
* substring %xy will yield a byte. Convert all
* consecutive bytes obtained this way to whatever
* character(s) they represent in the provided
* encoding.
try {
// (numChars-i)/3 is an upper bound for the number
// of remaining bytes
byte[] bytes = new byte[(numChars-i)/3];
int pos = 0;
while ( ((i+2) < numChars) &&
(c=='%')) {
bytes[pos++] =
(byte)Integer.parseInt(s.substring(i+1,i+3),16);
i+= 3;
if (i < numChars)
c = s.charAt(i);
// A trailing, incomplete byte encoding such as
// "%x" will cause an exception to be thrown
if ((i < numChars) && (c=='%'))
throw new IllegalArgumentException(
"URLDecoder: Incomplete trailing escape (%) pattern");
sb.append(new String(bytes, 0, pos, enc));
} catch (NumberFormatException e) {
throw new IllegalArgumentException(
"URLDecoder: Illegal hex characters in escape (%) pattern - "
+ e.getMessage());
I think we have some mistakes or javaScript function is wrong or URLDecoder is wrong. -
Parameter form works on web but submit query causes url error
we have been able to both run the report on the web server with parameters preincluded and run a parameter form by itself. The question is how do you run a report with a parameter form on the web in which you enter the parameters and then submit the query without it giving you a cannot find url error?
Any help is greatly appreciatedThese values are not stored in any file. Reports server will replace action and hidden with the actual values while generating parameter form. You can see the source of html parameter form generated to understand these.
For your scheduling requirement one very simple solution would be to create a user parameter with name 'SCHEDULE' and map a field in the pform to the 'SCHEDULE' user parameter.
You can also use a hidden field by name 'SCHEDULE' and set the value using javascript when button is clicked. -
Hello All. I am in need of assistance in creating a query link for a sharepoint 2013 list. I would like to create a link that will query a column other than the Item ID: http://somesite.aspx?QuerySearch={ItemId}.
Is there a way to accomplish this, let's say
http://somesite.aspx?QuerySearch={Title}?Hi,
According to your post, my understanding is that you wanted to creat a query link for a SharePoint 2013 list.
You can use the URL as below, it return the item which Title is equal to Test.
https://sitename/Lists/external%20test/AllItems.aspx?FilterField1=Title&FilterValue1=Test
In addition, you can use Query String Filter Web Part.
More information:
http://technet.microsoft.com/en-us/library/cc751316.aspx
http://www.wonderlaura.com/Lists/Posts/Post.aspx?ID=69
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Hi,
i am trying to run queries on our TREX using URLS like this:
http://xyz.abc.net:50000/irj/servlet/prt/portal/prtroot/com.sap.km.cm.service?startpage=searchpage&configfilename=navigation.xml&layoutsetmode=exclusive&resourcelisttype=com.sapportals.wcm.searchresultlist&searchtype=quick&selectedsearchin=1&selectedsearchfolder=/room_extensions/cm_stores/pm_news_storage/workspaces/[Room_ID]&SelectedSearchFromHere=/documents&QueryString=test&SelectedSearchIndices=[INDEX_NAME]&EnableSearchOptions=False
Is there any documentation on the parameters, their functionality and values, that are contained in this URLS.
For example i´m wondering what SelectedSearchFromHere would do?
Any hints, links, etc. are appreciated.
Best Regards
Christopher HöfeleHi Christopher,
We are doing something very similar in EP5 SP6.
To build our URL, we used the 'save search as iView' option on our 'test' search. That allowed us to select the options in the advanced search screen that we wanted to search on. Then, we exported the resulting iView which generated an XML document with the required search options.
We then took those node names (ex:SelectedCustomProps) and built an HTML document to allow for the selected search URL to be built dynamically.
See this as an example:
function callURL(){
document.getElementById('searchResult').src = host"/irj/servlet/prt/portal/prtroot/!2fglobal!2fservices!2finstalled!2fcom.sapportals.km.service?StartPage=NavigationPage&ConfigFileName=Navigation.xml&SelectedMatchesPerPage=8&rndLayoutSet=z_SunnetSearchResultLayoutSet&layoutSetMode=exclusive&ResourceListType=com.sapportals.wcm.SearchResultList&SearchType=ctrlpers&SelectedSearchIn=1&SelectedSearchFolder=/SunNet_News_Repositorys/Articles&SelectedSearchFromHere=/SunNet_News_Repository/Articles"termprosort;
where 'term' = Query entered by user (defaults to '*')
'pro' = Selected custom properties (from dropdown)
'sort' = Selected "SortBy" choice (from dropdown)
Hope this helps give you some more ideas
Regards,
Graham. -
Query regarding URL Encoding......in struts
Hi Friends,
I am working in Struts.
Now in some cases i have to send some data (like some id or falg value ) in URL as queryURL.
now when the page calls at that time on the address bar i saw the whole URL.
I wanted to encode that URL.so that no one can undestand the actual parameter values and name.
So can any one help me about this.
Thank You,
Ajay PatelYou could simply POST the data as opposed to using GET. Though it doesn't encode/ encrypt the data, but simply adds the parameters into the body of the request. If someone were to look at your requests, they'd be able to see this data.
As for actually hiding it through encryption, you could get JavaScript libraries to do this on form submit but I doubt you'd need that much security. You could also try base64 encoding for a simpler approach.
People on the forum help others voluntarily, it's not their job.
Help them help you.
Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
(Yes I know it's on JavaRanch but I think it applies everywhere)
---------------------------------------------------------------- -
Hi,
If I have a set of HTTPURI's in the database like this:
http://www.domain.com/product
http://www.domain.com/product/p1
http://www.domain.com/product/p2
http://www.domain.com/product/p3
Currently they are HTTPURIType's
is it possible somehow to create a query to get this data, something like:
select * from myTable where httpurl >= 'www.domain.com/product'
Basically I want a xpath query, but not sure if this is at all possible.
a like statement is not quite right because
where httprul like 'www.domain.com/product%'
would return:
../product
../product_1234
../product/p1 ...etc.
I want to prevent this and not have to use a messy OR clause.
thx.
S.SELECT
INITCAP(a.NAME_L),
INITCAP(a.NAME_F),
a.TEL_OFF,
INITCAP((SELECT c.FACILITY_NAME FROM TXI_FACILITY c WHERE c.FACILITY_ID = a.OFF_LOC)) AS OFF_LOC,
a.TEL_HOME,
a.TEL_CELL,
a.TEL_FAX,
INITCAP((SELECT NAME_F||' '||NAME_L FROM TXI_PEOPLE b WHERE b.PERSON_ID = a.MGR_ID)) AS MANAGER
FROM TXI_PEOPLE a
WHERE UPPER(a.NAME_F||a.NAME_L) LIKE '%'||UPPER(REPLACE(REPLACE(:srch_emp,',','%'),' ','%'))||'%'
AND a.OFF_LOC IN ('10','153','155')
AND a.TEL_HOME = NVL(:srch_loc,a.TEL_HOME)
AND (a.TEL_OFF LIKE '%'||:srch_phone||'%' OR (a.TEL_OFF IS NULL AND :srch_phone IS NULL))
AND UPPER(a.EMP_STATUS) LIKE 'ACTIVE%'
I also tried adding this as well, but didn't seem to work:
AND a.OFF_LOC IN (''''||substr('10,153,155',1,2)||'''')||
',' ||(''''||substr('10,153,155',4,3)||''''||
',' ||(''''||substr('10,153,155',8,3)||'''')) -
I have a "list of values" that has one option in it with the value 10,153,155
Now on the next page I'm expecting something like this:
AND a.OFF_LOC IN NVL(:srch_facility,a.OFF_LOC)
where :srch_facility is the passed parameter...Now since 10,153,155 comes in with commas it returns no rows.
Any way to get this work with just this SQL Query?
Here is my full query:
SELECT
INITCAP(a.NAME_L),
INITCAP(a.NAME_F),
a.TEL_OFF,
INITCAP((SELECT c.FACILITY_NAME FROM TXI_FACILITY c WHERE c.FACILITY_ID = a.OFF_LOC)) AS OFF_LOC,
a.TEL_HOME,
a.TEL_CELL,
a.TEL_FAX,
INITCAP((SELECT NAME_F||' '||NAME_L FROM TXI_PEOPLE b WHERE b.PERSON_ID = a.MGR_ID)) AS MANAGER
FROM TXI_PEOPLE a
WHERE UPPER(a.NAME_F||a.NAME_L) LIKE '%'||UPPER(REPLACE(REPLACE(:srch_emp,',','%'),' ','%'))||'%'
AND a.OFF_LOC IN NVL(:srch_facility,a.OFF_LOC)
AND a.TEL_HOME = NVL(:srch_loc,a.TEL_HOME)
AND (a.TEL_OFF LIKE '%'||:srch_phone||'%' OR (a.TEL_OFF IS NULL AND :srch_phone IS NULL))
AND UPPER(a.EMP_STATUS) LIKE 'ACTIVE%
Thank you in advance!SELECT
INITCAP(a.NAME_L),
INITCAP(a.NAME_F),
a.TEL_OFF,
INITCAP((SELECT c.FACILITY_NAME FROM TXI_FACILITY c WHERE c.FACILITY_ID = a.OFF_LOC)) AS OFF_LOC,
a.TEL_HOME,
a.TEL_CELL,
a.TEL_FAX,
INITCAP((SELECT NAME_F||' '||NAME_L FROM TXI_PEOPLE b WHERE b.PERSON_ID = a.MGR_ID)) AS MANAGER
FROM TXI_PEOPLE a
WHERE UPPER(a.NAME_F||a.NAME_L) LIKE '%'||UPPER(REPLACE(REPLACE(:srch_emp,',','%'),' ','%'))||'%'
AND a.OFF_LOC IN ('10','153','155')
AND a.TEL_HOME = NVL(:srch_loc,a.TEL_HOME)
AND (a.TEL_OFF LIKE '%'||:srch_phone||'%' OR (a.TEL_OFF IS NULL AND :srch_phone IS NULL))
AND UPPER(a.EMP_STATUS) LIKE 'ACTIVE%'
I also tried adding this as well, but didn't seem to work:
AND a.OFF_LOC IN (''''||substr('10,153,155',1,2)||'''')||
',' ||(''''||substr('10,153,155',4,3)||''''||
',' ||(''''||substr('10,153,155',8,3)||'''')) -
Interactive script - Query on URL and Actions
Dear Experts,
I have a couple of queries,
a) Is there a way we could pass parameters to the URL that's been used in Interactive script?
My requirement is as follows,
We would like to launch an interactive script which has to open up a google map, this map should automatically show the map of the confirmed customer's address. Any inputs on this is greatly appreciated.
b) In Interactive script, we do have some actions that points to a class. We also have questions with BDC fields that refer to the action for field updates. My question here is how are these classes created - Are they ABAP classes? How is the mapping between the field values and class parameters done? Any inputs on this would be really helpful.
Thanks,
KanthimathiHi Kanthi,
You can use the Navigation via Action in Interactive Scripting for this.
Regards,
Anup
Maybe you are looking for
-
I'm a long time Excel user. I want to import a few of my Excel spreadsheets into Numbers so I can then take advantage of iCloud Drive to add data to these particular Numbers spreadsheet from my iPad Air 2 (latest version of IOS 8). Any modification
-
After placing a number using the count tool I was unable to move the number. I hovered over the number and the cursor changed but when I attempted to drag the number nothing occured and the cursor changed back to a "+" cursor. Thank you Hardware Over
-
Error - ship to party could not be determined
Hi probably really easy error to resolve.... have created a new contract and billing type with reference to existing ones, the contract creates correctly however, when try to bill get error message that the ship to party could not be determined. If
-
WISM at headquarters and 1121G's at WAN sites (T-1)
I have approximatley 100 1121G aps that were autonomous and coverted to lightweight on my LAN with various wlans. I have 13 WAN sites that are connected T-1 with about 20 1121G's currently in autonomous mode. Can I convert those aps to lightweight an
-
Apps not in pc but are on ipod
took 2nd hd out of old pc (2nd drive only had itunes library)and installed in new pc, all my music and podcasts are there but all my apps are gone, both free and purchased, but they are on my ipod touch, how can i get them back into library?