API

iBO COM Code Error with 100% Discount Registrations

Within a product we are using COM based iBO code for processing of registrations.  For some clients we have included the capabilities to include discounts on the registrations via discount functions containing a negative amount to offset the cost of the registration in other functions.

For example:

Main Registration = $100, Discount = -$20, Total Cost = $80.

This code is within a product we created and is not using eSeries any other components other than iBO.

CMS Express Engine

Has anyone written an API for CMS Express Engine?

We are looking for iMIS 15.2.

Creating content via API

I created a utility that bulk loads content from an Excel spreadsheet into WCM. When I run the code to create a new folder, the folder doesn't always show up on the Manage Content screen.

The code to create the folder is based on this sample code provided by Eric in 2009: http://www.imiscommunity.com/how_to_programmatically_create_content

When I inspect the DocumentMain and Hierarchy tables in the database, everything looks exactly the same as folders that I created manually with the WCM tool:

Page-to-page communication

I have two pages, both with iParts, which need to communicate with each other.  Some of the details I want to communicate are a bit sensitive.  It's not credit cards or other personal info, but it could potentially be used to manipulate the system to gain access to records that shouldn't be seen by the current user.

I know the first page can pass parameters to the second page using the URL, but the security is non-existent.  Even my mother-in-law can manipulate URL params.

Using OAuth with iMIS - Logon with Facebook or twitter

I have been asked by an AE whether it would be possible for us to create a custom login page for iMIS that allowed users to login to iMIS using either their Facebook, google or twitter credentials, 

All these apps now use OAuth 2 - which I have been reading about here developers.facebook.com/docs/authentication/.  and here oauth.net/2/

Display information from iMIS database on website not built using iMIS WCM

Hi,

I'm looking for information on the best way to display information pulled from the iMIS database on webpages built outwith the iMIS WCM. The information would be similar to the out of the box directory feature in iMIS but with a much improved look and feel.

What is the best way to achieve this using the iMIS toolset e.g. IBO (Net), SOA or API?

I'm really looking for some guidance on where to start with this and what components would be used to do this. The website is built on .Net framework.

Tracking Session ID in WCM

We're trying to track someone's path in WCM.   

The .NET session id (HttpContext.Current.Session.SessionID)does not get reset when someone logs in or out of WCM.  We need to recognize separate logins as separate visits.

Is there something in iMIS that we can use for this? something like Asi.ContentManagerNet.SessionState.SessionID

We want to consider each login to WCM to be a unique activity.

Business Object only returns column names.

The SQL returns 3 rows and the rows shows an array of 4 rows including the field names.

Normally the ds would be filled with a data adapter.

 

private DataSet getCommitteeCodesObject(Guid transactionID, string credentials, string error)
            {

                DataSet ds = null;
                Asi.iBO.ContentManagement.CWebUser user = null;
                try
                {

Order API - 15.1.3 - processing an order via API

We have done some testing and are trying to determine if it is possible to process an order thru the API that results in a complete order in iMIS with full Transactional entery (order, order_lines, Invoice, Trans and Activity) without walking thru the order stages in the desktop.

At this point the only order we can get with the API is a proforma and we are seeing missing DIST lines in Trans.  We are working in 15.1.3 and need to determine if the API can do this as part of the design, if we are calling it correctly or if there is a bug in the version we are working with.

Required fields in SOA

I am loading a record in SOA and saving it straight away .. without modifying any fields, but get the following error:

"The supplied value, '' is not defined in in the Contact Management system and is invalid"

That error message is verbatim, including the "in in".
I am simplifying the issue here, we were orignially trying to set field values, but decided to make it a simple as possible.

What are the required values in SOA? ie What fields could it be looking for and not finding a value?