Thursday, March 20, 2014

Golden Gate Steamboat, Gurney Drive

The hot weather did not dampen our enthusiasm for some lip-smacking fish head steamboat at Golden Gate Steamboat Restaurant.

One of the established steamboat restaurants, it is highly popular among locals and expats living in the same area.

Traditional steamboat is also available.

Tuesday, March 18, 2014

From CingJing (清境) to Taipei (台北) (and vice versa)

There are only 2 options, really.

1. Private cab / taxi
I have no idea how it's going to cost. But it's probably pretty expensive.

2. CingJing bus (E-Go)
Duration: 4 hours, once a day
Cost:
One-way: NT780 (weekday) NT880 (Holiday)
Roundtrip: NT1260 (2 weekdays) NT1360 (1 weekday + 1 holiday) NT1480 (2 holdays)

Refer to their website for more details.
http://www.cingjingbus.tw/ratesaschedule.html

Not going to Taipei? You might find this useful.
CingJing - Sun Moon Lake



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.

Monday, March 3, 2014

coffee is happiness.

A good cup of coffee is enough to make my day.

Coffee Journey
Island Plaza (near ground floor entrance),
Tanjung Tokong

Sunday, March 2, 2014

C# Update InfoPath by passing in the XPath

C# code snippet to update the InfoPath XML file in a SharePoint library.

Sample parameters:
websiteUrl: http://sharepoint
library Name: InfoPath Library
list Id: 1
xpath: /my:myFields/my:Employees/my:Employee[my:ID='123']/my:Location
value: San Jose

What it does:
In the repeating group Employees, locate the employee whose ID is 123, and update the location to San Jose.

Related Posts Plugin for WordPress, Blogger...