SharePoint CSOM and Powershell

I have a sitecolection named search and I'm trying to add EVERYONE to the Visitors group. For me the following line returns null
$spGroup=$web.SiteGroups["Search Visitors"]
When I use PowerGUI in my local. 
Works fine if I use Windows PowerShell in  local.
On other environment it works on neither.
Any Help?

Hi,
Please provide complete code and screenshot of the Powershell window. It will make others easier to find a solution for you.
Best Regards   
Dennis Guo
TechNet Community Support

Similar Messages

  • SharePoint 2013 and Native Mode SSRS Web Parts

    SharePoint 2013 and SQL Server 2012 installation.  Trying to get the SSRS native mode web parts installed as per these instructions:
    http://msdn.microsoft.com/en-us/library/ms159772.aspx
    Have tried both via PowerShell and stsadm.  In both cases, get an error regarding "Failed to extract the cab file in the solution".  Have done this a bunch of times in SharePoint 2007 and 2010, is this solution no longer supported in
    2013 and if so, is there a supported way of integrating with SSRS in Native Mode for SharePoint 2013?

    OK, let me amend my statement a bit. 
    Found this article:  http:// social.msdn.microsoft.com /Forums/sqlserver/en-US/5b9de028-5b6a-47c7-8da8-793d1a78df55/error-with-sql-server-2012-rswebpartscab-for-sharepoint-2010
    Mind you, I was able to get the SQL Server 2012 version of RSWebParts.cab to install successfully on the SharePoint 2010 dev box in the environment, but figured that trying the SQL Server 2008 R2 version of RSWebParts.cab was worth a shot.  It worked
    (or at least it installed and I am able to add the web parts to pages).  Will post an update once I am able to test full web part functionality with an SSRS Native Mode server.
    So, what I can say from my testing:
    SQL Server 2012 version of RSWebParts.cab works (installs) for a SharePoint 2010 installation but not for a SharePoint 2013 installation.
    SQL Server 2008 R2 version of RSWebParts.cab works (installs) for a SharePoint 2010 installation and for a SharePoint 2013 installation.
    There is no update to RSWebParts.cab in SQL Server 2012 SP1 (at all, not in any part of it including the Reporting Services Add-In), the file is always 10/20/2012.
    So, as long as you are trying to integrate a SQL Server 2008 R2 SSRS Native Mode instance or lower on your SharePoint 2013 farm, there is a solution.  However, it will likely not work against a SQL Server 2012 SSRS Native Mode installation.  
    So, the amended statement is that:
    "The bottom line is that it *appears* that there currently is no supported version of the Native Mode (2.0) version web parts for SQL Server Reporting Services2012
    (RSWebParts.cab) for SharePoint 2013.  Therefore, there is currently no way to integrate SharePoint 2013 with a SQL Server Reporting Services
    2012 instance running in native mode."
    And, no, none of this really makes any sense in the least but that is what my testing shows.

  • How can I get list properties using SharePoint CSOM

    Hi Team,
    I am using SharePoint CSOM to read SharePoint Discussion board.I need discussion discription and created by and Discussion list Title etc.
    But I am unable to read those. I saw below message for discussion list in immediate window while debugging.
    DiscussionList
    {Microsoft.SharePoint.Client.List}
    base {Microsoft.SharePoint.Client.SecurableObject}: {Microsoft.SharePoint.Client.List}
    AllowContentTypes: 'DiscussionList.AllowContentTypes' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    BaseTemplate: 'DiscussionList.BaseTemplate' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    BaseType: 'DiscussionList.BaseType' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    BrowserFileHandling: 'DiscussionList.BrowserFileHandling' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    ContentTypes: {Microsoft.SharePoint.Client.ContentTypeCollection}
    ContentTypesEnabled: 'DiscussionList.ContentTypesEnabled' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    Created: 'DiscussionList.Created' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    DataSource: 'DiscussionList.DataSource' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    DefaultContentApprovalWorkflowId: 'DiscussionList.DefaultContentApprovalWorkflowId' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    DefaultDisplayFormUrl: 'DiscussionList.DefaultDisplayFormUrl' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    DefaultEditFormUrl: 'DiscussionList.DefaultEditFormUrl' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    DefaultNewFormUrl: 'DiscussionList.DefaultNewFormUrl' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    DefaultViewUrl: 'DiscussionList.DefaultViewUrl' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    Description: 'DiscussionList.Description' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    Direction: 'DiscussionList.Direction' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    DocumentTemplateUrl: 'DiscussionList.DocumentTemplateUrl' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    DraftVersion
    EffectiveBasePermissions: 'DiscussionList.EffectiveBasePermissions' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    EnableAttachments: 'DiscussionList.EnableAttachments' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    EnableFolderCreation: 'DiscussionList.EnableFolderCreation' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    EnableMinorVersions: 'DiscussionList.EnableMinorVersions' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    EnableModeration: 'DiscussionList.EnableModeration' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    EnableVersioning: 'DiscussionList.EnableVersioning' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    Fields: {Microsoft.SharePoint.Client.FieldCollection}
    ForceCheckout: 'DiscussionList.ForceCheckout' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    Forms: {Microsoft.SharePoint.Client.FormCollection}
    HasExternalDataSource: 'DiscussionList.HasExternalDataSource' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    Hidden: 'DiscussionList.Hidden' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    Id: 'DiscussionList.Id' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    ImageUrl: 'DiscussionList.ImageUrl' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    IsApplicationList: 'DiscussionList.IsApplicationList' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    IsCatalog: 'DiscussionList.IsCatalog' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    IsSiteAssetsLibrary: 'DiscussionList.IsSiteAssetsLibrary' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    ItemCount: 'DiscussionList.ItemCount' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    LastItemDeletedDate: 'DiscussionList.LastItemDeletedDate' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    LastItemModifiedDate: 'DiscussionList.LastItemModifiedDate' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    MultipleDataList: 'DiscussionList.MultipleDataList' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    NoCrawl: 'DiscussionList.NoCrawl' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    OnQuickLaunch: 'DiscussionList.OnQuickLaunch' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    ParentWeb: {Microsoft.SharePoint.Client.Web}
    ParentWebUrl: 'DiscussionList.ParentWebUrl' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    RootFolder: {Microsoft.SharePoint.Client.Folder}
    SchemaXml: 'DiscussionList.SchemaXml' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    ServerTemplateCanCreateFolders: 'DiscussionList.ServerTemplateCanCreateFolders' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    TemplateFeatureId: 'DiscussionList.TemplateFeatureId' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    Title: 'DiscussionList.Title' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    UserCustomActions: {Microsoft.SharePoint.Client.UserCustomActionCollection}
    ValidationFormula: 'DiscussionList.ValidationFormula' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    ValidationMessage: 'DiscussionList.ValidationMessage' threw an exception of type 'Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException'
    Views: {Microsoft.SharePoint.Client.ViewCollection}
    WorkflowAssociations: {Microsoft.SharePoint.Client.Workflow.WorkflowAssociationCollection}
    Please let me know how can I get all discussion Properties.
    Krishnasandeep

    Here is the code snippet which is working
    ClientContext Context = new ClientContext(siteurl);
    Context.AuthenticationMode = ClientAuthenticationMode.Default;
    List DiscussionList = Context.Web.Lists.GetByTitle("4gl-adapter");
    CamlQuery query = CamlQuery.CreateAllFoldersQuery();
    ListItemCollection itemCollection = DiscussionList.GetItems(query);
    Context.Load(itemCollection);
    Context.ExecuteQuery();
    foreach (ListItem thread in itemCollection)
    string threadTitle = thread["Title"].ToString();
    string threadBody = thread["Body"].ToString();
    But if try to below code,
    String DiscussionDesc = DiscussionList.Description;
    I am getting exception.
    Let me know if I am doing wrong anywhere.
    Krishnasandeep

  • Use single realm for multiple web applciation in sharepoint 2013 and adfs 2.0

    Use single realm for multiple web applciation in sharepoint 2013 and adfs 2.0
    Please help!!

    I dont think you can do this, because you have to name/url of the web application in realm. You have to add new realm for each web application.here is script to add another realm.
    Add-PSSnapin "Microsoft.SharePoint.PowerShell"
    $sts = Get-SPTrustedIdentityTokenIssuer | where {$_.Name -eq "ADFS2.0"}
    $uri = new-object System.Uri("http://url/")
    $sts.ProviderRealms.Add($uri, "urn:sharepoint:Name")
    $sts.Update();
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Where do the SharePoint components for Powershell come from?

    I am just learning and I am trying out some scripts. As soon as I type in the Get-SPWeb command I get something like this.
    PS C:\Windows\system32> $web = Get-SPWeb "https://xyz.sharepoint.com/"
    The term 'Get-SPWeb' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
    path is correct and try again.
    At line:1 char:17
    + $web = Get-SPWeb <<<<  "https://xyz.sharepoint.com/"
        + CategoryInfo          : ObjectNotFound: (Get-SPWeb:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException
    Can someone please point me in the right direction?
    Thanks
    karl

    Hi Karl,
    If your workstation is on the same Active Directory domain as your SharePoint farm, you can also access SharePoint remotely via PowerShell remoting. You need to enable PowerShell remoting on your SharePoint servers and connect to them using PowerShell. Think
    of this as SSH and running an interactive console remotely.
    http://technet.microsoft.com/en-us/magazine/ff700227.aspx
    Once you're in the PowerShell remoting session, you can load the SharePoint PowerShell modules as was suggested earlier.
    Edwin Sarmiento SQL Server MVP | Microsoft Certified Master
    Blog |
    Twitter | LinkedIn
    SQL Server High Availability and Disaster Recover Deep Dive Course

  • Export and import Sharepoint group and permissions

    We have some custom sharepoint groups and permissions created.How can i just export and import
    these group and permissions into another server.
    I do not want to restore entire site collection.
    just the groups and permissions...

    hey,
    You can find some code from Powershell here:
    http://geekswithblogs.net/bjackett/archive/2009/04/24/the-power-of-powershell-and-sharepoint-enumerating-sharepoint-permissions-and.aspx
    Or
    http://get-spscripts.com/2010/07/adding-groups-with-permission-levels-to.html
    Founder of SharePoint CookBook:
    http://www.GokanOzcifci.be
    Microsoft Certified Technology Specialist: SharePoint 2010, Configuring
    Microsoft Certified Personal

  • What is difference between SharePoint List and Libraries

    What is difference between SharePoint List and Libraries

    Hello,
    You also might want to loot at here:
    http://veroniquepalmer.com/2013/02/24/the-difference-between-sharepoint-2010-lists-libraries-and-pages/
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/1d4152cd-92a6-4eed-9a52-a519ec71c674/what-is-the-difference-between-document-library-and-list-in-sharepoint
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Sharepoint foundation and server 2013

    hi all
    i have scom 2012 sp1 on windows server 2008 r2. sql reporting services (mssql 2012 sp1) installed and configured on this server.
    OM, OMDW, scom`s reportserver db - on other server 2008 r2 (mssql 2012 sp1).
    i try to install management pack sharepoint foundation and server 2013 (use
    http://www.enduria.eu/the-sharepoint-2013-management-pack-and-my-experience-installing-it/).
    in scom console task status - success, but server (sharepoint 2013) in unidentified machines.
    in log on sp2013 server i get error:
    Cannot identify which SharePoint farm this server is associated with. Check the management pack guide for troubleshooting information.
    in log on scom management server i get same error every 10 minutes:
    Failed to deploy reporting component to the SQL Server Reporting Services server. The operation will be retried.
    Exception 'DeploymentException': Failed to deploy reports for management pack with version dependent id 'edf9e0b9-65aa-df29-6729-d16f0005e820'. Failed to deploy linked report 'Microsoft.SharePoint.Server_Performance_Report'. Failed to convert management pack
    element reference '$MPElement[Name="Microsoft.SharePoint.Foundation.2013.Responsetime"]$' to guid. Check if MP element referenced exists in the MP. An object of class ManagementPackElement with ID 75668869-f88c-31f3-d081-409da1f06f0f was not found.
    One or more workflows were affected by this. 
    Workflow name: Microsoft.SystemCenter.DataWarehouse.Deployment.Report
    Instance name: d2781f95-d488-4e35-8226-a9e1d7127149
    Instance ID: {96379E66-14B2-B413-F73F-1F39806AF714}
    Management group: scom-service_group
    what could be the problem?
    thanks

    Same issue...running SCOM 2012 RTM with UR3 on Windows 2008 R2 and SharePoint 2013.  I got the discovery to work after editing the .config file.  All appeared to be working with the exception of the Configuration Databases and Content Databases
    which are currently in a Not monitored state (this could be by design?). 
    I believe this is a bug with the SharePoint 2013 Management Pack.  I tried importing the SharePoint 2010 MP to validate my SCOM environment and Report Server and did not get any errors and the reports imported fine.  Has anyone openened
    a case with Microsoft or know if this is a known issue?  Thanks!
    Error:
    Data Warehouse failed to deploy reports for a management pack to SQL Reporting Services Server. Failed to deploy reporting component to the SQL Server Reporting Services server. The operation will be retried.
    Exception 'DeploymentException': Failed to deploy reports for management pack with version dependent id 'edf9e0b9-65aa-df29-6729-d16f0005e820'. Failed to deploy linked report 'Microsoft.SharePoint.Server_Performance_Report'. Failed to convert management
    pack element reference '$MPElement[Name="Microsoft.SharePoint.Foundation.2013.Responsetime"]$' to guid. Check if MP element referenced exists in the MP. An object of class ManagementPackElement with ID 75668869-f88c-31f3-d081-409da1f06f0f was not
    found.
    One or more workflows were affected by this.
    Workflow name: Microsoft.SystemCenter.DataWarehouse.Deployment.Report
    Instance name: 9afddb34-5f35-40fa-8564-1de5d33773d3
    Instance ID: {4BF8AF22-E5E4-1FC6-3951-F731DCA65317}
    Only two SharePoint 2013 reports are showing up in SCOM:
    SharePoint Foundation Performance
    SharePoint Server Performance
    Missing the following reports (according to the product guide):
    Server Alert
    This report renders all alerts raised by specified server(s).
    Service Alert
    This report renders all alerts raised by specified service(s).
    Server Event
    This report renders all events raised on specified server(s).
    Service Event
    This report renders all events raised on specified service(s).
    Top Server Events
    This report renders top 20 events raised on specified server(s).
    Top Service Events
    This report renders top 20 events raised on specified service(s).
    Top Alerts
    This Most Common Alert Report helps to identify high volume alerts, the volume a distinct alert contributes to the total number of
    alerts and the resolution times. This report helps in tuning the alerts.
    Server Performance
    This report renders performance data for specified server(s).
    Entity State
    This report renders entity state for specified SharePoint object(s) over time.

  • Your backup is from a different version of Microsoft SharePoint Foundation and cannot be restored to a server running The backup file should be restored to a server with version '12.0.0.6318' or later.

    am trying  to restore the bak file into a new  site collection in my sp 2010  standalone env.
    am getting error
    PS C:\Windows\system32> stsadm -o restore -url http://srvr1-01:123/sites/Repository -filename "C:\mBKUPCOPY\Sharepoint_bankup.bak"
    STSADM.EXE : Your backup is from a different version of Microsoft SharePoint Foundation and cannot be restored to a server running
    the current version. The backup file should be restored to a server with version '12.0.0.6318' or later.
    At line:1 char:1
    + stsadm -o restore -url http://srvr1-01:123/sites/Repository -filename "C: ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (Your backup is ...6318' or later.:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

    As stated in the other thread on this topic you can't restore a 2007 backup to 2010, it needs to be upgraded.
    https://social.technet.microsoft.com/Forums/en-US/31c70f0a-5d89-4308-895b-af0c2b249114/restore-the-site-collection-from-moss-2007-to-sp-2010-site-collec?forum=sharepointadminprevious

  • SharePoint 2010 and Office 2013 Can't edit documents

    Hello
    I have built a desktop image with Office 2013. I am receiving the following error when I click on a document in a SharePoint library and click "Edit in Microsoft Word" (the problem is not limited to Word):
    The document could not be opened for editing. A Microsoft SharePoint Foundation compatible application could not be found to edit the document.
    I have tried the following:
    Ensuring the "WebClient" service is running
    Ensuring the site is in the "Local Intranet" zone
    Checking the "SharePoint OpenDocuments Class" add-on is loaded
    Making sure Internet Explorer is not running in 64-bit mode
    Manually re-registering OWSSUPP.DLL
    Ensuring the SharePoint Foundation integration components are installed
    Repairing Microsoft Office
    The document sometimes loads succesfully but not always. When it will and won't load seems quite random. I am at a complete loss as to why this is!
    I am running the following on my client:
    Windows 7 Enterprise SP1 (x64)
    Office Professional Pro Plus 2013 (VL)
    If anyone has any ideas I would greatly appreciate this.
    Regards
    Peter

    This took a lot of tracking down!!!! 
    The issue is with Office 2013. Someone at Microsoft has hardcoded what I think maybe the US local into a registry key request!!! Just brilliant!!
    The key in question is: HKCR\Installer\Components\55EAFA0B8A4403B428FDE038B252C621\x86\2057
    2057 is the US local
    However we are not in the US !! Our local is 1033. So the key that exists on our PCs is
    HKCR\Installer\Components\55EAFA0B8A4403B428FDE038B252C621\x86\1033
    But Microsoft is looking for x86\2057 and that is why it fails - Also, if you are getting it were the document opens first time then errors from then on until IE is restarted -
    That is because the first time you make a document call through SharePoint in a new IE session, it calls it differently to subsequent calls. I have verified this by tracing what is going on in the background...
    Now due to the nature of the call you cannot just rename they key to be the missing key - we need to create and additional key ending in 2057 with the same value as (in our case x86\1033. So in the end you should have the following keys in place:
    HKCR\Installer\Components\55EAFA0B8A4403B428FDE038B252C621\x86\1033
    HKCR\Installer\Components\55EAFA0B8A4403B428FDE038B252C621\x86\2057
    So there goes several hours of my life that I'm never getting back all for some sloppy coding - Thanks MS
    To everyone else who has been suffering from this problem, time to smile once more :-)

  • "This form cannot be opened in a web browser. to open this form use microsoft infopath" while adding a new Approval - Sharepoint 2010 and Publishing Approval workflow.

    I am trying to add a new workflow to a document library with the below mentioned settings and getting error saying "This form cannot be opened in a web browser. to open this form use microsoft infopath" while adding a new Approval - Sharepoint
    2010 and  Publishing Approval workflow" . For your information the I have checked the server default option to open in browser.
    Versioning Settings.
    Error
    This is quiet urgent issue . Any help would be really helpful.. Thanks.. 

    Hi Marlene,
    Thank you very much for your suggestions.
    But I am not creating a custom workflow in designer as Laura has mentioned. I am instead trying to create a new Out of the box Approval Workflow and I get the error mentioned above.
    As it works in other environment, I tried figuring out the possible differences which can lead to this error.
    Today I found one difference which is there are no form Templates within Infopath Configurations in Central Admin. Now I am trying to figure out what makes this form templates to be added to the template gallery.
    Regards,
    Vineeth

  • Integration between InfoPath web forms (browser side), SharePoint 2010, and Word or Excel

    To begin with the end in mind, here's what I need to do:
    User A (employee) fills out infopath form in browser.
    User A saves infopath form, workflow runs, and sends a link to the manager
    User B (Manager) opens infopath form, clicks a button, and all the information from the saved infopath form magically appears in a excel document
    Here's how I did it, because I couldn't find an easier way to do it. This is an InfoPath no-code solution (uses web service and workflow I had to build) and this is working somewhat:
    In InfoPath Designer 2010, created the form from Blank 2007 form template.
    Published the form and promoted fields to Sharepoint 2007 as a new forms library.
    Created a view on forms library to show all fields (SQLExportView1).
    Created SSIS package to import data from SharePoint forms list using the view "SQLExportView1" into a new database and table in SQL Server (tblSQLExport1).
    Created SQL Agent job to run this package every 2 minutes.
    Created workflow to notify manager.
    Created excel document with an external data connection to SQL server.
    In SQL, created a stored proceedure ("spGetCurrentID") to truncate, then add a row to a table ("tblCurrentFormID").
    On InfoPath form, added a button that takes the current infopath form "ID" into a table in SQL server by calling the stored procedure via a web service.
    On Infopath form, added a hyperlink to the excel file which opens in the client.
    In excel, added a button on the workbook that queries the SQL database for the current form ID, and drops it into a cell.
    In excel, added a button on the workbook that queries the SQL database for the sharepoint list details that were exported via SSIS, returning only the row for the current form ID.
    In excel, created a button on the workbook that displays the fields I want in the location I want
    With over 25 users concurrently hitting the form library, there is a chance that when they open excel they will generate an excel document with bad data in it (data from someone else's current ID).
    I've since migrated to SharePoint 2010, and it works the exact same way in 2010.
    What I want to do is find a way to get the data that is already saved in the infopath form DIRECTLY to Excel by clicking a button without the web service, the stored procedure, the SSIS package, the SQL agent job, etc.  My problem has always been
    in getting the data from infopath into RAM/Clipboard/temp file(?) and imported into Excel by bypassing the SQL.
    Of course, I would like to do this without requiring an administrator approved template in InfoPath, and have it be much more simpler to maintain. There are a lot of moving parts.
    Please point me to any examples or make recommendations. The requirement is that users open the form, the data is filled out already, and with a click of a button, the data shows up in excel automatically in the right place for the item they're currently
    looking at in infopath.
    Now that I've got this working (kind of) for one excel document, management wants to add 25 other documents that this one infopath form can generate. 
    Therefore, once I get this to work better for one excel document, I can add other excel documents.
    I've considered passing a parameter to the excel document in Excel Web Services, as I believe that excel web services 2010 can support this. However, I believe that the macros that run in the excel client okay won't work in excel web services 2010.
    Users would prefer to open Excel in the client, though, so not sure I'm going to go down this path.

    Clayton,
    You rock - thank you for all your responses!
    The infopath form was built doing what it does long before the need to get the data into Excel.
    You are correct in that I could have modified the infopath code to save to SQL, but the fields in the form and on the forms library columns do change before and after the manager approves it.  As such, adding some code to submit the infopath data to
    SQL could have been used to write data into SQL server instead of leveraging SSIS/SQL Agent to do so. However the aformentioned workflow (see way up in the thread) does more than just send an email to the manager with a link. It also edits some fields in the
    forms library column on that particular list item. By using SSIS, every two minutes they get the latest stuff from sharepoint into SQL without having to add code in the workflow or - if possible - on the infopath code that does a table update where item=abc.
    It is common to get data from sharepoint into sql, regardless of whether or not it is a list or library (including infopath forms libraries). There is sample code on Codeplex that has been downloaded close to 40,000 times for this purpose which I'm sure
    you are familiar with:
    http://msdn.microsoft.com/en-us/library/dd365137(v=sql.100).aspx and
    http://sqlsrvintegrationsrv.codeplex.com/releases/view/17652
    I agree with you in so many ways on why they should not be using excel (or word) to present the information. Having InfoPath or a custom workflow magically convert the data presented on a specific view in a filled out InfoPath form to PDF and emailing it
    would be wonderful, but it simply is not a possible solution.
    Surely you're familiar with companies that have a word document that, say, a manager will email to someone as an attachment, then the employee prints out the word document, fills it out on paper and signs it with a pen (or fills out a fillable form, then
    prints it), they then either fax it back or scan it and email it back to the manager, who then prints it out and hands it to a VP for a signature, etc.  Yes, the process is very old-fashioned, but in health care, finance, and for legal compliance reasons,
    some places simply have to do their manual processes the way they are. I've suggested and shown examples of how it can all be done electronically with digital signatures, etc., but their legal compliance officers and board members do not agree to this methodology.
    As such, I work within the confines I am presented with, as I'm sure you've had to do as well.
    I myself have worked for several Fortune 100 firms for many years (Microsoft, T-Mobile, etc), know what is possible. However the place I am at now, many of those options simply are not possible.
    They use excel (and word) because that is the templates the legal department and third party companies they work with gives them to work with. 
    If you've used enterprise OCR systems (LaserFiche, OnBase, Hyperion, etc.) you would be familiar with the fact that in order to scan and index keywords from OCR cover pages, the document has to have fields in a certain location. While I have tried to
    get the InfoPath form to line up properly, I cannot print out headers or footers and page breaks where the OCR system requires and expects them to be. What's more: when you print a filled out infopath form that loads browser side, as you know you get the browser-related
    stuff with it. Although they're all on the same web browser (finally - IE8) and all on windows 7 and office 2010, I cannot control the fact that some users use large fonts and other accessability features to make their 21" screens run at 640x480 (exaggeration).
    When you do this, it changes the margins in the print area, and more.
    If I could take the data that is in infopath, merge it with an excel template, and export that to PDF, that could be an option. Not looking to buy some enterprise PDF generating product, though, and looking to do this as close to a no-code solution as possible.
    Why we're suggesting PDF, perhaps we should be considering XPS, since we are staying with the Microsoft technology stack here.
    Perhaps I should rephrase my original question like this:  "I have 25 different documents that all need to be filled out automatically. Each document has different text on it, but the fields that need to be filled out on the documents are almost all
    the same. I want to present one form for users to fill out, and once saved, to generate all 25 different documents. How would you do this?". While not entirely accurate, as not all 25 documents need to be created at once, only on demand with a click of a button
    for each document, perhaps that is a better way of stating the need.
    Thank you Clayton (and all you lurkers out there hoping to find out how we solve this).

  • Difference between Reporting Services Sharepoint Mode and Reporting Services Add In for Sharepoint 2013

    Hi, We are building company site with Sharepoint 2013 Enterprise Edition and were wondering what is the difference between Reporting Services Sharepoint Mode and Reporting Services Add In for Sharepoint 2013? What are the roles/purposes of each one? What
    happens if only Reporting Services Sharepoint Mode  installed or vise versa.
    Thank you in advance

    Reporting Services in SharePoint mode is a service for displaying, managing, and creating SSRS reports within SharePoint. The addin is a pre-req for SharePoint that is used to display reports and is required for Reporting Services in Native or SharePoint
    mode, but does not by itself do anything.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • SharePoint 2013 and SQL Server AlwaysOn - HA

    Hi guys,
    Please help!
    I need to setup SP13 server on SQL 2012 AlwaysOn (on sql01 and sql02). The HA AlwaysOn group already configured by DB team on these 2 replica with and called SP_AOAG  alias
    My question is can I use this alias to setup SharePoint  or I need to configure the HA AlwaysOn group for SgharePoint  as suggested in the article below:
    http://blogs.msdn.com/b/sambetts/archive/2013/04/24/sharepoint-2013-and-sql-server-alwayson-high-availability-sharepoint.aspx
    Any advice greatly appreciated . 
    BalaiP

    You do not want to use a SQL Alias with an AG Listener. Just point SharePoint straight at the AG Listener. You will need to manually add any accounts to non-primary instances. You do not need to add them to individual databases, of course. You will also
    need to manually set MAXDOP to 1 on non-primary instances.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • SharePoint 2010 and SQL Server 2012 issue

    Hi,
    I have SharePoint 2010 integrated with SQL Server 2008 R2 in my machine. I wanted to use Power View feature, so I went for SQL Server 2012 installation. Now when I try to create the SQL Server Reporting service service application, it says, this feature
    is not supported by current version of database.
    Please let me know how to fix the issue. Do I need to reinstall SharePoint 2010 once again using SQL Server 2012 ?
    thanks
    Tarique

    http://social.technet.microsoft.com/Forums/sharepoint/en-US/9eacbd00-f264-4f55-bd27-55cf0761cbd7/power-view-is-not-supported-in-this-edition-of-reporting-services?forum=sharepointadmin
    The only requirements for SSRS Integrated mode/PowerView are that you're using SharePoint Enterprise and SQL Enterprise/BI and that SharePoint be installed and joined to the farm on the server where you're also installing SSRS.
    You need to reconfigure your sharepoint farm farm to use SQL server 2012 
    http://technet.microsoft.com/en-us/library/ee210640.aspx
    Business intelligence features are not all available in all editions of SQL Server 2012

Maybe you are looking for

  • How Can I Set an Application on a USB Drive to Automatically Open When the Drive is Inserted Into a Mac?

    The title pretty much says it all. But if you don't understand, here is an example of what I want to happen: When a USB drive is inserted onto my Mac, an application on it will open. How can I make this happen?

  • Billing Plan Values different in VA02 & VA03

    Hi All, We have a case where in the billing plan values are different for the same sales order when seen in change mode (VA02) & display mode (VA03). can you please let me know what and where the problem can be? Regards Sujay

  • Why does drawing of ellipses appear inaccurate?

    Below is a very simple applet: it defines two points (px, py) and (qx, qy), finds the distance (radius) between those two points, and then plots the point (px, py), along with the circle centered at (qx, qy) with radius radius. Mathematically, the ci

  • Oracle Apps Licensing Information

    Hi All, Where can I get Various installation and licensing options for oracle Apps . Frequently I have to answer questions like this: we are having Inventory+PO+Order Management. Now we are looking at implementing ATO or PTO processes. ATO is better

  • Google Talk and iChat Snow Leapord

    I am trying to find out if any other people can not longer video chat with a Jabber account using gmail account to anyone else that uses Google Talk. This set up worked fine before the upgrade to Snow Leapord and iChat 5.0 I have contacted Apple supp