 |

|
I only know how to send the formular as attachment. Therefore you have to setup a new Connection "Data"-Tab in InfoPath -> sent Formular -> To E-Mail (they may be called differently I just got the German version).
You can setup options there (for example your own C# Code). Then use the connection for a button and you can sent the an eMail.
I can't help you any further because I didn't had that case yet.
------------------------------
Author of Primary ROleplaying SysTem
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.
|
|
|
|

|
I have a content type that I am needing to add a new column to. This new column is a boolean field and by default it is set to False. Now, I already have alot of items in the existing list, so each of these will need to be updated as well with the default value of the field, but how would I do that? Do I do that in the Event Receiver of the Feature object? And under which method would I do that under: FeatureActivated or FeatureUpgrading?
|
|
|
|

|
Aptiva Dave wrote: This new column is a boolean field and by default it is set to False.
Every column can have a default value, so if you set "false" as default, every item should have that by default without programming.
Yep, I was wrong here.
------------------------------
Author of Primary ROleplaying SysTem
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.
modified 15 Feb '13 - 3:32.
|
|
|
|

|
yeah, all new items do, but I'm talking about items that were in the list before the new column was added
|
|
|
|

|
Ok, sorry I was a little bit to optimistic. The default-value isn't updated automatically. So there is a little bit programming needed.
The way I would do it:
Build a normal .Net Windows-Applikation, open the List go through the SPItems and change the value of the specific field.
------------------------------
Author of Primary ROleplaying SysTem
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.
|
|
|
|

|
how can i access attributes( properties like modified date etc..) of documents from a sharepoint site ?
I amd using sharepoint 2007. Is there any sharepoint webservice for this purpose ?
(for desktop application using C#.net or vb.net)
|
|
|
|

|
For the SharePoint WebServices have a look at: Re: Consuming Sharepoint Document library in ASP.NET[^]
With C# it's easy to get all the Dokuments (SPItems) from a List (SPList). Via SPItems you can read and set properties.
------------------------------
Author of Primary ROleplaying SysTem
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.
|
|
|
|

|
Ran into an issue just now and need a little help. I have a custom document library that has two columns for text: Title and VideoLink. This document library is for our HR department to upload training documents to our intranet along with optional videos that they will link from other sites. I can get the documents to upload fine, but nothing is populating in my two text columns. Without displaying my full code, here is basically what I'm doing for both columns:
dim eItem as splistItem = elist.AddItem()
...
eItem("Title") = txtDocItem.Text.Trim
eItem("VidLink") = txtVidLink.Text.Trim
eItem.Update()
Is there something I'm missing? I've used the same logic to upload pictures to a picture library, and those custom fields work fine.
|
|
|
|

|
Did you try using the internal names for the fields while updating them?
|
|
|
|

|
Hi,
I am going to sharepoint document which is use to share document with in the organization.what are the software and hardware requirements for this document sharing.
Thankyou.
|
|
|
|

|
HemadriT wrote: I am going to sharepoint document which is use to share document with in the organization
What? I don't know if I understand you correctly. You just want to share documents?
HemadriT wrote: what are the software and hardware requirements
Software e.g.: Windows 2008 with SharePoint Foundation
Hardware e.g.: Quad-Core Server with 16 GB
------------------------------
Author of Primary ROleplaying SysTem
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.
|
|
|
|

|
Workaholics Season 3 Episode 14, Workaholics Season 3 Episode 14 3x14, Workaholics Season 3 Episode 14 s3e14, Workaholics Season 3 Episode 14 free, Workaholics Season 3 Episode 14 online, Workaholics Season 3 Episode 14 stream video
Watch Workaholics Season 3 Episode 14
http://w11.zetaboards.com/MyTvTodayShow/topic/8463560/[^]
Previously on Workaholics Season 3 Episode 13 "Alice Quits", The guys meet their new boss when Alice quits being their old boss.
On this week's Episode title "Fourth and Inches", The dudes become obsessed with betting on high school sports.
Three unmotivated college graduates are about to learn what the real world is all about. From now on they will be forced to follow dress codes, make deadlines and above all wake up before noon. After realizing they are no longer responsible for making the grade in school, they will do whatever it takes to avoid work and have a good time.
Workaholics is a television sitcom that premiered on Comedy Central on April 6, 2011. The series has finished its second season, and it is predominantly written by its stars Blake Anderson, Adam DeVine, and Anders Holm who play three recent college graduates, roommates, and co-workers at Telamericorp, a telemarketing company, living in Van Nuys, California. Television veteran Kevin Etten is the series' showrunner. It is a slacker comedy with an ironic title.
One of the funniest shows on TV right now is Comedy Central Workaholics. The show focuses around three roommates who are out of college and working at a telemarketing company. The problem is they don’t want to grow up and be adults. This show is full of one liners, controversial topics, in depth jokes, and some of the craziest plot lines you could ever think of. Some of the topics that the show covers might not sit very well with certain audiences so you might want to look into what the specific episode is about before you sit down and try to enjoy something that won’t sit well with you.
|
|
|
|

|
Been having some trouble with doing this and have looked all over the internet for the actual solution. At first I was using a for each loop and deleting individual spitem objects, but that doesn't work since the enumeration changes after each deletion.
So, I found a blog post about deleting using the ProcessBatchData method. Here is my code:
Dim sbDelete As StringBuilder = New StringBuilder
Dim xmlFormat As String = "<?xml version=""1.0"" encoding=""UTF-8""?>"
sbDelete.Append(xmlFormat)
sbDelete.Append("<Batch>")
Dim buildQuery As String = "<Method><SetList Scope=""Request"">" & fList.ID.ToString & "</SetList>"
buildQuery = buildQuery & _
"<SetVar Name=""ID"">{0}</SetVar Name=""Cmd"">Delete</SetVar></Method>"
For Each x As SPListItem In flItems
sbDelete.Append(String.Format(buildQuery, x.ID.ToString()))
Next
sbDelete.Append("</Batch>")
web.ProcessBatchData(sbDelete.ToString)
This runs fine, but when I go to the list where the items where supposed to be deleted from I find that they are still there.
This web app is a fuel log for our Flight Operations department. What I'm trying to do is when the Admins delete a plane from the system, SharePoint would then deleted all of the fuel log entries for that plane. I figured it would be simple to do, but either I'm doing something wrong or it isn't as simple as I think.
|
|
|
|

|
I find it painful to read VB so I won't try to see where you are going wrong. Here is an alternate way of deleting all items from a list that may not be as efficient but for lists with a reasonable number of items the efficiency will not matter.
Go through the list items and get a list of GUIDs of the list items.
SPListItemCollection listItems = oWeb.Lists["List Name"].Items;
List<GUID> listGUID = new List<GUID>();
foreach (SPListItem Item in listItems)
{
listGUID.Add(Item.UniqueId);
}
Translate that to VB.
Then go through the list of GUIDs and delete each one. Update the list after you are finished and the items will be gone.
|
|
|
|

|
I am getting the following error when trying to upload a document to a SharePoint document library.
No item exists at http://[My Site Name]/[My Sub Site Name]/Upload/Forms/EditForm.aspx?Mode=Upload&CheckInComment=&ID=316&RootFolder=/[My Sub Site Name]/Upload&Source=http://[My Site Name]/[My Sub Site Name]/Upload/Forms/AllItems.aspx?PageView=Shared. It may have been deleted or renamed by another user.
The document is actually uploaded to the library.
Does anyone know why I am getting this error and how to disable what is causing it?
|
|
|
|

|
Well I've got no idea, but I had a likewise error not long ago. I only happened on one website collection and I wasn't able to solve it. As it appeared on my development server I deletet the wsc and instaciated a new one.
I had a problem while uploading because I activated a feature I deployed, then I deactived it again. There was a problem with the contenttype afterwards, there were two ways to get rid of it:
delete the list and create a similar new one or reactive the feature.
Perhaps it's something like that.
------------------------------
Author of Primary ROleplaying SysTem
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.
|
|
|
|

|
I am not aware of any features being deactivated but I will look into it.
This is an old repository with a lot of documents in it so I don't know if I can delete it and recreate it again easily.
Thanks for the information.
|
|
|
|

|
JimmyRopes wrote: This is an old repository with a lot of documents in it so I don't know if I can delete it and recreate it again easily.
Well that should be only cosiderd, when there is no other solution in sight. But then there are different ways, to rebuild such a repository. You could SharePoint Workspace or, better in my eyes, build a small solution to copy all elements including rights.
------------------------------
Author of Primary ROleplaying SysTem
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.
|
|
|
|

|
Uh, by the way, have you installed a new (but not the latest) hotfix? If not that could be the problem. I once had a strange problem while giving a special workshop for a customer. I wasn't able to fix it until I asked for the hotfixes, they hadn't installed them. After the installation and activation the error didn't occured again.
You shouldn't install the latest one, because some of the hotfixes (for 2007, 2010) were withdrawn by MS because the made everything worse
------------------------------
Author of Primary ROleplaying SysTem
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.
|
|
|
|

|
I'll look into the hot fix installation.
Thanks again for the information. It gives me something to look into.
|
|
|
|

|
Hi All,
I am new to sharepoint.Can you please suggest some links to learn sharepoint 2007.
Thanks & Regards
Obalesu.N
|
|
|
|
|

|
Is it possible for CAML query to handle multiple lists?
If so, how would you write a single query to accommodate multiple lists? Any links for references? I can only find references on writing a query for a single list only.
For example I want to write a summary page combining the following lists:
Address List
Phone Number List
Customer Name List
To create Customer Summary that will combine all the lists into one.
Is this possible?
|
|
|
|

|
Clark Kent123 wrote: To create Customer Summary that will combine all the lists into one.
I'm not sure, but as far as I know it's not possible with CAML, but you could use LINQ or you could use .NET for accessing and combing Lists.
------------------------------
Author of Primary ROleplaying SysTem
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.
|
|
|
|

|
Thanks for that reply. I have been doing more research and some people in other forums suggest to try using a "Join" query. I will give that a shot. This could be so much easier if I could use SQL. But oh well.
Thanks though.
|
|
|
|
 |