Developing for iMIS

Problems of registering a contact as a company

I am making a web page for registering a contact online.
I defined 2 customer types which are "AFF" (is member) and "COR" (is member and is company).
When I try to register a contact by type "COR" (contact.CustomerTypeCode = "COR"), I got "The operation has timed out" error on 'contact.save()',
if I simply change the type to "AFF" (contact.CustomerTypeCode = "AFF"), not touching any other code, it works fine.

Membership Provider & Setting Expiration Date

When using the imis 15 membership provider to create new accounts is there a way to set the expiration date on the account?

- Adam

How to deal with the error -- 'Valid credentials must be provided by the application principal.'

'Valid credentials must be provided by the application principal.'

I got this error when I was developing a web page of registration form. It is on this line:
Guid dkey = Asi.Business.Common.DocumentSystem.DocumentKeyByPath("$/Common/Queries/Value Lists/ChapterList");

This error is gone after I login by 'manager'.
But since it is a new contact register page, it makes no sense to force user log in first.

Cannot find 'CompanyID' in CContact class

I am developing a web page for new contact registering. The problem is that I cannot assign a company ID to a new contact. I found there's a field called 'company_id' in 'Contact' table, but in .net, the 'CContact' class has no such property. I wonder where and how I can make this field available for web pages?

Thanks.
Michael

How to Use asi_SplitString in SQL Compatibility 80 on SQL 2005

I have a SQL 2005 server that has my iMIS database. Unfortunately, iMIS requires that the compatibility mode of SQL be set to 80 (SQL 2000). I'm trying to use the function asi_SplitString in my code, but I get an error when I call it telling me to change the compatibility level to 90 (not supported by iMIS). I want to use the function so that I can easily search the multi-instance field setup in an iMIS demographics table.

How to customize the web interface? Changing master page doesn't work!

We need to customize the web interface for our client. I am new in iMis, and our version is iMis15.
Seems simply change the master pages under /templates/masterpages/ folder doesn't affect the front-end look. However if I delete public.master, it reports error. If I put an empty public master page there, it still works as before I made the changes.
I notice all pages are inherited from Asi.Bae.Web.xxxx, does that mean we don't have any easy ways to modify the interface?

iMISPublic - IQA - IBO.NET - QueryBuilder - V 15.x - How to use?

I'm trying to figure out how to call IQA Queries. Just for a test I'm trying to call a standard IQA query, pass a value, and read the results or dump into a data set etc...

I can't seem to find even a basic sample on this. Any help would be greatly appreciated.

A bit of help please? Questions would be:
- Am I even on the right track?
- Am I creating the container correctly?
- Does the container need to be further initialized?
- Am I using the QueryBuilder correctly?
- How do I add the parameter to this querybuilder? I see just one key
- Am I executing the QueryBuilder correctly?

SAMPLE CODE,

    public void callIQA()
    {
        //Create the container using a common standard query anyone with iMIS should have
        Asi.Business.BusinessContainer myContainer;
        myContainer = new Asi.Business.BusinessContainer("$.Common.Queries.Search.CsContact.Name");

        //Does something else need to be done to finish initializing the container?


        //Make a querybuilder to be able to execute the query?
        Asi.QueryBuilder.Query myQuery = Asi.QueryBuilder.Query.NewQuery(myContainer);


        //If everything so far is correct, how is the string key formatted for adding parameters? 
        //Example, the above built in container has a possible 'Name' that can be added.  What would
        //be entered to pass the query a   [Last First]=DOE
        //NOTE: the above CsContact.Name sample requires [Last First] to be provided at least one value

        //myQuery.Parameters.Clear();
        //myQuery.Parameters.Add("string key");


        //Execute the query, and see what we get, which is nothing, something's wrong
        System.Data.OleDb.OleDbDataReader myReader;
        myReader = myQuery.GetList();

        if (myReader != null)
        {
            while (myReader.Read())
            {
                Response.Write("  

Adding pages to the Public View

Has anyone added pages to the iMIS 15 Public View and secured the page by Security Groups or by a person's committee affiliation? We have added several pages to the Public View and have secured them by roles and by having you log in, however, we would like to take it a step further and secure the page by committee affiliation or by the security group.

Develop Custom Application Using iMIS 15 Public View Authentication

We would like to develop a custom application that can be accessed from iMIS 15 public view passing user credentials. Any ideas on how or if there is a way to pass credentials and login status to custom .NET web application?

Signed imis dlls

I am working on a project with Sharepoint 2007. I need signed imis 15 dlls to use them in sharepoint 2007. Do these even exist and if so where can I find them ?

Adam