straitPortal platform update 1.5.2.1

Posted @ 3:04 PM on September 9, 2010 by Tom van Oost

A small update of the straitPortal platform is available for download now: http://www.straitportal.com/sdk/platform/version 1.5.2.1.zip

The download contains a subset of straitPortal platform dll’s. Use the redirects.xml file to install this update without recompiling your current code.

Synchronized SharePoint Specification Document

ENOVIA-V6-documents-in-straitPortal-Web-Part

Release notes

ENOVIA V6

  • Basic support for connecting straitPortal with ENOVIA V6. Not included in the update package yet.

SmarTeam authentication

  • Authenticating with a wrong/inactive username/password does not affect all pool objects anymore.

SmarTeam pool objects/session validation

  • New pool/pool object validation mechanism. Pool objects can be validated now using “Quick validation” (checks session existence and if a user is logged on to that session) or “Full validation” (checks also connection with database and session management service). Quick validation is automatically applied before a pool objects is assigned (during SmarTeamConnection.Open()). Full validation of all pool objects is automatically performed in a background task, running on the pool manager. This action is performed every 30 minutes. (default, override using application configuration setting “PoolValidationTimeOutInMinutes”)
  • New method: SmarTeamConnection.Validate(). Performs a Full validation on the assigned pool object. Use this method carefully, full validation can take some time. Example scenarios: use before performing a lifecycle operation or before incrementing a sequence number.

Event manager

  • Event manager logs HttpContext information (current querystring, current http user name), when available.

SqlDataRetrieveDefinition and SmarTeam

  • In case SmarTeam doesn’t find any data, SmarTeam also doesn’t return data columns. Use the new “ExpectedResultAttributes” collection to get rid of this behavior. Fill this collection with column/attribute names. straitPortal will return a dataset with those columns in case no data could be found. Leave this collection empty to automatically (can cause bug or timeouts when using complicated queries) determine columns to return. Note that the last behavior is equal to the standard behavior of previous straitPortal platform versions.

Compare operators

  • In this version a new filter CompareOperator “NotEqual” is introduced.

Grid enhancements

  • Improved horizontal scaling of editable grids, using textareas instead of input fields.
  • Ability to style column fields and column headers using css classes.
  • Ability to hide column fields and column headers using css classes.
  • Error message after a delete/cancel action is removed.
  • Added ability to specify GridWidth (in pixels) variable in page querystring.

Where can I find information about the whole platform?

Read more about the full straitPortal platform here: http://blog.straitportal.com/2010/05/straitportal-smarteam-suite-2-6-released/

  • Comment @ straitPortal platform update 1.5.2.1
  • RSS

New vpc available! Howto setup the straitPortal 2.6 vpc

Posted @ 6:00 AM on May 20, 2010 by Tom van Oost

In this posts we explain howto setup the straitPortal 2.6 vpc. Only a few steps are required to run this demo installation of straitPortal on your own pc! This vpc comes with the full range of straitPortal products, including straitPortal Express, straitPortal Enterprise, straitPortal Web Parts and much more.

straitPortal-live-search-portal-the-easiest-way-to-search-and-find-drawings straitPortal-3DXML-Document-Library-in-Microsoft-SharePoint portal-with-customized-theme

Setup steps

  • Download the straitPortal 2.6 vpc here.
  • Install Microsoft Virtual PC or Microsoft Virtual Server. *
  • Run the downloadable executable and unzip the contents of it to your local harddrive. **
  • Add the delivered .vmc file in Microsoft Virtual PC as an existing machine.
  • Make sure that the ‘undo disk’ feature is enabled.
  • Start the vpc and login with username: Administrator, password: admin.
  • When logged on, follow the instructions on the screen.
  • Virtual PC

* You can install Microsoft Virtual PC from the following location: Download now >>

** The executable zip is protected with a password. Request 7z password now >>

*** The straitPortal license of the vpc might be expired. Request new demo license now >>

You can login in straitPortal Express using: joe / smart (administrator + designer) or administrator / smart (administrator) or any other SmDemo user.

  • Comments Off @ New vpc available! Howto setup the straitPortal 2.6 vpc
  • RSS

.NET Code Example: HelloWorld application

Posted @ 1:21 PM on May 17, 2010 by Tom van Oost

The following code example shows how simple it is to create your first straitPortal app. It shows howto get a list of users from the PLM system.

HelloWorld.vb

Imports Infostrait.Generic.StraitWeb.Shared

Module [Module]
Sub Main()
Console.WriteLine("My first straitPortal Application.")
Console.WriteLine("Connecting...")

Dim query As SimpleDataRetrieveDefinition
query = New SimpleDataRetrieveDefinition()
query.Class.ClassName = "Users"
query.Attributes.Add(New Attribute("LOGIN"))

Try
Dim result As DataSet
result = LibraryFactory.GetLibrary(My.Settings.DefaultServiceUrl).Query(query).ConvertToDataSet()
Console.WriteLine("Listing PLM users: ")

If result.Tables.Count > 0 Then
For Each row As DataRow In result.Tables(0).Rows
Console.WriteLine("> " & row("LOGIN").ToString)
Next
Else
Console.WriteLine("No result.")
End If
Catch ex As Exception
Console.WriteLine("Error retrieving users: " & ex.Message)
End Try

Console.WriteLine("Press [ENTER] to exit the application.")
Console.ReadLine()
End Sub
End Module

  • Comment @ .NET Code Example: HelloWorld application
  • RSS