Messages In This Digest (8 Messages)
- 1a.
- Re: C# - custom web part to post "Link To A Document" content type From: Robert Johnson
- 2a.
- How to run a .net 4 application under sp 2010? From: brother.gabriel
- 2b.
- Re: How to run a .net 4 application under sp 2010? From: brother.gabriel
- 2c.
- Re: How to run a .net 4 application under sp 2010? From: Patrick Reeves
- 3.
- Help with enabling RBS in SharePoint 2010 From: jason white
- 4a.
- View raw content of a SharePoint list From: Peter Brunone
- 4b.
- Re: View raw content of a SharePoint list From: Deanna Schneider
- 4c.
- Re: View raw content of a SharePoint list From: Venkatesh H
Messages
- 1a.
-
Re: C# - custom web part to post "Link To A Document" content type
Posted by: "Robert Johnson" rjohnandmore@yahoo.com rjohnandmore
Wed May 2, 2012 1:06 pm (PDT)
A typo in the FIRST sentence: Should read --
that UPLOADS documents > 5Meg to an SHARED Drive
_____________________ _________ __
From: rjohnandmore <rjohnandmore@yahoo.com >
To: sharepointdiscussions@yahoogroups. com
Sent: Wednesday, May 2, 2012 12:56 PM
Subject: [sharepointdiscussions] C# - custom web part to post "Link To A Document" content type
Hello! I have a C# custom web part that unloads documents > 5Meg to an Sahre Drive. This web part creates a :Link to a Document" content type entry in the document library.
As usual, the web part works PERFECT on MY development machine :0) However, as soon as we load it to TEST it errors out when it attempts to update the -- item["URL] = myShareURL
I am also using SPSecurity.RunWithElevatedPrivilege s(delegate( ) and have verified that I am using "System Account"
That error usually occurs when the "Link to a Document" Content Type has not been enabled for that Library; but it has been. I CAN create an entry using that Content Type via the browser in the library.
Been stumped for 2 days now. Have even tried it on 2 different servers with the SAME result: No Go.
Any ideas???? I cant see how it is the code -- but here is the specific section:
//Create SPFile object
SPFile uploadFile = null;
uploadFile = myLibrary.Files.Add(oWeb. Site.Url + "/" + urlOfFile, new MemoryStream( new UTF8Encoding( ).GetBytes( redirectPageHTML .ToString( ))), true);
// Create SPField onject
SPListItem item = uploadFile.Item;
//Update Content Type
fieldName = "Content Type";
fieldValue = "Link to a Document";
item["Content Type"] = fieldValue;
//Update File Share URL
fieldName = "URL";
fieldValue = myShareURL
item["URL"] = fieldValue;
//Commit changes
item.Update();
--------------------- --------- ------
Yahoo! Groups Links
[Non-text portions of this message have been removed]
- 2a.
-
How to run a .net 4 application under sp 2010?
Posted by: "brother.gabriel" brgabriel@sspx.org brother.gabriel
Wed May 2, 2012 1:39 pm (PDT)
Salvete! I have an aspx page that needs to run under .net 4. How can I use this in my sharepoint site and run it under sharepoint in iis7? I know I could put it in an external site and use a page-viewer web part, but I want the page to be accessible *only* through the sharepoint site.
- 2b.
-
Re: How to run a .net 4 application under sp 2010?
Posted by: "brother.gabriel" brgabriel@sspx.org brother.gabriel
Wed May 2, 2012 1:56 pm (PDT)
I see that on this page, http://www.asp.net/whitepapers/ you cannot run a .net 4 web application under sharepoint.aspnet4/breaking -changes,
--- In sharepointdiscussions@yahoogroups. , "brother.gabriel" <brgabriel@.com ..> wrote:
>
> Salvete! I have an aspx page that needs to run under .net 4. How can I use this in my sharepoint site and run it under sharepoint in iis7? I know I could put it in an external site and use a page-viewer web part, but I want the page to be accessible *only* through the sharepoint site.
>
- 2c.
-
Re: How to run a .net 4 application under sp 2010?
Posted by: "Patrick Reeves" patrickwreeves@gmail.com patrick_w36
Thu May 3, 2012 11:47 am (PDT)
Correct. Both Sharepoint 2007 & 2010 only support up to .Net 3.5
On Wed, May 2, 2012 at 1:56 PM, brother.gabriel <brgabriel@sspx.org > wrote:
> **
>
>
> I see that on this page,
> http://www.asp.net/whitepapers/ you cannot run aaspnet4/breaking -changes,
> .net 4 web application under sharepoint.
>
>
> --- In sharepointdiscussions@yahoogroups. , "brother.gabriel"com
> <brgabriel@...> wrote:
> >
> > Salvete! I have an aspx page that needs to run under .net 4. How can I
> use this in my sharepoint site and run it under sharepoint in iis7? I know
> I could put it in an external site and use a page-viewer web part, but I
> want the page to be accessible *only* through the sharepoint site.
> >
>
>
>
[Non-text portions of this message have been removed]
- 3.
-
Help with enabling RBS in SharePoint 2010
Posted by: "jason white" jasonwhitestl@gmail.com sharepointjasonstl
Wed May 2, 2012 2:02 pm (PDT)
My DBA has configured our SharePoint SQL instance for file streaming, and
verified all of the settings are correct. I have been following Todd
Klindts post on configuring RBS, and everything seems fine until i get to
enabling RBS.
http://www.toddklindt.com/blog/ Lists/Posts/ Post.aspx? ID=174
The RBS client was downloaded from the Microsoft SQL Server 2008R2 feature
pack site http://www.microsoft.com/en- us/download/ details.aspx? id=16978
The install command for the RBS client
msiexec /qn /lvx* rbs_install_log.txt /i RBS.msi
TRUSTSERVERCERTIFICATE=true
FILEGROUP=PRIMARY DBNAME="WSS_Content_Blob" DBINSTANCE="9904\ sharepoint"
FILESTREAMFILEGROUP=RBSFilestreamPr ovider FILESTREAMSTORENAME =FilestreamProvi der
The command to enable RBS
PS C:\Users\white2> $cdb = Get-SPContentDatabase wss_content_ blob
PS C:\Users\white2> $rbss = $cdb.RemoteBlobStorageSettings
PS C:\Users\white2> $rbss.Installed()
False
PS C:\Users\white2> $rbss.Enable()
Exception calling "Enable" with "0" argument(s): "SQL remote blob storage must
be installed on each web front end server and on the content database before it
may be used."
At line:1 char:13
+ $rbss.Enable <<<< ()
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : DotNetMethodExcepti on
Any help would be great
thanks,
Jason
[Non-text portions of this message have been removed]
- 4a.
-
View raw content of a SharePoint list
Posted by: "Peter Brunone" peter.brunone@gmail.com peter_brunone
Thu May 3, 2012 8:24 am (PDT)
Does anyone have a good tool recommendation for this? I just want to see
every field of every item, and of course the browser UI tends to obscure a
lot of the data that users don't want to see.
Google hasn't given me anything helpful; I probably just don't have the
right terms.
Anyone?
[Non-text portions of this message have been removed]
- 4b.
-
Re: View raw content of a SharePoint list
Posted by: "Deanna Schneider" deanna.schneider@gmail.com schneider_scholz
Thu May 3, 2012 10:04 am (PDT)
If you want to deal with XML, you can use the REST api stuff to get the
data. Just hit your site with a URL like so:
http://yoursite.org/_vti_ ()bin/listdata. svc/YourList
(Note - capitalization of the list name matters.)
On Thu, May 3, 2012 at 10:24 AM, Peter Brunone <peter.brunone@gmail.com >wrote:
> **
>
>
> Does anyone have a good tool recommendation for this? I just want to see
> every field of every item, and of course the browser UI tends to obscure a
> lot of the data that users don't want to see.
>
> Google hasn't given me anything helpful; I probably just don't have the
> right terms.
>
> Anyone?
>
> [Non-text portions of this message have been removed]
>
>
>
[Non-text portions of this message have been removed]
- 4c.
-
Re: View raw content of a SharePoint list
Posted by: "Venkatesh H" venkat82.h@gmail.com venkat_82_20012001
Thu May 3, 2012 11:45 am (PDT)
Did u try Share Point Manager 2010? Try the Grid View of a Custom List in
that. It will show u the columns.
Regards,
Venkatesh
On Thu, May 3, 2012 at 11:24 AM, Peter Brunone <peter.brunone@gmail.com >wrote:
> **
>
>
> Does anyone have a good tool recommendation for this? I just want to see
> every field of every item, and of course the browser UI tends to obscure a
> lot of the data that users don't want to see.
>
> Google hasn't given me anything helpful; I probably just don't have the
> right terms.
>
> Anyone?
>
> [Non-text portions of this message have been removed]
>
>
>
[Non-text portions of this message have been removed]
Need to Reply?
Click one of the "Reply" links to respond to a specific message in the Daily Digest.
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Individual | Switch format to Traditional
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
No comments:
Post a Comment