Searching for documens within dates
I thought that my issue was a trivial one but I have not a way to resolve it.
I have three Doc libraries containing mainly PDFs.
I need to be able to search for files within two dates (based either on Created, Modified or a Custom Date that I defined in each library).
Thanks
This works for Created:
Created>12/11/2013 Created<12/15/2013
as does this (both are managed properties for the same field)
DocCreatedTm>12/11/2013 AND DocCreatedTm<12/15/2013
This works for Modified:
Write>12/11/2013 AND Write<12/15/2013
You can use LastModifiedTime, Write or FileWrite as the property name.
You can find a list of managed properties ("Manage Search Schema") in the Search admin pages of Central Admin or Office 365.
Note that AND, OR and NOT must be in upper case.
Mike Smith TechTrainingNotes.blogspot.com
my SP customization book
Similar Messages
-
Search for content within a PDF
Is it possible to search for content within a PDF across a mapped drive?
Yes. Use Edit>Advanced search. Choose All PDF Documents in and choose the mapped drive.
They have to be searchable PDF's of course... -
How to Modify Search for Leads using Date types in the Assgmnt Block Date
Hello Experts,
I have a requirement to modify the search for Leads using Dates in the Assignment Block Dates and using the Posting Date of the transaction.
Any ideas?
Thank you in advance,
JustinIf you look at the grants, you'll see that there are over 170 objects from the FLOWS_030000 granted to PUBLIC:
SQL> select count(*) from dba_tab_privs where owner= 'FLOWS_030000' and grantee = 'PUBLIC';
173
If we were go grant these privileges to a role, called APEX_APP_RU, and grant this role to APEX_PUBLIC_USER and any schemas an application is linked to (Workspace to Schema), would that be a workable solution?
The only problem I see right off hand that this might not work is that PUBLIC has synonyms created for the FLOWS_030000 objects. If we revoke the underlying privileges, because of the synonyms, this might not work.
SQL> select COUNT(*) from dba_synonyms where table_owner = 'FLOWS_030000' and owner = 'PUBLIC';
176
Does anyone else have any ideas? -
How to search for file within compressed file
I hope i can explain this correctly, I apologize in advance.
What is the command to search for a file that may/may not exist within another compressed file?
Situation is that I have a cron job that compresses the files in a folder on a scheduled date. I now need to search for a file that may exists in one of the several compressed files, which was a result of the cron job.
Thanks in advanceThere's an open source utility called zgrep. You can probably get it from http://www.sunfreeware.com/ .
HTH,
Roger S. -
Search for keyword within musical genre
Trying to help my wife find a children's song on a particular topic for her kindergarten class. How does one conduct a search for a keyword WITHIN a particular genre? For example, how do I search for "Friday" or "Weekend" within the Children's Music genre?
Thanks...I didn't see an obvious way to do it in the iTunes Store, since Power Search does not have a genre choice.
At the Amazon.com MP3 Download Store, you can go directly to Children's Music and do the search. -
Correct way to search for character within a string
I am trying to search for the occurrence of a "(" within a text string - unfortunately my code is reported as incorrect.
I extract the text correctly but cannot create the search statement correctly:
var mylistpgftext = pgf.GetText (Constants.FTI_String)
for (var i=0; i < mylistpgftext.length; i++)
var mylistitem = mylistpgftext[i].sdata
var mybracketpos = mylistitem.search(/(/i) --------------error line-----------------
if (mybracketpos != -1)
alert(mylistitem)Hi Bob, I did not test this, but I think the problem is an unescaped character in your regular expression. Try this.
var mybracketpos = mylistitem.search(/\(/i);
Notice the backslash before the open parens that you are searching for.
-Rick -
How do you search for files that contain a specific string of text? I tried going to the folder in the finder and typing the string in the search box, but it does not seem to return correct results. True, I do see a couple of files that contain my string, but it doesn't show all the results. There are files that I know contain the string in the same folder, but it does not show them??
BobSpotlight should index PDF files (as well as Word and some other kinds of files) but it seems that PDFs are not created equal. I've seen and heard complaints that some scanner/OCR programs are saving files that aren't searchable and yours is one of them. Try opening one of the files in Preview and resaving it.
-
Searching for archived documents / data retrieval
Hi,
In a clients system, salesdocuments for a given period has been archived. Unfortunately we now need this info (combination of salesdocument / material). Anybody know if that info is easily retrievable (if possible to accessible in tables i was thinking of retrieving these writing a small report).
I have tried the following approach.
http://help.sap.com/saphelp_erp2004/helpdata/en/95/6d6270dba111d2b1fa0000e8a5b9a5/content.htm
In advance, thanks.
Kind regards, SigurdHave a look at this thread where the same topic was discussed
How to retrieve the ARCHIVED Sales order data
If this is not solving your issue, then have a look at the service market place
https://websmp109.sap-ag.de/~form/handler?_APP=00200682500000002672&_EVENT=DISPLAY&_SCENARIO=01100035870000000122&_HIER_…
where you can see an excel file with the name "Reports & Transactions for Accessing Archived Data".
G. Lakshmipathi -
Error when trying to search for folders within an Exchange server
I am working on an existing application that searches folder within an exchange server in asp.net C#
The code is very basic is like this
FolderView view = new FolderView(int.MaxValue);
view.PropertySet = new PropertySet(BasePropertySet.IdOnly);
view.PropertySet.Add(FolderSchema.DisplayName);
view.PropertySet.Add(FolderSchema.FolderClass);
view.PropertySet.Add(FolderSchema.ParentFolderId);
view.Traversal = FolderTraversal.Deep;
FindFoldersResults findFolderResults = service.FindFolders(new FolderId(WellKnownFolderName.Root, mailbox), view);
This code has been working on another Exchange server before.
However when I try to change the exchange server I try to scan I get an error like this :
Microsoft.Exchange.WebServices.Data.ServiceVersionException: Exchange Server doesn't support the requested version.
at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ProcessWebException(WebException webException)
at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request)
at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ValidateAndEmitRequest(IEwsHttpWebRequest& request)
at Microsoft.Exchange.WebServices.Data.SimpleServiceRequestBase.InternalExecute()
at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.Execute()
at Microsoft.Exchange.WebServices.Data.ExchangeService.InternalFindFolders(IEnumerable`1 parentFolderIds, SearchFilter searchFilter, FolderView view, ServiceErrorHandling errorHandlingMode)
at Microsoft.Exchange.WebServices.Data.ExchangeService.FindFolders(FolderId parentFolderId, FolderView view)
at ExchangeSyncService.ExchangeToSqlService.SyncFolderForSubUser(ExchangeService service, Mailbox mailbox, Int32 nUserID)
The Exchange server that succeeded and failed are both Exchange 2010. I am searching are both Exchange 2010, and I checked the documentation that FindFolder is supported by all versions of Exchange 2010.
Is it really a version error or something else? Anyone have any insight on this?problem solved thanks Glen can I ask you a new question? I ran into another error after solving that problem I got an error message that says
Microsoft.Exchange.WebServices.Data.ServiceResponseException: The SMTP address has no mailbox associated with it.
at Microsoft.Exchange.WebServices.Data.ServiceResponse.InternalThrowIfNecessary()
at Microsoft.Exchange.WebServices.Data.ServiceResponse.ThrowIfNecessary()
at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.Execute()
at Microsoft.Exchange.WebServices.Data.ExchangeService.InternalFindFolders(IEnumerable`1 parentFolderIds, SearchFilter searchFilter, FolderView view, ServiceErrorHandling errorHandlingMode)
at Microsoft.Exchange.WebServices.Data.ExchangeService.FindFolders(FolderId parentFolderId, FolderView view)
at ExchangeSyncService.ExchangeToSqlService.SyncFolderForSubUser(ExchangeService service, Mailbox mb, Int32 nUserID)
The line of code that triggers this problem is
FolderView view = new FolderView(int.MaxValue);
view.PropertySet = new PropertySet(BasePropertySet.IdOnly);
view.PropertySet.Add(FolderSchema.DisplayName);
view.PropertySet.Add(FolderSchema.FolderClass);
view.PropertySet.Add(FolderSchema.ParentFolderId);
view.Traversal = FolderTraversal.Deep;
FindFoldersResults findFolderResults = service.FindFolders(new FolderId(WellKnownFolderName.Root, mb), view);
The error gets triggered on service.FindFolders. I am trying to grab all the folders from 1 user's account I am trying to access with a super admin account that has all access to all mailbox to all users on the server.
Any idea what is going on there?
It worked on my previous server just not working on this new server here.
Thanks -
Searching for content within a specified directory
I am trying to do a simple content search on a specified directory, but I do not get the results I expect.
I have looked at the examples and based my code upon them.
If anyone can spot what I am missing or have forgotten I would be very grateful.
Thanks
ChrisHere is the offending code :import oracle.ifs.beans.LibrarySession;
import oracle.ifs.beans.LibraryService;
import oracle.ifs.adk.filesystem.*;
import oracle.ifs.beans.Search;
import oracle.ifs.search.AttributeQualification;
import oracle.ifs.search.AttributeSearchSpecification;
import oracle.ifs.search.ContextQualification;
import oracle.ifs.search.ContextSearchSpecification;
import oracle.ifs.search.FolderRestrictQualification;
import oracle.ifs.search.JoinQualification;
import oracle.ifs.search.SearchClassSpecification;
import oracle.ifs.search.SearchClause;
import oracle.ifs.search.SearchQualification;
import oracle.ifs.search.SearchSpecification;
import oracle.ifs.search.SearchSortSpecification;
// Import objects for working with search results
import oracle.ifs.beans.LibraryObject;
import oracle.ifs.beans.PublicObject;
import oracle.ifs.beans.Folder;
import oracle.ifs.beans.Document;
import oracle.ifs.beans.ContentObject;
import oracle.ifs.beans.SearchResultObject;
// Import object for exception handling
import oracle.ifs.common.IfsException;
import oracle.ifs.common.AttributeValue;
import java.util.Vector;
public class contentSearch
LibrarySession ls;
String strSearch;
public contentSearch()
public void setSession( LibrarySession libsession )
ls = libsession;
public LibrarySession getSession()
return ls;
public void setSearchString(String str)
strSearch = str;
public PublicObject[] SearchSimple()
Vector vecOutput = new Vector(50,5); PublicObject[] resultsArray = null;
try
ContextQualification cq = new ContextQualification();
cq.setQuery(strSearch);
String ContextClauseName = "CQ";
cq.setName(ContextClauseName);
SearchSortSpecification sortSpec = new SearchSortSpecification();
sortSpec.add(Document.CLASS_NAME, ContextQualification.ORDER_PREFIX+"."+ContextClauseName, true);
JoinQualification jq = new JoinQualification();
jq.setLeftAttribute(Document.CLASS_NAME, Document.CONTENTOBJECT_ATTRIBUTE);
jq.setRightAttribute(ContentObject.CLASS_NAME, null);
// Add Folder Restriction for the search
IfsFileSystem fsAPI = new IfsFileSystem( ls );
PublicObject po = fsAPI.findPublicObjectByPath("public_demo");
FolderRestrictQualification frq = new FolderRestrictQualification();
frq.setStartFolder( (Folder) po);
frq.setSearchClassname(PublicObject.CLASS_NAME);
// END of FolderRestrictionQualification
SearchClause sc = new SearchClause( cq, jq, SearchClause.AND );
ContextSearchSpecification cp = new ContextSearchSpecification();
cp.setContextClassname("CONTENTOBJECT");
cp.setSearchClassSpecification(new SearchClassSpecification(new String[] {"DOCUMENT", "CONTENTOBJECT"}));
cp.setSearchQualification(sc);
cp.setSearchSortSpecification(sortSpec);
// Session connection
LibrarySession session;
LibraryService serv;
// Connect to Oracle iFS
serv = new LibraryService();
session = serv.connect("system", "manager", "IfsDefault");
Search s = new Search(session, cp);
try
LibraryObject lo;
// Open the search
s.open();
while (true)
// Returns the next result row into Library Object
lo = s.next().getLibraryObject();
// Add LibraryObject to output vector to return
vecOutput.addElement( lo );
if (lo == null)
throw new RuntimeException ("Retrieving search results : LibraryObject is null");
else
// Print results
System.out.println(lo.getName());
} // End Of While Loop
} // End Of try block for search open
catch (IfsException e)
/* Throw an error, unless the exception is
* 22000 'End of Data' which is always thrown
* when s.next() reaches the end of the cursor.
if (e.getErrorCode() != 22000 )
// Something bad happened
e.setVerboseMessage(true);
throw new RuntimeException("Error happened in returning result set:"+e.getMessage());
} // End of catch block for search open
finally
// Check if the size of ResultSet Vector Is more than zero
if ( vecOutput.size() > 0)
resultsArray = new Pub licObject[vecOutput.size()];
for (int i=0; i < vecOutput.size(); i++)
// Copy the result set library object to Public Object Array
resultsArray[i] = (PublicObject) vecOutput.elementAt(i);
} // End IF
// Close the search
s.close();
} // End of Finally block for search open
catch (IfsException i)
System.out.println(" " + i.getMessage());
return resultsArray; // Return the results
null -
How do I search for email by date on iCloud
hi, anyone know how to search mail on i cloud by DATE? thanks in advance.
You can't, other than physically looking for it.
-
Can you search for a particular date in the past to locate a file in the time machine
Using a MacBook, OSX 10.7.5
Is there a way to go back to a certain date in the history of the time machine? Example - is there a quick way to go back to Oct 25, 2012?
Thanks.All you could ever need to know about Time Machine:
http://pondini.org/TM/Home.html
(from the late and sorely missed ASC contributor Pondini) -
Script to search for special data in folder
Hi,
I use several folders, which have several data called .txt at the end. Some of the folder have no .txt datas and some folder have one or two of .txt datas.
I want to write a script which makes it possible for me to search for the .txt datas in the folders and let me know the Name of the data.
At the moment, I have no idea how to search in folders for special data.
Maybe somebody of you know how I could programme this code?
Thank you very much for your help.
Best regards,
MosquitoHello Mosquito,
There is no Script required to do what you are trying to do based on my understanding of your explanation.
You just need to follow these two steps:
1. Add ALL the directories you wish to search for you *.TXT files to the DataFinder Search Areas, be selecting a grey folder in the NAVIGATOR, right-clicking the folder and then selecting "Add Search Area ...". This will ass the grey folder to the "Search Areas" = Yellow folders on top the the tree view in the "My DataFinder" view of the NAVIGATOR.
2. In the NAVIGATOR panel, find the text box on top of the file system hierarchy view, and type "*.txt" into the <Enter search text> field as shown in the screen shot below. Press the "Search" button to the right of the text field, and you will get a list of all *.txt files that are contained within your yellow search area directories.
That's it. No scripting required ...
Let me know if that helps.
Otmar
Otmar D. Foehner
Business Development Manager
DIAdem and Test Data Management
National Instruments
Austin, TX - USA
"For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary." -
Searching for Data in the Report for a non-selected column in display.
Hello,
I have an interactive report as given below:
select user, dept_name, sal, description, title from hr;
Now, in the report display options I remove the title and description from the display as you know title and description are 2000 characters each.
If I show then it takes the whole page to display one record and with this option I can search any text in the Title or Description columns.
Now, I have hidden these two columns and when I search I do not see any records.
Can any one tell me how to achieve this behaviour.
What I am looking is, I do not show the column 'TITLE' or 'DESCRIPTION' and user show be able to search for any important data inside these columns.
Please let me know how can we do this.
Please point me to an already published article or solution or any help on this type.
Appreciate your help on this.
thanks
Edited by: user648778 on Sep 18, 2008 6:13 PMAs far as I can see this will not work. You could use a trick and make a query like this:
SELECT USER, dept_name, sal,
apex_item.hidden (10, mgrdescription || title)
|| '<img src="#IMAGE_PREFIX#some_nice_icon.gif">' title_description
FROM hrThis would not display the title and description but an image and it would give you a possibility to filter on those.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------- -
Search for certain Characters within set of Characters - in a field
Hello -
I know a search can be made within a field for a word, but I am not to sure, or I don't know how to accomplish this...To do a search in a field for certain characters within a larger set of charcters.
For example: I would search, in the Call Description field, for DXXXX within CA0001DXXXXYYY or search for LXXXX within CA0001LXXXXYYY, the X is numeric characters and the Y's are Alpha characters. Can crystal accomplish this....
Thanks for your gracious help....
G.Like I said earlier, this code:
If instr({database_field}, 'DXXXX') > 0 then "String Found" else "Not Found"
cannot be used in a Record Selection formula.
The following code can be used in the Record Selection formula:
Instr({database field}, "string") > 0
If you wish to search for 'D4444' in the field and return records where a match is found, you would use:
Instr({database field}, "D4444") > 0
-Abhilash
Maybe you are looking for
-
Working on ETL tools interoperability using Common Warehouse Model (CWM)
Hi All, Its just a piece of information and not a question. I have been working on proving the ETL tools interoperability using Common Warehouse Metamodel(CWM), an OMG standard. The whole concept is to take out the metadata from an ETL tool say OWB a
-
Is this MAC Mini good for gaming?
I love to play games, and my love is the sims 3! I' am wondering if this mac mini with these specs can run smoothly TS3 + expansions: 2.5GHz Mac mini 2.5GHz dual-core Intel Core i5 8GB memory 500GB hard drive1 Intel HD Graphics 4000 OS X Mountain Lio
-
Fog around the lens in Camileo X-Sports
I'm very carefull to load the camera at home and even add a dry "moisture pad" in the camera but after a few minutes (5) in the sun I get a fog circle just around the lens. I have to open the case each time. This part of the camera becomes warm and I
-
Can I Use Adobe Audition CS6 with an Avid Eleven interface?
I have a PC and the Adobe Creative suite. I recently bought an Avid Eleven guitar Rack and computer interface. I have been having problems with Protools crashing, and apparently it is a common problem with Protools/PC. I like the Adobe Audition, and
-
CR 12 and CR 13 runtime co-existence
Is it possible to have the se the runtimes for CR2008 and CR2010 on the same machine - we seem to be having troubles with scenario ! Thanks Bruce