Developing for iMIS

how do you get Address Purposes using Ibo

how do you get Address Purposes using Ibo?

Asi.iBO.iboAdmin.ReferenceData.???????

Documentation for creating iParts? Where

I am trying to create some iParts to replace some old xTender applets.

I am very familiar with creating web parts and have created a number of iParts successfully. What I am not able to find is any information on what values, variables and parameters are available to me inside those iParts. i.e. How do I retrieve the selected user ID?

Is this documentated someplace?

This would be for both web and desktop views.

CPayment - CreditCardNumber Exception

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Asi.iBO;
using Asi.iBO.Financials;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            try
            {
                IiMISUser user = CStaffUser.Login("Manager", "Test1234");
                CPayment Payment = new CPayment(user);
                Payment.Amount = 120;
                Payment.PaymentType = EnumPaymentType.CreditCard;
                Payment.CreditCardNumber = "4444333322221111";
                Payment.CreditDebitCardHoldersName = "Name";
                Payment.CreditDebitCardAuthorizationCode = "123";
                Payment.CreditCardSecurityCode = "123";
                Payment.CreditCardExpiration = "12/50";
                Payment.CashAccountCode = "VISA";
                Payment.Validate();
            }
            catch (Exception exception)
            {
                throw new Exception(exception.Message);
            }
        }
    }
}

How do I: Get a selected ID in the Desk View?

I have a iPart that is very simple.

It displays the selected ID by using the following code in the ASCX file: 

<%= IWC.Utilities.GetCurrentUserID() %>

This works great in the web view and returns the number exactly as expected. But in the Desktop View it returns a much longer string of numbers and letters. My guess is that it is encoded in some way. How do I go about getting the plain value?

Error When trying to save in Content Designer

When adding content with the Content designer I get screen attached below. The Title field shows a red asterisk which I assume means that there is an error. But the error message at the bottom of the screen (see attachment) doesn't seem to correlate to anything having to do with the title field.

I can hit the save button but the error message never changes.

What does this error mean and how do I fix it?

Deploying iparts???

I have created a simple iPart following some of the documentation that is in the community.

 Codebehind:

using System;
namespace iPartTest {
public partial class HelloWorld : Asi.Web.UI.UserControlBase
{
protected override void OnLoad(EventArgs e)
{
lblHello.Text = "This is the test";
}
}

Replacement for Extenders? Trying to get away from OCX development.

We are in the process of finally upgrading to 15.

I am wondering if there is a new preferred method of developing extenders or a replacement method to using OCXs? I would much prefer to use .Net

Any pointers or links to documentation would be much appreciated.

TIA

J

When to move to VS2010?

We've been using Visual Studio 2008 for some time now on the theory that it's the version ASI is using.

Is ASI still using VS2008, or have you (partially or fully) moved to VS2010?  If not, do you have plans to make the change?

Has anyone had any issues moving from VS2008 to 2010?

Has anyone found any compelling advantages of VS2010 over VS2008?  Are they big enough to justify upgrading old projects, or should I just use it for new projects and run them side-by-side?

List of Tagged Content through the API

I need some help navigating through the API to find a way to get a list of tagged content. I'm happy to do this through iBO, Webservices or the iMIS business objects directly.

My goal is to produce a custom .NET control that passes in a tag and returns the title and description for content records that have been 'tagged' with that tag. I know that I can use a Tagged Content List iPart to do this - however the output is not controlled enough for what I need it to do.

MemberWebService Cookies required for login

I have created a login page consuming the MembershipWebservice and invoking the LoginUserAndProvideCookies method.  It is giving me back 2 cookies:
 
•         ASP.NET_SessionId
•         Login
 
I create the cookies and send  the user to the mycart.aspx page.  The page is asking me to login.  After I login using the iMIS interface, I see that many more cookies have been created. 
 
I don’t want the user to have to log in twice.  Are these two cookies the only ones I need to create in order for the user to navigate the iMIS public site?