How to use wildcards in REST filter for subscription items
I am following this documentation:
String column filters
Support % (starts with) operator.
Support * (Contains) operator.
Does not support (ends with) operator.
Examples:
Name=service*
Name=*g*
Name=*g -- not allowed
REST URL:
http://<ServerURL>/RequestCenter/nsapi/serviceitems/serviceitemsubscription/<columnName>=<wildcardValue>
I can get filters to work without wildcards, but have had no success using '*' or '%' characters. Please provide a properly encoded sample URL for
ServiceItemTypeName starting with 'Virtual'. I have not been able to get any data returned when using wildcards in a filter.
Here is what I have tried:
ServiceItemTypeName=Virtual Server Snapshot
http://10.8.0.46:8080/RequestCenter/nsapi/serviceitems/serviceitemsubscription/ServiceItemTypeName=Virtual%20Server%20Snapshot
response: 200
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><AllServiceItems totalCount="1" recordSize="1" startRow="1">
literal works as expected
ServiceItemTypeName=Virtual%
http://10.8.0.46:8080/RequestCenter/nsapi/serviceitems/serviceitemsubscription/ServiceItemTypeName=Virtual%25
Application-Type=application/xml
response: 200
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><AllServiceItems totalCount="0" recordSize="0" startRow="1"/>
expected result not returned
ServiceItemTypeName=Virtual*
http://10.8.0.46:8080/RequestCenter/nsapi/serviceitems/serviceitemsubscription/ServiceItemTypeName=Virtual*
Application-Type=application/xml
500
<nsapi-error-response>Internal Error: Invalid parameter values specified or unexpected error.</nsapi-error-response>
fails with error response
Hi Dan,
I don't think you can use wild cards here.
Please see the Integration Guide for 9.4. Section: "REST API -> Quick Reference".
Here you'll find a table of what features are supported for the different resources exposed by the API. In there you will find a row for "All Service Items", and you'll see that: Get All, Sorting, Paging and All Filters are supported; Wildcards Name Search are not...
When I came accross this same situation, I assumed that I am trying to do a Wildcard Name Search here... and it's not supported. It does, however, work for the other (SI Designer created) columns, which is what I believe the documentation is trying to describe. (Though, personally, I feel this is a bug).
Similar Messages
-
How to use value of Report Rows for another Item heading (interesting)
Hi!
This seem to be interesting question.
I have a classic report which has 4 rows with date values. The Row1 has Date1, Row2 has Date2 and so on.
The report is structured like this
DATE_COL COL1 COL2
Row1 Date1 100 101
Row2 Date2
I want to use the values of DATE_COL of ROW1 which is Date1 in the label of ITEM1 which can be on same page or different page.
Also I want to sue the value of DaTE_COL of ROW2 which is Date2 in the label of Column 1 of Report 2.
How to accomplish this? Appreciate your suggestions.
Thanks,
--CPcpora007 wrote:
Hi!
This seem to be interesting question.
I have a classic report which has 4 rows with date values. The Row1 has Date1, Row2 has Date2 and so on.
The report is structured like this
DATE_COL COL1 COL2
Row1 Date1 100 101
Row2 Date2In your report attributes of DATE_COL column > add column link as follows
Link Text: #DATE_COL#
Target Type: URL
URL: javascript:alert('#DATE_COL#');
And set the Display as property to Standard Report Column
Now when the link is clicked you will get the alert with corresponding value
Next step is to set the value as the label of your item.
If it is on the same page
-- Use javascript to set the label
If its on a different page then you will need to pass this value to that target page and set the label using *&P1_MY_ITEM_NAME.* syntax
See this to learn how to pass the value in URL http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/concept_url.htm#HTMDB03017
I want to use the values of DATE_COL of ROW1 which is Date1 in the label of ITEM1 which can be on same page or different page.
Also I want to sue the value of DaTE_COL of ROW2 which is Date2 in the label of Column 1 of Report 2. You can sue if you are in England! :) -
How to use wildcards in ABAP query where condition?
Hi,
Please tell me how to use wildcards in ABAP qurey where condition.
e.g. select * from mara where matnr = * (wildcard we need to use.
Thanks & Regards,
Gaurav TDo you want to query asterix * ?
select * from mara where matnr = '*'. "then just put it in apstrophes
or you want certain part of string be used as * ?
select * from mara where matnr like '%*' "then use % sign before it
or maybe you want something like this
select * from mara where matnr like '%1' . "then it will look for all materials having '1' inside it
Regards
Marcin -
How to use the same POWL query for multiple users
Hello,
I have defined a POWL query which executes properly. But if I map the same POWL query to 2 portal users and the 2 portal users try to access the same page simultaneously then it gives an error message to one of the users that
"Query 'ABC' is already open in another session."
where 'ABC' is the query name.
Can you please tell me how to use the same POWL query for multiple users ?
A fast reply would be highly appreciated.
Thanks and Regards,
SandhyaBatch processing usually involves using actions you have recorded. In Action you can insert Path that can be used during processing documents. Path have some size so you may want to only process document that have the same size. Look in the Actions Palette fly-out menu for insert path. It inserts|records the current document work path into the action being worked on and when the action is played it inserts the path into the document as the current work path..
-
How to use the same services-config for the local and remote servers.
My flex project works fine using the below but when I upload my flash file to the server I doesn't work, all the relative paths and files are the same execpt the remote one is a linux server.
<?xml version="1.0" encoding="UTF-8"?>
<services-config>
<services>
<service id="amfphp-flashremoting-service"
class="flex.messaging.services.RemotingService"
messageTypes="flex.messaging.messages.RemotingMessage">
<destination id="amfphp">
<channels>
<channel ref="my-amfphp"/>
</channels>
<properties>
<source>*</source>
</properties>
</destination>
</service>
</services>
<channels>
<channel-definition id="my-amfphp" class="mx.messaging.channels.AMFChannel">
<endpoint uri="http://localhost/domainn.org/amfphp/gateway.php" class="flex.messaging.endpoints.AMFEndpoint"/>
</channel-definition>
</channels>
</services-config>
I think the problem is the line
<endpoint uri="http://localhost/domainn.org/amfphp/gateway.php" class="flex.messaging.endpoints.AMFEndpoint"/>
but I'm not sure how to use the same services-config for the local and remote servers.paul.williams wrote:
You are confusing "served from a web-server" with "compiled on a web-server". Served from a web-server means you are downloading a file from the web-server, it does not necessarily mean that the files has been generated / compiled on the server.
The server.name and server.port tokens are replaced at runtime (ie. on the client when the swf has been downloaded and is running) not compile time (ie. while mxmlc / ant / wet-tier compiler is running). You do not need to compile on the server to take advantage of this.
Hi Paul,
In Flex, there is feature that lets developer to put all service-config.xml file configuration information into swf file. with
-services=path/to/services-config.xml
IF
services-config.xml
have tokens in it and user have not specified additional
-context-root
and this swf file is not served from web-app-server (like tomcat for example) than it will not work,
Flash player have no possible way to replace token values of service-config.xml file durring runtime if that service-config.xml file have been baked into swf file during compilation,
for example during development you can launch your swf file from your browser with file// protocol and still be able to access blazeDS services if
-services=path/to/services-config.xml
have been specified durring compilation.
I dont know any better way to exmplain this, but in summary there is two places that you can tell swf about service confogiration,
1) pass -services=path/to/services-config.xml parameter to compiler this way you tell swf file up front about all that good stuff,
or 2) you put that file on the webserver( in this case, yes you should have replacement tokens in that file) and they will be repaced at runtime . -
How to use the same email address for outgoing email on two iPads?
How to use the same email address for outgoing email on two iPads?. My wife and I both use the same email address. We receive the same incoming email on both iPads but are unable to send email from my wife's iPad. She is using an iPad 2 and is usng IOS 6.0.1
Hi Creaturekeeper,
If you've added the account into the iPad and you are unable to send email from it, then please follow the troubleshooting in the article below.
Get help with Mail on iPhone, iPad, and iPod touch - Apple Support
Take care,
Alex H. -
How to use the field of 'FM for Determining Address' in report RSWUWFML2?
Dear gurus,
In the selection screen of report RSWUWFML2, there is a field named 'FM for Determining Address' . How to use it? Is it for sending e-mail to specific e-mail addresses?
Regards
DavidI will test soon. Thanks to all involved.
-
WSUS 3.2 work on Win2008 R2, how to use it deploy MS patch for Win 2012 ?
WSUS 3.2 work on Win2008 R2, how to use it deploy MS patch for Win 2012 ?
I have installed KB2734608, but when I search MS13-101 , no patch for Win 2012.
Can you help me resolve this problem ?
ThanksOn Thu, 10 Apr 2014 06:01:48 +0000, fujitsu08 wrote:
WSUS 3.2 work on Win2008 R2, how to use it deploy MS patch for Win 2012 ?
WSUS has its own, dedicated forum where the WSUS experts answer questions.
You should repost your question here:
http://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverwsus
Paul Adare - FIM CM MVP
Aibohphobia: n. Fear of Palindromes -
How to use find my iPhone app for windows pc
How to use find my iPhone app for windows pc ... Is it possible to do..
Or what is the closest app to do that.,,,,,iPhone User Guide (For iOS 5.0 Software)
iCloud: Find My iPhone
iCloud: Find My iPhone overview
iCloud: Set up Find My iPhone -
How to use 'DELETE ADJACENT DUPLICATES FROM' for deleting as some field
How to use 'DELETE ADJACENT DUPLICATES FROM' for deleting as some field
eg:
I have a inner table ,it contains a field named ast_guid,now,I search ten records,contains some duplicate records in the field of ast_guid.but I can not delete the duplicate records as ast_guid.If the type of inner table is standard table, you should sort the inner table by the fields before user 'DELETE ADJACENT DUPLICATES ', and use COMPARING addtion.
Edited by: Justin on Jun 28, 2009 9:48 AM -
Hi, I have a question on SMP3 and AppDevelopment (Agentry): how to use GCM (Google cloud Messaging) for Agentry Application for PUSH notification
Pratik,
Let me walk you through the flow with the assumption that the user is on an Android device and "connected" to the Agentry server.
An emergency workorder is created in SAP and assigned to the technician.
The SAP backend system will notify the Agentry server via an XML message that there is a workorder to send.
Agentry will get the details and if the user is connected attempt to send the workorder to the device via the Push mechanism
If the push fails to reach the Agentry client, the Agentry server will send a GCM message to the user
When the user returns to the Agentry client, the normal push processing / fetch will occur to receive the workorder from the server assuming the push retrys are in effect.
So, essentially you should not have to do anything to get the GCM to work as a secondary notification mechanism.
If you are looking to do something else with GCM that would be outside of Agentry.
--Bill -
How to use "Reference Structure" setting in analysis grid item
Hello expert,
in Bex analyzer, how to use "Reference Structure" setting in analysis grid item by example?
Many thanks,The variable needs assigned a value, that's why you're getting prompted. When you execute the statement, it's not executing the variable and exec lines.
Having script output available in a grid would be an enhancement request. -
how can I turn off auto-renewal for subscriptions? I have been in the manage my account but I can't see any other option than to auto-renew?
Follow the instructions in this article. You can turn off the auto-renewal on either your i-device or via iTunes on your computer:
Manage your auto-renewing subscriptions - Apple Support
Cheers,
GB -
How to use the select statement in for loop
Hi All,
my question is can we use select statement in for loop like as follows .
for key in select key from one_table.
when i am using this am getting an error like Found select invalid i identifier
how to make use of select statement in for loop
please suggest me .
Thanks
SreeSQL>set serveroutput on;
SQL> DECLARE
BEGIN
FOR Cur_Rec IN (SELECT dname FROM dept) LOOP
DBMS_OUTPUT.PUT_LINE(Cur_Rec.dname);
END LOOP;
END;
SQL>
ACCOUNTING
RESEARCH
SALES
OPERATIONSAs per your requirement always filter the Query beforehand
Like
FOR Cur_Rec IN (SELECT key FROM <table> WHERE key=1) LOOP
END LOOP;Edited by: Lokanath Giri on १ दिसंबर, २०११ ३:५६ अपराह्न -
How to design a stable IIR-Filter for FPGA?
Hi, I´m new to Labview for FPGA and currently trying to design a lowpass-filter (for a digital mixer, more or less). It should work with a sample-frequency of 200kHz, a passband edge frequency of 3Hz and a stopband edge frequency of 8Hz. An FIR-filter would have a too large order to be implemented, an IIR one seems more practicable. For the design of the filter I'm using the digital filter design toolkit, refering to its manual and the casestudy with analyzing, modeling, simulating and generating a fixed-point filter. Now, I have problems to get a stable filter. While the manual states to adjust the coefficents by trial and error, the designed filter never matches the floating-point reference. Does anyone have experience in creating such filters? Or a hint, how to optimize the coefficient finding process?
Thanks in advance!
thiloLabVIEW FPGA 8.20 does include a Butterworth filter function (1st, 2nd and 4th order) in the FPGA palette. You can configure it directly using a dialog on your FPGA diagram. The cutoff may not be quite as sharp as you want but it could be an option for you to consider. Once you have configured the filter VI, you have the option of opening up the subVI with the code that is generated based on your filter parameters, which would allow you to further configure the code directly.
I have attached the configuration dialog with the settings you specified.
Message Edited by Christian L on 11-16-2006 09:27 AM
Christian Loew, CLA
Principal Systems Engineer, National Instruments
Please tip your answer providers with kudos.
Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense
Attachments:
filterdialog.JPG 44 KB
Maybe you are looking for
-
Photoshop CS6 and Illustrator CS6 crash unexpectedly when trying to open a file
Photoshop CS6 and Illustrator CS6 crash unexpectedly when trying to open a file. I'm on OSX 10.6.8. I installed the software through Creative Cloud. I tried deleting preferences and it still doesn't work. Here is the error details. Process:
-
BW-WebI Report: MDDataSetBW.GetCellData. System error in program
Hi, I'm trying to run a WebIntelligence Report connected with BW Query but return error before showing the results. The error is: Error in MDDataSetBW.GetCellData. System error in program CL_RSDRC_MULTIPROV and form SETRESOLVE-01- (consid.TxtDescrit
-
Searching time machine backup on different computer
I have 3 computers backed up by time machine onto one hard drive. How do I search time machine for a backup of a computer I am not currently using? I did use the control key and was prompted for which disk to search,and clicked on that, but then it j
-
I am now setting up the vpn server using mac mini with Mac OSX v 10.7 Lion Server. After setting up, I found that I can't make connection. When I check out the console, I find that the vpnd continue assign IP address to the same client and then hungu
-
Using airport express for wireless internet access and printing I find that it causes interference with certain chan nels on my TV> It is in close proximity to the TV. What can be done to eliminate the TV interference?