How can i do a like kind CAML queries - SharePoint 2013
I have a text e.g AOCup and i need it to match AO Cup
Where currentsite variable below is = AOCup but what im querying is AO Cup
Thanks in Advance
I laso used Contain with no luck
<Query><Where><BeginsWith><FieldRef Name='Title'/><Value Type='Text'>" + currentSite + "</Value></BeginsWith></Where></Query>
Try like this
<Where><BeginsWith><FieldRef Name='Title'/><Value Type='Text'>" +
TextBox1.Text +"</Value></BeginsWith></Where>
Use the Caml builder to generate the query.
check this
http://sharepoint.stackexchange.com/questions/53204/caml-query-not-filtering-results
Similar Messages
-
Is there any way to deploy the Sandbox solution .wsp file to sharepoint 2013 online publishing site using powershell or CSOM or any other way?
Hi,
According to your post, my understanding is that you wanted to deploy sandboxed solution .wsp file to sharepoint 2013 online.
"Add-SPSolution" command is not available in SharePoint Online management shell. So, we cannot use PowerShell to update and deploy a solution in SharePoint Online environment. Meanwhile, here is index of Windows PowerShell for SharePoint Online
cmdlets for your reference:
http://technet.microsoft.com/en-us/library/fp161364.aspx
You can CSOM to deploy solution using helper class from CodePlex. The activation code is as follows: SandboxSolutions.ActivateSolution(siteCollectionURl, cookies, "solution_name.wsp");
About the Client Side Object Model (CSOM), it is a development related issue, we have a specific support channel for the SharePoint developers, so I recommend you go to our MSDN forum for further assistance.
Here is a similar thread for you to take a look at:
http://community.office365.com/en-us/forums/156/t/197404.aspx
In addition, if you would like to upload and activate sandbox solution manually, you can refer to:
http://community.office365.com/en-us/forums/154/p/64010/244496.aspx#244496
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
How can I delete stuff like apps from my iCloud account?
How can I delete stuff like apps from my iCloud account?
Select what you want to back up in iCloud (tap to enlarge image)
-
I am planning a long vacation and taking my laptop but it is my home computer that my new ipad and ipod touch are synced too. I know i can backup to the cloud over wifi but how can i do things like delete photo albums instead of having to manually delete pictures one by one on the Ipad. Is there any way also to add my pictures to the ipad other than through email. i am assuming that i can't just install itunes on the laptop and sync to that. I have been told that i always have to sync to my original synced home computer for that.
The links below have instructions for deleting photos.
iOS and iPod: Syncing photos using iTunes
http://support.apple.com/kb/HT4236
iPad Tip: How to Delete Photos from Your iPad in the Photos App
http://ipadacademy.com/2011/08/ipad-tip-how-to-delete-photos-from-your-ipad-in-t he-photos-app
Another Way to Quickly Delete Photos from Your iPad (Mac Only)
http://ipadacademy.com/2011/09/another-way-to-quickly-delete-photos-from-your-ip ad-mac-only
How to Delete Photos from iPad
http://www.wondershare.com/apple-idevice/how-to-delete-photos-from-ipad.html
How to: Batch Delete Photos on the iPad
http://www.lifeisaprayer.com/blog/2010/how-batch-delete-photos-ipad
(With iOS 5.1, use 2 fingers)
How to Delete Photos from iCloud’s Photo Stream
http://www.cultofmac.com/124235/how-to-delete-photos-from-iclouds-photo-stream/
Cheers, Tom -
HOw can I copy programs like photoshop, excel, ...., from my old macbook to my new one?
Setup Assistent.
When you first start the new Mac one of the first question will be do you wish to restore from another Mac. If the other Mac is on the network you can use Setup Assistent to migrate everything over from the old Mac to the new Mac.
Allan -
How can I find out what kind of battery my computer uses in order to buy a replacement?
I purchased a new Macbook Pro 13" in January 2012. Unfortunately, I did not purchase Apple Care. My trackpad seems to have taken on a life of it's own. I'm guessing this is due to a swollen battery. How can I find out what kind of battery my computer uses in order to buy a replacement?
Take a look at this link, http://store.apple.com/us/search/macbook-pro-battery-replacement?mco=Nzc1MjMwNg
This is the MacBook Pro repair answers, http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=Macn otebooks -
How can i add Facebook likes button on my mac mail?
How can i add Facebook likes button on my mac mail?
You must create a custom signature.
Find a guide here -
TS1503 How can I delete data like movies from my main Toshiba HD in my MacMini?
How can I delete data like movies from my main Toshiba HD in my MacMini?
What does this have to do with the iPhone?
-
how can we optimize the LIKE '%...%' to make it work more efficiently
SQL> create table test as select * from V$SQL
Table created.
SQL> create index test_txt_idx on test(sql_fulltext) indextype is ctxsys.context
Index created.
SQL> select substr(sql_fulltext,1,30) sql_fulltext from test where contains(sql_fulltext, 'dataobj#') > 0
SQL_FULLTEXT
select obj#, dataobj#, part#,
select /*+ index_ss(obj$ i_obj
select /*+ index_ss(obj$ i_obj
select /*+ index_ss(obj$ i_obj
select /*+ index_ss(obj$ i_obj
select /*+ index_ss(obj$ i_obj
delete from sys.cache_stats_1$
select substr(sql_fulltext,1,3
insert into wrh$_seg_stat (s
insert into obj$(owner#,name,n
update /*+ index_ss(obj$ i_obj
update /*+ index_ss(obj$ i_obj
select i.obj#,i.ts#,i.file#,i.
select i.obj#,i.ts#,i.file#,i.
select i.obj#,i.ts#,i.file#,i.
update wrh$_seg_stat_obj sso
select obj#, dataobj#, part#,
select obj#, dataobj#, part#,
insert into tabpart$ (obj#, da
update ind$ set ts#=:2,file#=:
update ind$ set ts#=:2,file#=:
insert into tab$(obj#,ts#,file
select i.obj#,i.ts#,i.file#,i.
select i.obj#,i.ts#,i.file#,i.
select i.obj#,i.ts#,i.file#,i.
select i.obj#,i.ts#,i.file#,i.
select i.obj#,i.ts#,i.file#,i.
select i.obj#,i.ts#,i.file#,i.
select i.obj#,i.ts#,i.file#,i.
update tabpart$ set dataobj# =
insert into ind$(bo#,obj#,ts#,
update tab$ set ts#=:2,file#=:
update tab$ set ts#=:2,file#=:
update /*+ index_ss(obj$ i_obj
insert into indpart$ (obj#, da
35 rows selected.
SQL> drop table test
Table dropped.What are you doing differently? -
The create facility in iPhoto is pretty basic for cards & books etc. - how can I download something like MS Publisher for my Mac Air?
Pages works pretty well, which should be on the App store:
http://www.apple.com/iwork/pages/ -
How can i generate xml like this?
Hi all,
How can i generate xml like this & i need to send it to via HTTP :
<mms>
<subject>message subject</subject>
<url_image>http://image_url</url_image>
<url_sound>http://sound_url</url_sound>
<url_video>http://video_url</url_video>
<text>message text</text>
<msisdn_sender>6281XYYYYYY</msisdn_sender>
<msisdn_receipient>6281XYYYYYY</msisdn_receipient>
<sid>to be define later</sid>
<trx_id>Unique number</trx_id>
<trx_date>yyyyMMddHHmmss</trx_date>
<contentid>see note</contentid>
</mms>& how can i get the value of the sid (for example)?
I hav tried to generate that xml by using StringBuffer & append, but it's not what i mean...
Anyone can help me?Ok...i got it. But i still hav some problems.
This is the sample code that i used :
public class XMLCreator {
//No generics
List myData;
Document dom;
Element rootEle, mmsEle, mmsE;
StringWriter stringOut;
mms mms;
public XMLCreator(String subject, String image, String sound,
String video, String text, String sender, String recipient,
int id, String date, String contentid) {
mms = new mms(subject, image, sound, video, text, sender,
recipient, id, contentid, date);
createDocument();
public void run(){
createDOMTree();
print();
private void createDocument() {
//get an instance of factory
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
try {
//get an instance of builder
DocumentBuilder db = dbf.newDocumentBuilder();
//create an instance of DOM
dom = db.newDocument();
}catch(ParserConfigurationException pce) {
//dump it
System.out.println("Error while trying to instantiate DocumentBuilder " + pce);
private void createDOMTree(){
//create the root element <Mms>
rootEle = dom.createElement("mms");
dom.appendChild(rootEle);
createMmsElement(mms);
private Element createMmsElement(mms b){
Element subjectEle = dom.createElement("subject");
Text subjectText = dom.createTextNode(b.getSubject());
subjectEle.appendChild(subjectText);
rootEle.appendChild(subjectEle);
//create url_image element and author text node and attach it to mmsElement
Element imageEle = dom.createElement("url_image");
Text imageText = dom.createTextNode(b.getUrl_image());
imageEle.appendChild(imageText);
rootEle.appendChild(imageEle);
// & etc....
return rootEle;
* This method uses Xerces specific classes
* prints the XML document to file.
private void print(){
try
//print
OutputFormat format = new OutputFormat(dom);
format.setIndenting(true);
stringOut = new StringWriter();
//to generate output to console use this serializer
XMLSerializer serializer = new XMLSerializer(stringOut, format);
//to generate a file output use fileoutputstream instead of system.out
//XMLSerializer serializer = new XMLSerializer(
//new FileOutputStream(new File("mms.xml")), format);
serializer.serialize(dom);
} catch(IOException ie) {
ie.printStackTrace();
public String getStringOut() {
return stringOut.toString();
}when i tried to show the stringOut.toString() in my jsp, it's only showed string like this :
The Lords Of The Ring http://localhost:8084/movie/lotr.3gp 6281321488448 6281321488448 123 0 20070220114851 LOTR.
1. Why this is happen?i want to generate xml which its format is like above.
2. How can i send this xml (put in msg parameter) using jsp (via web) without creating the mms.xml?
3. if i want to set the msg parameter equal to mms.xml - means that msg = mms.xml, what is the data type for msg? is it an object or anything else?
Thx b4 in advance... -
thanks.. can u please help me out in one more question. how can i transfer files like pdf, .docx and ppt from my laptop to iPhone 5 ? please its urgent.
See your other post
First, i want to know how can i pair my iPhone 5 with my lenovo laptop? -
How can get a database like ****.SQL file for test in sqlplus in oracle8i
How can get a database like ****.SQL file for test in sqlplus in oracle8i,I am a beginner,thanks
I'll give it a guess as to what it is you want but I'm afraid you'll have to give some more information to go on. I appreciate it's difficult for people who are beginners or who don't have English as their first language.
Are you trying to run a SQL file? From SQL*plus you can do either of these:
SQL> start my_file
or
SQL> @my_file
N.B.: if th efile has a .sql extension you don't need to include it, but you do for any other file extension e.g.
SQL> @myfile.run
Here is the page Vijay referred to:
Re: Physical storage Checks & adding disk on server. I hope you find it useful.
You will more helpful links (including links to the Oracle on-line manuals at this page:
Re: How to attach a java bean in forms6i
good luck, APC -
Hello, I recently bought an iPad Air. Can anyone Please tell me How can in Transfer files like photos and videos from my win 8 computer to ipad ?
Sync photos to iPad
http://support.apple.com/kb/ht4236 -
Wy has apple restricted the use of adobe flash player? How can one watch things like shows from CBS without the flash player?
This has been discussed a billion times. Please search before posting.
Read this: http://www.apple.com/hotnews/thoughts-on-flash/
CBS has apps for watching its shows. Search the AppStore.
Maybe you are looking for
-
Quick Time + Itunes Not working
I upgraded my itunes to the new 6.0 version,And now It wont open. Ive tried to reinstall itunes again but still it wont work. Next i tried to open QuickTime and it only opens for 2 seconds and then closes. I think thats the problem,But i dont know ho
-
Is there a report in AP or banking that can show the discounts on payables, so a company can take advantage of early payment discounts and then select just these in the payment wizard?
-
I am trying to get an excecutable and was told a .jar file is a good way to go with java. I have folowed some instructions from http://www.cs.sjsu.edu/faculty/kirchher/CS151/MakeJarHelp.htm and my final line should be C:Java>jar cmf .\MathAce.mf .\Ma
-
Hi friend, <Moderator note: new question related to [this thread|custom pushbutton created in the transaction F110;. Please always ask new questions in a new thread. See the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngag
-
How do I keep my original text colours when converting from Publisher 2007 to PDF format?
Recently I am finding that when I convert my Publisher 2007 documents to PDF, the text colours do not remain the same, but revert to black or grey? Clip art retains its colours. What am I doing wrong?