Lifetime management of lists and documents in Sharepoint - sharepoint-2007

Can I do the following with SharePoint 2007:
1) Create lists (records) and document libraries with content that is in force for a certain amount of days and after that, they automatically expire? How?
2) When searching for words in a SharePoint site where there are lists and documents, SharePoint displays results similar to Google, would it be possible that Sharepoint tell me what documents are no longer current? How?
Thank you very much.

For your first question, you might want to check out Information Management Policies
http://office.microsoft.com/en-us/sharepointserver/HA101735291033.aspx
HTH

Related

Find most recently added file into SharePoint online library

My requirement is to search for a file in my entire SharePoint Online (SPO) using Graph apis. I have my query something like this which I use in MS Graph Explorer:
https://'my domain'.sharepoint.com/_api/search/query?Querytext='res1a2b3c4d5e'
Basically above query is to search for all the documents having title/name as 'res1a2b3c4d5e'. This works fine if I search for any existing document. If I try to search for any document which was created/uploaded just before making above call I wont get the result.
If I search for the same after couple of minutes, then the request succeeds. Where as when I try the same on my customers site where it has millions of documents. It nearly takes around 20+ hours before I can do a successful search
So does graph api work on any SPO cache?
How can I search for newly added file without having to wait for 20+ hours?
Thanks in advance.
The search results will be available only after the search content is crawled and available in search index. While you can control the crawl schedule in SharePoint On-Premise, you cannot do so in SharePoint online. Crawling frequency in SharePoint online is managed by Microsoft.
More Details

View all of an individual's sharepoint permissions in Sharepoint 2007

Is there a way to view all of an individual's permissions in an entire Sharepoint 2007 environment ie, all sites, lists, libraries, etc? I know I can do this with Groups by selecting View Group permissions under Advanced Permissions. How do I with Individuals? I don't what and where the previous ITs gave users permissions to and we have thousands of areas and several hundred users. This is too much for a site by site verification. Thanks
I use Access Checker WebPart for MOSS 2007.

Search product websites without api

Sorry for the bad title and description, but I was wondering if there is anyway I could search/list products from other sites (say Express, American Eagle), from a web app I create, even if the site doesn't have an API.
Thanks
Sure. How do you think Google and every other search engine does it? They just spider the sites and index the contents. The devil, of course, is in the details. But it's certainly possible to do.
I don't think so. Unless you want only to fetch some data from a certain HTML page, then you need to use some regular expressions. But searching the database is not possible if you don't have the ability to connect to it directly or via some APIs.

Duplicate List records

How do I avoid entering the same kind of data from the same users in sharepoint list?
Any directions please
Hari Gillala
No luck going the easy way with Sharepoint 2007. With Sharepoint 2010 you have the choice to make values unique (see SharePoint 2010 – Enforce Unique Values).
With Sharepoint 2007 you have to do that programmatically using an EventReceiver. See following post for lot's of information: How to avoid duplicate record depending on the field in customlist

How to show a list of sites the current user can access?

I'm working on MOSS 2007 and I want to build a sharepoint webpart that can list all the sites (in the same SPfarm) visible to the current user. What I can think of is:
Use FullTextSqlQuery class to search for the sites, but is it possible;
Build an external application that crawls the user-sites information by using the Sharepoint Object-Model. The webpart can then use this information.
Is there any simple solution?
Any idea will be appreciated. Thanks!
Please take a look here: Talk to SharePoint Through its Web Services at "Example 3"
You'll need to write some managed (.net) code.
SharePoint creates site maps by default. Unless you have turned this off, you can get one from a site by appending /_layouts/viewlsts.aspx to the site URL.

Resources