Ever Wondered How Developers are Authenticated in K2 Designer?

I hadn’t. Not really. Until today.

I’ve a client who’s forcing me to learn — my main contact isn’t familiar at all with K2, so I’m getting asked lots of questions. Today, he wanted to give a person access to the K2 Designer. I had no idea how to do it, but I offered to dig into the server’s configuration files to figure it out.

Here’s what I found.

Continue reading “Ever Wondered How Developers are Authenticated in K2 Designer?”

Ever Wondered How Developers are Authenticated in K2 Designer?

Call Your E-mail Metadata Capture SmartObject Right From Your Outgoing Message

I have a client who wants to track all outgoing messaging from all of their K2 applications to assist in troubleshooting if someone says they didn’t receive a notification.

Normally, no big deal; create a database table or two, a database view and an insert and a list proc, turn those procs into methods in a SmO and call it from a SmartObject event after each of the email events in the workflow. Good to go, right?

But all outgoing messaging includes escalation e-mails… trickier, but I’ve got a slick little trick up my sleeve.

Continue reading “Call Your E-mail Metadata Capture SmartObject Right From Your Outgoing Message”

Call Your E-mail Metadata Capture SmartObject Right From Your Outgoing Message

“The given key was not present in the dictionary” error

I’m working on re-creating a SmartForms application for a client — which was already in progress when I took over for another engineer — when I bumped into the exception described in the the title. This application was deployed from another environment.

Where’s the problem?

Continue reading ““The given key was not present in the dictionary” error”

“The given key was not present in the dictionary” error

How to discover the URL for the K2 Workspace (because your client changed it)

You wouldn’t think this would be a thing.

I’ve a new client running K2 4.7 who has changed the URL for the K2 Workspace. The person I took the client over from could only guess at the correct URL.

How did I find it?

Continue reading “How to discover the URL for the K2 Workspace (because your client changed it)”

How to discover the URL for the K2 Workspace (because your client changed it)

Rule-based Validation of a Single K2 SmartForms Control

K2 SmartForms controls are validated in two ways: One is immediate, and the other is rule-based. But the rule-based validation applies to an entire form, not to a specific control.

But does it have to be that way?

Continue reading “Rule-based Validation of a Single K2 SmartForms Control”

Rule-based Validation of a Single K2 SmartForms Control

Using Client-Side Scripting to Access REST Services in SharePoint or Project Online from K2 for SharePoint

Given source and target systems within a company’s intranet. The source system is a SharePoint server, though which K2 is surfaced. The target system is also a SharePoint server, through which Microsoft Project Online is surfaced. The challenge: to access the data on the target system through the use of REST services only — without a JSON descriptor.

Continue reading “Using Client-Side Scripting to Access REST Services in SharePoint or Project Online from K2 for SharePoint”

Using Client-Side Scripting to Access REST Services in SharePoint or Project Online from K2 for SharePoint