Monday, March 17, 2014

From Sun Moon Lake (日月潭) to CingJing (清境)

There are several ways to travel from Sun Moon Lake to CingJing, Taiwan.
Although both are located in the Nantou vicinity, the distance between those 2 places are quite far apart.

1. Taxi / Cab
The most convenient option would, of course, be by taxi or cab.
Downside is that this option would be expensive unless if you have a group of people traveling together to share the expenses.
Taxis can be found near the Shuishe Pier of Sun Moon Lake. Alternatively, if you spent a night in one of the minshus around this area, you could ask the owner or minshu operator to call a cab.

Friday, March 14, 2014

AgilePoint Infopath integration: XML content as parameter

If you ever need to pass the entire XML document/body of an InfoPath as a parameter in AgilePoint, use this:
$//
Just like any other attributes that you reference ($AttrName)

For example, when you are making use of a web service that accepts an XML document as a parameter.

When you are using managed C# code, you can do this instead:

Wednesday, March 12, 2014

SQL Server: Create failed for User xxx. The login already has an account under a different user name. 15063

When you try to map an existing user to a database using SQL Server Management Studio - Security - Users - New User
You might see this error:
Create failed for User... The login already has an account under a different user name. 15063

Tuesday, March 11, 2014

SQL Server: Check the db owner using T-SQL

This query might come in handy sometimes.

To list all database owners:
select suser_sname(owner_sid), name from sys.databases

To list owners for a particular database
select suser_sname(owner_sid) from sys.databases where name='database_name'

Tuesday, March 4, 2014

AgilePoint (AgilePart) - Managed C# Code: How to get AdminService

In your lifetime of AgilePoint development you will commonly come across situations where you need to access system data such as process template information, delegations that are active and so on.
2 common services provided OOTB are the Workflow services object and AdminService services object.

You have probably come across code samples that shows you how to get the admin service in a standalone environment.
Now I am showing you a much easier method that can be integrated into your process template.

Related Posts Plugin for WordPress, Blogger...