Is it possible to submit data to a SharePoint-List??? I'm just getting into InfoPath 2007, so this might be a stupid question.
The thing is as follows:
I want my users to create listitems, using a browser-enabled InfoPath Form, that only fills-out part of the fields. I (as an administrator) want to be able to fill-out the rest of the fields an be able to attach a file to this listitem.
So what I basically want is an InfoPath Form, that creates a new item in my list and submits a couple of datafields.
Is this possible or what are the alternatives Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
Searching Functionality in MOSS 2007 The search fucntionality in MOSS 2007 does not seem to be working on some of the non - msoffice documents.
For example I did a search on an uploaded PDF which contained text documents.
However the search functionality ( including the advanced search) could not retrieve the PDF document.
Any suggestion/solution Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
Exception 0x80004004: Attempting to Modify Permissions for an Article in Pages Library Whenever I attempt to modify an article's permissions in the Pages library, I get this error. Any ideas what could be causing this and how to resolve the issue I have rebooted all of the servers in the farm and reset iis on all of them.
Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT)) at Microsoft.SharePoint.Library.SPRequestInternalClass.ResetSecurityScope(String bstrUrl, UInt32 dwObjectType, String bstrObjUrl, Guid guidDoc, Boolean bUnique, Boolean bCopyRoleAssignments, Guid& pguidScopeId, Int32& piError) at Microsoft.SharePoint.Library.SPRequest.ResetSecurityScope(String bstrUrl, UInt32 dwObjectType, String bstrObjUrl, Guid guidDoc, Boolean bUnique, Boolean bCopyRoleAssignments, Guid& pguidScopeId, Int32& piError) Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
Need to share a documents library I want to use the Documents Center/Documents library as the main dump for documents on my intranet. I set up the library the way I wanted, created columns, views, etc., and saved it as a template. I created a subsite called Benefits. I created a documents library within Benefits based on the main document library template, checked "include content". Since i had made custom columns for Department and Group, I was able to apply a filter whereas only items with group=benefits displayed. So, this all worked great. I had a sep. document library, populated by a master document library, with only the files for that site displaying. The problem is, if I add an item to the benefits library, it only adds the item to that library. I need it so that I truly have one master document library that I can use to source multiple document libraries in subsites, and have it so i can add items in those subsites, add items in the master, and they all are updated. FYI, I am a designer, not a coder, so please keep that in mind with your replies Thanks!!!! Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
Drill Through on Excel 2007 Hi All,
I am trying to create Drill through reports on Excel 2007. But I dont see ways of doing it in Excel 2007. Can anyone throw lights on how is it possible in Excel 2007
Regards,
Suresh S Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
difference between search and query server? Hello All,
I want to know the difference between a Search Server and a Query Server in MOSS 07 environment
What are they What do they do
Can we have them on a dedicated server
Can we have them in more than one server
How many is an SSP
I would be looking for the answers for these.
Thanks in advance.
Hassan
http://mhrhap.spaces.live.com Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
Problem with setting a fixed height for a webpart - list Hi,
I have a problem in my WSS 3.0 site.
On a standard-site I want to set the height of a webpart with a ordinary list to be fixed, ( for example height 300px)
However if the list contains more information it floats out and presses the webpart under (in the same webpartzone) out of the page. I want the upper webpart to overflow so that it will get a scrolling function instead of floating out.
I have tried to set the height in the webpartsettings on the site where you can set the height with no result.
I have tried to edit the webpartzone with setting the heigth to 300px and overflow to auto. Still no result. It continues to float out...
Am I doing something genarally wrong here
If anyone could give me any advice, I would be most grateful.
Thanx
Kenth Jansson Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
Problem while accessing text document in notepad from SharePoint server located on port other than 80 Hi all,
Currently I am facing problem while accessing text document in notepad from SharePoint server located on port other than 80 .
SharePoint server is located at path:
http://sharepoint-serv:26791/sites/mysite
I have uploaded text document (SharePoint Doc.txt) on path
http://sharepoint-serv:26791/sites/mysite/mydocs
I tried to access the document as:
1) I opened notepad
2) Clicked on File>>Open menu
3) Typed path http://sharepoint-serv:26791/sites/mysite in Filename section, and selected file SharePoint Doc.txt.
4) But the file opened as SharePoint Doc[1].txt, means notepad downloaded to folder - "Temporary internet files" which is not
expected(if you open any word document on SharePoint server, it is directly opened from SharePoint server without downloading
it on local machine).
5) When I tried to save the document, the Error message displayed as
Cannot create the C:\Documents and Settings..... \Temporary Internet Files\...\Sharepoint Doc[1].txt
Make sure that path and filename are correct.
How can I open the text document in notepad and save the changes
If the SharePoint server is located on default port (port 80), this problem doesn't exist.
When I tried to access document on other SharePoint server in notepad
http://sharepoint-serv/Shared%20Document s
It's working perfectly.
I am using operating system Windows XP with service pack 2 installed.
SharePoint server in located in intranet having operating system Windows Server 2003
It seems notepad dialog box can not open documents for port other than 80.
Are there any settings required to solve this problem Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
WSS 3.0 can't send email alerts to AD group I am using WSS 3.0 on a stand alone server that is part of an AD domain. As a site admin, I can sucessfully set up alerts for users but I cannot set up alerts for an AD group. I get the following error:
The following users do not have e-mail addresses specified: Domain\Group . Alerts have been created successfully but these users will not receive e-mail notifications until valid e-mail addresses have been provided.
Set my e-mail address...
Troubleshoot issues with Windows SharePoint Services.
All of the users in the group have an email address assigned in AD and I can sign them up individually. I thought that this was a feature of WSS 3.0.
Any thoughts
Thanks in advance. Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
Access denied when open document Hi All
I have one problem about the permission of MOSS 2007. First, I try to test my setting about permission by open the Portal and specify URL (for example http://test1 ) on the user's PC which he (USER-A) has already added his name into the user group. It works fine and the document in my document library can be opened. Next, I have found the problem when I try to open Portal on the other PC which the owner or user (USER-B) has not been added into any group. The error massage has normally shown like this
"Access denied"
Then, I try to sign in as a difference user by using the user name as USER-A and it seems OK. I can open Portal and select my file in document library. But I still found the warning (as above) when I click on the icon of selected file.
How can I fix this problem
Thanks in advance
Gogzilla Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
Microsoft SSRS and SharePoint Server 2007 I've been following instructions from you document named "2007 Microsoft Office System Business Intelligence Integration"
h ttp://blogs.msdn.com/sharepoint/archive/2007/02/19/microsoft-sql-server-2005-sp2-reporting-services-integration-with-wss-3-0-and-moss-2007.aspx
I am running both servers on one computer and am now trying to deploy reports to that server. In the document above it says "reports can be created and deployed to the Office SharePoint Server 2007".
So i've created a sample report configured the project as follows
TargetServer http://abc/reportserver
TargetReportFolder Reports
TargetDataSourceFolder DataSources
Then I right click on the report under the Solution Explorer and click deploy, and it returns this error.
Error 1 The operation is not supported on a report server that is configured to run in SharePoint integrated mode. 0 0
Please help! there's not enough information about deployment available!
Sincerly
Shahin Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
Planning single or multiple farms Hello
Does the size of a SharePoint environment (more than 20'000 Users, a lot of sites) has an influence to the decision if the farm has to be built as a single oder multi farm environment.
I already know the TechNet articles with design guidlines for SharePoint Farms with 2007. I put this question here in to get some practice information from the real world :-)
Kind Regards,
Juerg Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
How to rename a document during checkin to enforce rules? We need to rename documents based on the version number.
I created a custom content type for this, and added it to a document library. I then created a custom site policy and attached it to the content type. The Register method for the Policy sets up an EventReceiver.
I have tried catching the itemadding, checkingin, checkin, update, updating events.
The code for the event handler is:
DisableEventFiring();
base.ItemUpdating(properties);
SPListItem li = properties.ListItem;
string prefix = GetPrefixForPolicyInstance(li);
SPFile file = li.File;
int versionId = file.MajorVersion;
file.Item["Name"] = prefix + versionId.ToString() + file.Name;
file.Item.Update();
When I do this the filename gets updated - but then word 2007 complains that the file no longers exists - some sort of mismatch in that it saved A but the data back is B.
How can I do what I need to do Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
How to change Subject and Body from an Alert Hi all,
does anybody know how to change the localized messages for the subject and the body of an alert.
I found out, that the alerttemplates.xml from the 12hive \TEMPLATE\XML\ has the coreesponding key-tags of the resource-files. After checking the files core.resx and core.de-DE.resx i found no matching string regarding the e-mails subject and body.
I searched on the whole server for some particular string like "receive" (which will be included in the body-message if you add an alert for a different person than yourself [You will receive alert in e-mail.]).
I also checked the Database-Procedure proc_AddSubscription and some .aspx, .ascx and some codebehind.
Nothing! - It seems like they did hardcoding this
Does anybody has a clue Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
Missing "Upload Multiple Files" tap Hi,
I can't find the tap of "upload multiple files". Could anyone tell me what is happening
I have created a document library. In the "Upload" menu, there is only one choice - "Upload Document". After clicking on that, there is still nothing related to "multiple files".
I understand that I could use the explorer view to upload, but I just wonder if there is any other method which can handle this.
Thank you very much.
Jensan Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
Permissions for a List is Inaccessible Hi,
When i try to edit permissions for a list or document library in MOSS 2007, i get the following error message;
" Operation is not valid due to the current state of the object. "
"Document Library (or List) > Settings > Permissions for this List" is inaccessible for me but i can manage site or item permissions...
I suppose this problem started when i open anonymous access from central administration but i'm not sure.
By the way i must open my list to anonymous access and as i said above i can't manage permissions for lists. Is there an alternative way to open anonymous access for lists At least temporarily...
Thanks in advance Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
VB.net Webpart in Sharepoint I am completely new to sharepoint. I am attempting to create a very basic webpart for a trial. When I write code in C# it works fine however when I write it in VB.net it does not show in the list to be imported. I have made several C# parts and imported them without and issue. I am installing the DLL to the GAC, adding the trusted assembly tag to the web.config file and all the C# parts show up to be imported but the VB.NET never shows on the list. Other than the code language I am using the exact same methods to get them into Sharepoint. Thanks in advance for any help.
C# Code:
using System;
using System.Collections.Generic;
using System.Web;
using System.Text;
namespace CSWebPart
{
public class CSWebPart ystem.Web.UI.WebControls.WebParts. WebPart
{
protected override void Render(System.Web.UI. HtmlTextWriter writer)
{
writer.Write( "This is a webpart using C#" );
base .Render(writer);
}
}
}
VB.NET Code:
Imports System
Imports System.Collections.Generic
Imports System.Text
Imports System.Web
Namespace VBWebPart
Public Class VBWebPart
Inherits System.Web.UI.WebControls.WebParts.WebPart
Protected Overrides Sub Render( ByVal writer As System.Web.UI.HtmlTextWriter)
writer.Write( "This is a webpart made using Visual Basic" )
MyBase .Render(writer)
End Sub
End Class
End Namespace Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
xslt file - embedded resource - web part is not working... Hey, I am trying to programme a rss-reader web part. I am the code from Ted Pattison's book - Inside (Microsoft) Windows SharePoint Services (~page 118). He combines the RSS Viewer with a xslt-file. But as very often in this book, he misses to explain how he is doing it. Hopefully somebody can help here. What I did. 1) Put the code into a cs file (RssViewWebPart.cs) 2) Put the xslt-code into a xslt file (called it RSS.xslt) 3) Under RSS.xslt properties (Advanced) --> Built Action: I took Embedded Resource 4) Built the solution 5) Droped it into the bin-folder, set trust level to full.... web part is not working... Error: The "RssViewWebPart" Web Part appears to be causing a problem. Object reference not set to an instance of an object. Maybe this can help (Teds words...) ...is a simple xslt file for an RSS WEb Part application that will transform the output by using the xslcompiledtransform class. this file is compiled in as an embedded resource in this example, with the full name LitwareWebParts.Resources.RSS.xslt..... Any help is highly appreciated :-) Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
Document Workspaces as Web Part Is there any way to get a document workspace to show up as a web part that I can add to the home page
Thanks in advance
~Nick Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
DOCTYPE Hi,
I'm having trouble using Ajax in WSS 3.0.
My collapsible panel control doesn't work. A bit of digging around told me that I need to set the DOCTYPE on the Master Page.
It needs to be:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
However, when I set this, because Sharepoint uses lots of depreciated attributes/tags, all of the formats fall over and it looks a RIGHT mess.
I was wondering if anyone new an easy way round this
Perhaps there is a way of using something like the DOCTYPE tags around just one section of code
I'm desperate for an answer to this one!!
Regards Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
Upgrade to WSS3 by migrating content database failed I am not very clear about the procedure of upgrading WSS2 to WSS3 by migrating content database to the new farm. In my new web server, I fresh install the WSS3. Then I backup the WSS2 contentdb and restore to new database server.
In the WSS3 central admin. page, I create a new web application and set the contentdb to new restored contentdb. Everything look fine but when I try to connect the site collection. It throw 404 error. Please help Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
Server Application unavailable Right, been trying to install sharepoint for few days now, determined to get it working. Just finished the configuration wizard successfully, then IE poped up, entered Administrator password and username. But it failed, error starting with
"Server Application unavailable" please hit refresh...
(Running on VMware, Server 2003 Standard Edition, Sharepoint server 2007: Stand-alone installation)
Anyone got ideas Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
Announcements across sites Hi, There has to be a simple answer to this, but I have yet to find it I have a top level site, on which I place company announcements. Below that site are the team sites for each department, with their own individual announcements. I need to display the announcements from the top level site on each subsite. Sounds easy, eh The Announcements webpart allows for an RSS feed output, right I have tried the RSS webpart - it will not pull data in from authenticated feeds. I have tried the XML webpart - it simply displays the error 'Cannot retrieve the URL specified in the XML Link property. For more assistance, contact your site administrator.' and it would seem that, while a common error, no one has publically stated a solution for it. The user I am using on both sites is a farm administrator, so user permissions dont seem likely. Has anyone solved this Regards Richard Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
A SharePoint Workflow Issue Hi
I have Windows Server 2003 R2 installed then i installed Office 2007 SUITE System without SharePoint Designer. then i installed Share point Services 3.0 with all the PreReq like .Net 2.0,.Net 3.0 etc.After that i installed SharePoint Designer and then Sql Server Developer Edition and Visual Studio 2005. I have designed two three portals using Sharepoint Services 3.0 .Now i moved to SharePoint Designer for WorkFlows and Other Designing but it doesnot show any option for Creating a New WorkFlow in the File Menu.However i have seen a number of Articles where it is shown that a New WorkFlow can be created from the start menu. Then i moved to Visual Studio 2005 Designer for WorkFlows. i have installed two additional things. 1) Visual Studio 2005 extensions Windows WorkFlow Foundation 2) Visual Studio 2005 extensions for Sharepoint Services 3.0 I made a WorkFlow using the Article given below and i have followed the same sequence of steps as taken in the following article for deployment. http://www.developer.com/mgmt/article.php/11085_3652346_2 The Workflow application is compiled Successfully and i have installed it successFully but it is not activated and not shown in the workFlow Area in the Sharepoint Portal Site. Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
ArgumentException in columns value Hello:
I'm trying to create new columns in a Document Library that I have created (C#)
after that, I want to upload a document (from my hard disc) and later I wish to add information (as metadata) in the new columns, but I'm having troubles with this last part.
I create succesfully the columns, I upload the file succesfully too but I can't add information since this level to the recent created columns in the Document Library.
I suppose that I should specify the Document Library to use for this columns particularly, but I don't know how to do that, or maybe I'm making the insertion of this metadata incorrectly.
The error is the next: "ArgumentException", "the value is not within the awaited interval" (sorry for the translation)
Regards and I thanks for your help!
using Microsoft.SharePoint; using System.IO; using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls;
public partial class HowTo_SubirArchivo4 : System.Web.UI.Page { protected void Button1_Click(object sender, EventArgs e) { using (SPSite objSitio = new SPSite(" http://xolotl:88/ ")) { using (SPWeb objWeb = objSitio.OpenWeb()) { objWeb.AllowUnsafeUpdates = true;
string newFieldName = objWeb.Fields.Add("RegionFromCode", SPFieldType.Choice, true); SPFieldChoice regionField = (SPFieldChoice)objWeb.Fields[newFieldName]; regionField.Choices.Add("Global"); regionField.Choices.Add("Europe"); regionField.DefaultValue = "Europe"; regionField.Update(true);
string nombreCampoN = objWeb.Fields.Add("Antecedentes", SPFieldType.Text, true); SPFieldText campoAntecedentes = (SPFieldText)objWeb.Fields[nombreCampoN]; campoAntecedentes.DefaultValue = "Ingrese los Antecedentes"; campoAntecedentes.Update(true);
string nombreCampoNum = objWeb.Fields.Add("NoFolio", SPFieldType.Number, true); SPFieldNumber campoFolio = (SPFieldNumber)objWeb.Fields[nombreCampoNum]; campoFolio.Update(true);
objWeb.AllowUnsafeUpdates = false;
SPFolder folder = objWeb.Folders[TextBox1.Text]; objWeb.AllowUnsafeUpdates = true; SPFile file = folder.Files.Add(Filex.FileName, Filex.FileBytes, true);
// ERROR ERROR ERROR in the next Line, file.Item["Antecedentes"] = DropDownList1.SelectedValue.ToString(); file.Item.Update(); objWeb.AllowUnsafeUpdates = false; } } } } Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
Site Template Query Hi,
I am new to SharePoint Technologies. I have a very basic question about templates. Say we select a template and create a site. When we want to create sub sites, the template list becomes subset (reduced options) as compared to the original set. E.g if I create a Publish Portal (Either Internet facing or Intranet) and then want to create a subsite like say Wiki or Blog under it I will not be able to as the only option that will be available is Publishing Site with WorkFlow. I am sure this will not be an unusual requirement. May be my undertstanding is wrong/missing something. Can somebody enlighten me with the right concept or give right pointers
Thanks in advance
Regards
Shyla Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
Privilege Elevation Exception Hi
I'm writing some code where the user should be system account.....like changing the user information list.
but this code has to run for each user ...for that I searched the internet and cud find below solution
SPSecurity .RunWithElevatedPrivileges( delegate ()
{
using ( SPSite site = new SPSite ( SPContext .Current.Site.ID))
{
using ( SPWeb web2 = site.OpenWeb())
{
//mycode
}}});
but his code throws me this exception
Request for the permission of type 'Microsoft.SharePoint.Security.SharePointPermission, Microsoft.SharePoint.Security, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' failed. Anyone has got some idea to handle this
My trust level is Medium
Thanks
Manu Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
SPS2003 cannot access default root site, but can access sub sites... I have a sps2003 on w2k3, and after a bad install of another vendor's software, it broke my portal on the default website. I finally got it working, but only for a day. It had been givng 404 and 403 errors, until I changed the app pool identity to one that had access to sharepoint. Then without warning, the next day I can no longer get to the default root page. I can type in the url of a sublevel site, and get in no problem. But if I try to traverse back up to the root site, I get unauthorized access error, from within Sharepoint
Now I have a feeling that SPS is crippled, and I have tried running a repair, and updating the sp, but it hasn't worked. Short of uninstalling/reinstalling, is there anything else I can do
I am a newb when it comes to SPS, so go easy on me. I inherited this mess, and am trying to get it straightened out... Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
Make MOSS to View Word document,But not allowed to download HEllo I am facing the problem I want to show MS word document on Sharepoint site but dont want to allow user to down load or save that document to locally. I have used pageviewr webpart to view the document Please Help!! Thanx in advance Dhaval varia Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
WebServices SoapServerException to Upload with AddAttachment Hello:
I'm trying to upload a file in a Document Library using the List.asmx Web Services of SharePoint and the AddAttachment method, who requires of 4 parameters. The problem that I'm having is that when I pass the parameters I obtain an "Microsoft.SharePoint.SoapServer.SoapServerException" type error, "The value is not in the expected interval" ("Value does not fall within the expected range", sorry for the translation). I suppose that the point is "List Item ID" parameter, but Im not shure.
try
{
// AddAttachment(string listName, string listItemID, string fileName, byte[] attachment)
string AddAttach = listService.AddAttachment("Document shared", "3", FileUp.FileName, FileUp.FileBytes);
Response.Write(AddAttach );
{
catch (System.Web.Services.Protocols.SoapException ex)
{
Response.Write(ex.Message);
}
It is makes me crazy, I have tryed with all te possibles values, but it doesn't work!
If somebody could help me with your expirience and knowledge I really apretiate it. Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
Start workflow when due date specified in list item has passed Hey mates!
I need to send a notification mail when a due date specified in a list item has passed.
I'm using share point designer to do the workflow part and have a workflow without condition but the corresponding action defined. I was trying to use the expiration function in the information management policy setting of the list but that doesn't work that nicely.
Any suggestions for a more elegant solution
Thanks a lot! Tag: SharePoint - Development and Programming MOSS 2007 and PDFs SharePoint Products and Technologies
Stout2734
In MOSS 2007, is there a way to check out pdf's, make changes and then check the document w/ changes back in