
Recent Posts
Categories
- Alerts
- Architecture
- Book Review
- Business Connectivity Services (BCS)
- C#
- Content Types
- Document IDs
- Event Receivers
- FAST Search
- IIS
- InfoPath
- MS-Office
- MySite
- Navigation
- Performance
- PowerShell
- Project Web Access
- RBS
- Records Management
- Ribbon
- Search
- Security
- SharePoint Object Model
- SP2013
- SQL
- Taxonomy
- Uncategorized
- User Profile Service
- Views
- Web Parts
- XSLT
Archives
Alerts Architecture Book Review Business Connectivity Services (BCS) C# Content Types Document IDs FAST Search IIS InfoPath MS-Office MySite Navigation Performance PowerShell Project Web Access RBS Records Management Ribbon Search Security SharePoint Object Model SP2013 SQL Taxonomy Uncategorized User Profile Service Views Web Parts XSLT
Joel Plaut
- Reporting on SharePoint MySite distribution by Content Database wp.me/p22s88-c4 Joel Plaut 3 days ago
- How to recover from a malfunctioning SharePoint Master Page wp.me/p22s88-c2 Joel Plaut 3 days ago
- Do you know anyone with GuideWire experience? A friend of mine is looking for GuideWire programmers & also PM/BAs with some development ba… Joel Plaut 1 week ago
- Metadata Warehouse of SharePoint Content wp.me/p22s88-bY Joel Plaut 1 week ago
- Report on every library in a SharePoint Farm wp.me/p22s88-bW Joel Plaut 1 week ago
Hey
I am using cOM in to InfoPath since long time, and now would like to use Linq as well in InfoPath using COM, but getting Syntax error and some how VSTA is not able to take reference of Linq objects in code. I could add Microsoft.SharePoint.Linq, but still its not allowing to use Linq objects.
So have you ever tried practically ?
Please share . Thanks
Vivek:
What version of InfoPath are you using?
For your references, be sure to use “System.Xml.Linq” and not the “System.Linq”. Let me know if this does the trick.
Have you compiled the site using SPMetal to generate the entity model references? that’s needed for some uses.
VSTA is not quite VS2010. Although for InfoPath work I find VSTA to be totally fine.
Warm regards,
Joel