Want to use search API
Hi,
I have undertaken subscription of Search API, I used my Key and customer Id as APPID but its not working for me. Can anyone tell me where do I find the particular APPID to use in below link such that I get a result.
http://api.bing.net/xml.aspx?AppId=Insert your AppId here&Query=msn%20moneycentral&Sources=News&Version=2.0&Market=en-us&Options=EnableHighlighting&News.Offset=0&News.SortBy=Relevance
Thanks,
Pulak
Hi Pulak,
Can you please e-mail [email protected] and provide us with your application key? We can help investigate.
Thank you,
Elizabeth
Bing
Similar Messages
-
How to use SEARCH-API provided by portal30 default schema
I want information about the search api provided by the
default portal30 schema.
How can i use that for my specific requirement.
i want to manipulate it's search limits
is it possible ???
Can i customize the specification provided in this apiHi,
about the addDataSource using the Java API, for now you have to disable the security
in order to add the data source using the MapViewer client API.
You can do that editing the MapViewer config file:
<mv_security enforce_sec_role="false" />
Assuming that you have added your data source, and you have rendered some map,
you can get the attribute information using the "identify" methods of the
MapViewer client API.
1) To identify one individual geometry:
String [][] result = mapviewer.identify(dataSource,table_name,columns,
geometry_column,srid, x, y);
where: "columns" contains the table attribute names that
you want to retrieve
x,y represents the device coordinate.
2) To identify geometries inside a rectangle:
String [][]result = mapviewer.identify(dataSource,table_name,columns,
geometry_column,srid, xlowleft,ylowleft,
xupright,yupright,false);
where the rectangle coordinates are defined by xlowleft,ylowleft,
xuprigth, and yuprigth values in device unit.
3) The resulted String array contains on the first row the attribute
names, and on the remaining rows the attribute values for each geometry.
int nlin = result.length; // return the number of lines
int col = result[0].length; // number of columns
To get the attribute names:
// attribute names
Object []tableattrs = new Object[ncol];
for(int j=0;j<ncol;j++)
tableattrs[j] = result[0][j];
To get the attribute values:
Object [][]tablevalues = new Object[nlin-1][];
for(int lin=1;lin<nlin;lin++)
tablevalues[lin-1] = new Object[ncol];
for(int col=0;col<ncol;col++)
tablevalues[lin-1][col] = result[lin][col];
Regards. -
Query and sort content from two lists using search API
Hi,
I have a custom web part which I would like to query two different lists and sort the results by Created Date. One is a list of news articles and the other contains blogs. So basically the result set will be an intermix of news and blog items sorted by date.
I would also like to do this by query through the search API. Does anybody have any sample code to do this?
thanks,
Sherazad.
SherazadHi Sherazad:
To use the JOIN operator in CAML, your lists must have a
defined relation(Lookup column). You can refer to sample code that I list as follow.
Create your query from one of your lists.
SPList Projects= SPContext.Current.Site.RootWeb.Lists["Projects"];
SPQuery query = new SPQuery();
To do the join, setquery.Joins
<Join Type="INNER" ListAlias="Contacts">
<Eq>
<FieldRef Name="ProjectManager" RefType="ID" /> ///
ProjectManager is a Lookup Column.
<FieldRef List="Contacts" Name="ID" />
</Eq>
</Join>
And query.ProjectedFields (To tell SharePoint how to project the lookup columns into the result)
<Field Name="Project Name" Type="Lookup" List="Projects" ShowField="Title">
/// My Project Name is a Display Name in Memory so you can give a name by yourself But ShowField must be Internal Name of the Column(Project Name)
You can add a lot of columns that you want to display.
Everything comes from memory.
To choose the fields to display set query.ViewFields
<FieldRef Name="Your Internal Name of Column Or
ProjectedFields - Field Name">
<FieldRef Name="Your Internal Name of Column Or
ProjectedFields - Field Name">
<FieldRef Name="Your Internal Name of Column Or
ProjectedFields - Field Name">
Then
SPListItemCollection result = ListA.GetItems(query); -
Newbie who want to use Java API for OLAP
Hi all,
I'm trying to learn how to use Java API for Oracle 10.2 OLAP. I went through the Java OLAP API user guide and I'm getting even more confused. Can somebody guide me to some good online materials?
Many thanks!
- AndrewHi there,
Did you see the examples in the Reference doc? :- http://download.oracle.com/docs/cd/B19306_01/olap.102/b14348/toc.htm
Thanks,
Stuart Bunby
OLAP Blog: http://oracleOLAP.blogspot.com
OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
OLAP on OTN: http://www.oracle.com/technology/products/bi/olap/index.html
DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html -
Which SCs are needed if I want to use KM related API in webdynpro
Hi Gurus,
I am using NWDI based development, i want to using KM api in webdynpro application. in the application, file will be uploaded using webdynpro fileupload component and stored in KM. I have read some tutorial and known which jars are needs. but I don't know which software component these jars belong to. I want to add that software component as dependent SC in my software component where my application resides.
Any comment is appreciated.
Best regards,
JohnHi,
I was searching for the com.sap.security.api to be used in my NWDI project ... any idea in which DC I can find that library?
Best regards,
Martin -
Hi All,
In OIM how can i use my own/Custom API"S. Wher do i need to place the Jar/Class files. Like in other Identity Management tools (I only have the experience of SUN) you can place the files under WEB-INF/lib or WEB-INF/classes and then can easily use them, does OIM provides this/similar kind of functionality and how we can use that.Hi,
If you want to use custom API to create adapter then put the jar file in <OIM_Install>/xellerate/Java Task/
folder and if you want to use them to create task Schedular then put it in <OIM_Install>/xellerate/Schedular/
regards -
How to use Search Folders in Outlook for shared mailboxes
Hello
We use Otlook 2010/2013 with MS Exchange 2010. In outlook there is "Serarch folder" with subfolders Large e-mail, Unreaded mails.... User can create own subfolders with rules.
Users have attahet to outlook shared mailboxex for example Import, Export....
For these mailboxes you cannot use "Search Folders" - outlook can use it only for your personal mailbox.
To use "Serach folders" for shared mailbox I have to create new e-mail profile in Windows. User has to run outlook using these new profile "import". Now he is directly connected with shared mailbox.
But users want to use "Search folders" when they are on own outlook profile with shared mailboxes attahecd to their profiles.
Is it posible to do it? Or use some third-party
product?
Thank you for help
Tomasz
Kind Regards TomaszHi,
I suggest we ask this question on Outlook forum:
http://social.technet.microsoft.com/Forums/office/en-US/home?forum=outlook
Regards,
Simon Wu
TechNet Community Support -
Export with BiarEngine.jar works, using the API it throws an exception
Hello,
I'm using BiarEngine.jar to export from my CMS. it works fine.
Now I want to use the API to get someting more handy, but I receive an exception (NoSuchFieldError) as if I had a mismatch between versions.
I'm stuck with it, if somebody has an idea...
Thanks a lot.
Alain
Here is the java code:
IExportOptions oExportOptions = BIARFactory.getFactory().createExportOptions();
oExportOptions.setIncludeSecurity(false);
oExportOptions.setIncludeDependencies(true);
oExportOptions.setCallback(
new IExportCallback()
public void onSuccess(int id) {...}
public void onFailure(int id, BIARException biarException) {...};
BIAROutput oBIAROutput = new BIAROutput( oEntrepriseSession, "c:\myFile.biar", exportOptions );
At this point it throws the exception:
Exception in thread "main" java.lang.NoSuchFieldError: SI_MODELCUID_SET
at com.businessobjects.sdk.plugin.desktop.deltastore.internal.DeltaStore.setupProperties(DeltaStore.java:188)
at com.businessobjects.sdk.plugin.desktop.deltastore.internal.DeltaStore.unpack(DeltaStore.java:37)
at com.crystaldecisions.sdk.occa.infostore.internal.al.continueUnpack(Unknown Source)
at com.crystaldecisions.sdk.occa.infostore.internal.al.startUnpack(Unknown Source)
at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.queryHelper(Unknown Source)
at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.query(Unknown Source)
at com.crystaldecisions.sdk.occa.infostore.internal.at.query(Unknown Source)
at com.businessobjects.sdk.biar.internal.XSDManager$RepositoryXSD.retrieveXSDVersions(XSDManager.java:204)
at com.businessobjects.sdk.biar.internal.XSDManager$RepositoryXSD.<init>(XSDManager.java:194)
at com.businessobjects.sdk.biar.internal.XSDManager$XSDCache.getXSD(XSDManager.java:365)
at com.businessobjects.sdk.biar.internal.XSDManager.<init>(XSDManager.java:55)
at com.businessobjects.sdk.biar.BIAROutput.<init>(BIAROutput.java:73)>
Just need to confirm if the ANT script can be run against individual OSB project than OSB configuration project?
>
It is possible. I'm going the same way here. However, I remember I needed to contact support because it was not a standard feature of the Ant task. They provided me with the patch that allowed me to use -configSubProjects parameter in export.
>
Can we have multiple OSB configuration projects on the OSB server ?
>
I don't think so. -
Setting Multiple values in property set using java API
Hello All,
I want to set the properties of a profile in a property set using java API provided
in package p13n. The property can have multiple values. When I try to add the
property using ProfileManager.setProperty() method. But every time I do it this
way, it replaces the earlier value of property and not added. This, I can achieve
using portalTools but I want to use the API for user registration on the site.
I hope the query is clear.
Waiting for a response,
Thanks in advance,
ShrinivasYou need to use java.util.ArrayList.
First cast the existing value into ArrayList using getProperty method,
change values in the ArrayList and then put them back with setProperty
method.
Regards,
Michael Goldverg
"Shrinivas Rao" <[email protected]> wrote in message
news:3d64e7d9$[email protected]..
>
Hello All,
I want to set the properties of a profile in a property set using java APIprovided
in package p13n. The property can have multiple values. When I try to addthe
property using ProfileManager.setProperty() method. But every time I do itthis
way, it replaces the earlier value of property and not added. This, I canachieve
using portalTools but I want to use the API for user registration on thesite.
I hope the query is clear.
Waiting for a response,
Thanks in advance,
Shrinivas -
Specific SC Dependency for using KM API in Web Dynpro DC
Hi,
I want to use KM API in my Web Dynpro DC.
Currently, I have created it as Local DC and I am using External Lib DC to make use of JARs required for KM APIs.
So my question->
While doing it in NWDI track, is there any special KM specific SC dependency I should include in my track?
Or just standard dependecies (SAP-JEE, SAP_BUILDT, SAP_JTECHS) would be sufficient?
Thanks and regards,
Amey MogareHi Amey,
Since you have created an external library DC for the jars, Just add all this jars to public part and use this public part in the required DC.
You have to add the following sharing referece to ur project (which is used at runtime).
Go to webdynpro refernces>sharing references in properties of webdynpro project
Add PORTAL:sap.com/com.sap.km.application
No need to add any SC dependency, the standard dependecies would be sufficient
For more information pls go through this blog
/people/rohit.radhakrishnan/blog/2005/05/27/uploading-files-to-km-repository-using-webdynpro-apis
Hope this helps you..
Regards,
Saleem -
How to use BEA API Authorization.getRoles?
I find a bea api class Authorization.getRoles(P13nResource aResource, P13nContextHandler aRequestContext)
return Map,I wonder know the P13nResource and P13nContextHandler how to creatre ?
because I want to use the API to return Map roles,please tell me some informationthis code can get roles map:
P13nContextHandler ctxHandler = EntitlementHelper.getP13nContextHandler(request);
HierarchyRoleResource resource = new HierarchyRoleResource(SecurityHelper.getApplicationName(), webAppName, EntitlementConstants.P13N_ROLE_POLICY_POOL, "");
Map map = Authorization.getRoles((P13nResource)resource, ctxHandler); -
V33 now using search suggestions in integrated home page
Firefox updated itself to v33 last night and now the integrated home page with the Google entry box is no longer using autocomplete, but instead is using search suggestions. I do not want to use search suggestions, or else I would set Google as my home page.
How do I revert this to the prior behavior with autocomplete?I suspect that my be related to the new "faster and snappier searches" feature in Firefox 33.
http://msujaws.wordpress.com/2014/08/01/faster-and-snappier-searches-now-in-firefox-aurora/
''Yes, the example provided there is totally different then what you are talking about, but ...''
See if '''Show search suggestions''' in the Search Bar > Manage Search Engines... List is check-marked. With the massive number of consolidation steps that Firefox has seen over the past 5 or 6 versions to "search" functionality, that pref just may also be controlling what you are seeing on the default Homepage. -
How to make a form-based search API using HTTPClient
Hi,
I am getting trouble to make an API that is related to making a site search by using a form-based search API by help of HTTPClientHi,
Something seems to get added to the form action because of "http". Hence I am removing it.
You need to write a procedure with the values in the as parameters. Say for example you want to insert a record into dept
table then
Dynamic page code
<html>
<body>
<form action="portalschema.insert_dept">
<input type="text" name="p_deptno">
<input type="text" name="p_dname">
<input type="submit" name="p_action" value="save">
</form>
</body>
</html>
Procedure code.
create or replace procedure insert_dept
(p_deptno in number,
p_dname in varchar2,
p_action in varchar2)
is begin
if p_action = 'save' then
insert into scott.dept(deptno,dname) values(p_deptno,p_dname);
commit;
end if;
end;
grant execute on insert_dept to public;
Hope this helps.
Thanks,
Sharmila -
How to use search REST api to get custom managed property data for anonymous user?
I am trying build a public portal with anonymous access and i am trying to read some
content from custom managed property using search REST api in sharepoint 2013. I have tried to enable all possible attributes of the managed prop. Like searchable,queryable,safe etc. also i am including queryparametertemplate in my REST api search query. But
still i am not able to retrieve the managed prop. For an anonymous user. The same query returns the value if i am logged in.
Any Help is greatly appreciated.
Thanks,
Rakesh
Thanks, RakeshHi Rakesh,
To enable anonymous Search REST queries, we need to create queryparametertemplate.xml and upload it to the correct library in SharePoint.
From your description I can know that you have created the file, then I recommend to check the things below:
Please use “QueryTemplatePropertiesUrl” instead of “queryparametertemplate” in the Search REST API query as following: &QueryTemplatePropertiesUrl='spfile://webroot/queryparametertemplate.xml'.
Make sure that the Query Properties you need have been added to the QueryProperties element in the queryparametertemplate.xml file.
Make sure that the query parameters you need have been added to the WhiteList element in the
queryparametertemplate.xml file. For example, if you want to use Refiners in the REST API, then the Refiners should be added to the
WhiteList element in the queryparametertemplate.xml file as following:
<a:string>Refiners</a:string>.
You can also debug setting properties in anonymous Search Rest queries following the link below:
http://www.mavention.com/blog/debugging-setting-properties-anonymous-search-rest-queries
More references about anonymous Search REST:
http://blog.mastykarz.nl/configuring-sharepoint-2013-search-rest-api-anonymous-users/
http://msdn.microsoft.com/en-us/library/office/jj163876%28v=office.15%29.aspx#bk_AnonymousREST
Thanks,
Victoria
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Victoria Xia
TechNet Community Support -
How to view iOS requirement using Apple Search API
I'm currently using the Apple Search API to search AppStore content, and i want to view the iOS requirement for the seleceted apps that i have already searched, but i didn't see any field that show the iOS requirement for the apps, so how to view that?
Thanks in advanceI am surprised to say that I don't think this is possible. Which is strange because upon inspection of the JSON results there is a return key for EVERYTHING except target iOS version. I would imagine that this may be an oversight by apple. It does not make sense that I can search "supportedDevices", "isGameCenterEnabled", and "fileSizeBytes" but not minimum or target OS.
Maybe you are looking for
-
I am having an issue with some of my emails disappearing on my iPhone 4S and I am wondering if anyone else is experiencing similar issues and might offer a solution? I have three email accounts on my iPhone 4S and iPad 2 (of which include my iCloud @
-
"you did not respond" - but not when using the appleu3test01
I have been trying to get my ichat av to work to talk/vidcon to my brother who is chatting via AIM from a PC. When we try and get a chat working, we get the "Ben Taylor did not respond" message and the opportunity to send the error report (copied out
-
Client copy between PROD and QAS system
Hi! We would like to copy a client from productive system to quality assurance system. Questions: 1) What is the best procedure? 1a) export/import 1b) remote copy 2) Where can I find the appropriate documentation? Thank you very much!
-
When I plug in the included earbuds, I get the short burst of static to indicate they have plugged in, but I can't get the music player to use them. The sound still comes out of the speaker. The player menu has an option to enable Bluetooth, but no
-
My 2g is going nuts :(
First I started having this green.orange.green problem with my unit. And now it will not even let me connect it to a USB port on my MacBook! When I connect it it gives me the "this USB has low power" warning (I think similar warning to the ones you g