Counter i;
Common currentRecord;
;
For (i=1; i<=Element.dataSourceCount(); i++)
{
currentRecord = Element.dataSource(i).cursor().data();
// Don't lost the Filter or Range Condition
Element.dataSource(i).research();
Element.dataSource(i).refresh();
Element.dataSource(i).findRecord(currentRecord);
}
If the AX version is greater or equal AX 2009 the code become :
For (i=1; i<=Element.dataSourceCount(); i++)
{
currentRecord = Element.dataSource(i).cursor().data();
// Don't lost the Filter or Range Condition
Element.dataSource(i).research(TRUE);
Element.dataSource(i).refresh();
}
Monday, May 10, 2010
Sunday, May 9, 2010
A Visual Studio add-in to edit SharePoint content from within Visual Studio
A Visual Studio add-in to give developers the ability to edit SharePoint content from within Visual Studio.
http://spdevexplorer.codeplex.com/
http://spdevexplorer.codeplex.com/
SharePoint - Data at the root level is invalid. Line 1 , Position 1
When you open a file with SharePoint Designer, it creates all kind of FrontPage Server Extension functionality in your web application. One thing it does it that it creates a _vti_cnf folder in every folder you have in your web application.
If you remove all these folders you fix your problem.
http://weblogs.asp.net/soever/archive/2008/01/29/edit-file-in-wss3-web-application-with-sharepoint-designer-blows-up-your-web-site.aspx
If you remove all these folders you fix your problem.
http://weblogs.asp.net/soever/archive/2008/01/29/edit-file-in-wss3-web-application-with-sharepoint-designer-blows-up-your-web-site.aspx
Thursday, May 6, 2010
AX 2009 Enterprise Portal Development Cookbook - EP Manual
You can download the cookbook (EP AX 2009 Manual) here: http://blogs.msdn.com/epblog/attachment/9944064.ashx
Work with Text - copy to Clipboard
TextBuffer txtb = new TextBuffer();
txtb.fromFile("myfile.txt"); // Read text from file
txtb.toClipboard(); // Copy it to the clipboard
----
// Create a Text File...
txtB.setText("CIAO");
txtB.toFile("c:\\denis.txt");
txtb.fromFile("myfile.txt"); // Read text from file
txtb.toClipboard(); // Copy it to the clipboard
----
// Create a Text File...
txtB.setText("CIAO");
txtB.toFile("c:\\denis.txt");
Tuesday, May 4, 2010
Install SharePoint Server 2007 on Windows Server 2008 R2
http://blogs.msdn.com/sharepoint/archive/2009/10/02/install-sharepoint-server-2007-on-windows-server-2008-r2.aspx
Subscribe to:
Posts (Atom)