I have a problem that I'm really stuck with for sometime here.
I have setup a Team site with some document management stuff but its just not possible to access it from the intranet, whenever I do that I get the login dialog. Enter the username/password and it asks again and after the 3rd time, the dialog goes away with only a blank (white) screen in the browser.
Hello all. I have a SharePoint 2010 site collection, which has several sites (each in turn containing several sub-sites). I have a requirement to create a WebPart that displays an URL to the last modified document on the entire site collection.
My initial approach is to create a timer (SPJobDefinition) that iterates through the entire site collection, open each list, extracting the last modified document and compare it with the next list, and so on. Then, once I have the URL, store such URL somewhere (a property bag or a record on a list).
However, this seems too much work for this task. I was wondering if there is an easier way to accomplish this, or if someone has done so before, to give me hints on a better approach.
Thanks in advance. Any suggestion will be really appreciated.
Well, it's for planing Sharepoint solutions. I made up my mind about this topic. But I like to know what do you think about.
First point: In a workshop I was told by a guy who set up sharepoint solutions for some big companies (for the guys in US: small companies, just about 3000 to 5000 workstations) that I should set up more collections. Sharepoint was designed for having thousands of websitecollections for each application, he said.
Second point: In a book written by a so called guru I read that everything should go into websites and only if there is a strong separation there should be a new websitecollection.
I tried to figure out who's right.
Well, as I know only websitecollections can be backedup on their own but there is more administrative effort. Websitecollections can be placed on different databases and - as the SQL Server isn't able to handle one database on multiple servers - the only way to seperate them on different servers.
Big databases get really slow (in case of the SQL Server) and because of multimedia documents the propagandizes maximum of 200 GB is a problem anyway.
So, what do you think? Should I set up collections for every department and for special applications? I think so, but I don't know if I'm right.
Hope you can tell your sentiments to this questions.
I have built a visual web part and was wanting to use the jquery ui dialog control to display messages to the user. I was calling these dialogs from my vb.net code, which I have done before in regular aspx pages but never in a visual web part or user control.
The issue I was running into was that when the dialog was called it only shows up for a second and then disappears. This is usually when the rest of the page is rendering. What could I be doing wrong?
I have a custom menu control that's content is read from the physical path of an XML file. What I need to do is first write the xml to this physical location path then load the menu's XmlPath(Menu1.XmlPath = @"C:\temp\MenuData.xml"). How can I do this in a WebPart?
add this xml into the layouts mapped folder and then in your web part read the xml. It will solve the permission issues on reading the physical file from some other folder and easy to package and distribute across your multiple wfe servers.
We really need to get you into thinking in terms of document libraries instead of touching the 14 hive. This is what you will also do with your images, Silverlight web parts, and much more. Document libraries are more than just ftp over http. They are file storage for applications as well. Here is a code sample blog for reading xml into a web part. http://www.jdxyw.com/?p=631[^]
Great example for reading a library document but what I need to do is open my template menu.xml file, then modify the xml with the new menu data, then write it back to the source (library document), then finally set it as the source for my custom menu control contextMenu.xmlPath = "libraryFile.xml". Is this possible or am I missing something. I am new to SP and still a little lost.
I am up against a couple of deadlines for grad school and work at the same time. Here is what I can tell you fast. What you want is possible. I would setup the coding research tasks as follows: code doc lib url as property of web part (this gives you a flexibility for where doc lib can be--not hard coded). Rt click on doc in lib get url directly to item in library. http://zimmergren.net/technical/how-to-custom-web-part-properties-toolpart[^]
Hi All, this my first time asking a question on here, so here goes..
We currently run SharePoint 2010 foundation environment using the product
as document repository with approval settings activated.
At this stage everything runs smoothly with approvals expect notifying
the document uploaded that there document has been either Approved or Rejected.
Now I know we can use the built in Alert Function with SharePoint but some of our sites have a huge amount of document libraries to which we don’t want our users and myself to go through each one and setup and alert for it.
I have gone down the Workflow road with SharePoint Designer and checked out what can be done; basically I found that I can only do this strictly for Document libraries one at a time which is the same for the alert function. Having said that my knowledge of workflows with SPD is kinda limited so if I’m missing something here let me know?
SO..this brings me to a question, I would like to know IF it is possible to setup alerts at sites levels. I would like to create alerts for document approval/rejection per site can this be done with say custom code?
I have searched google for answers but it looks like this cannot be done without custome code?
AFAIK there is no central place to configure alerts (I think I understood your requirements ) for all the doc libs, I would suggest to use Powershell to iterate all libraries and enable alerts on them.
Rajesh, thank you for your response, I did think to go down the powershell road but not sure where to start, although I did see an article http://salaudeen.blogspot.com.au/2011/11/managing-alerts-using-powershell.html but this doesnt really explain how to do this for ALL document librarys for a particular site? any ideas?
I don't have the time now to research this, but I believe it's possible. I would look at some site workflows and how to associate them via code with the resources you are looking for, probably fed from an xml file or something. In other words, you may not be able to follow traditional methods, but I am sure that there is a component useful from an api perspective that can do this. You may also look for a third party component at codeplex or for a fee from the Bamboo Solutions people or something like that. Keep at it and I think you find a way. This also sounds like a common need, so you may discover a market for this as well.
I have a infopath form that is published in Sharepoint 2007. I am trying to figure out how to edit the infopath form. I didn't publish the form in which the previous guy that worked here did. When I click on the form it opens up as a webpage. I want to attach a document to the existing infopath form. Any ideas on how to edit a infopath form then republished it to sharepoint?
I have a list named "Designation" that contains a Designation Code and Designation Name. I have another list named "Employee" that contains Employee Name and Designation Name (as a Lookup Field). I am able to insert values to "Employee" list using the following code.