Development kits

Change Login and Passwords using iBO.NET and CContactUser

Trying to get this script to change logins and passwords on existing users.  Any idea how I get access to the CContactUser object to assign the new login and password?  

 

The program compiles and runs, with no reported errors, but it does not change the login and password.

Code:

 

using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Text;
using System.Threading;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Asi.iBO;
using Asi.iBO.ContactManagement;

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.

Membership Provider

I am trying to perform a unified login from one site to another. I am able to transfer cookies from one site to another but I am having a hard time using the membership provider on one of the sites. Are there any sample code that illustrate how to log someone in and validate them so all the proper .NET membership stuff gets set?

Problems using Secure.dll

Greetings all,

I'm having some trouble with the Secure.dll file, specifically with the Secure class, on an iMIS 15.1.x installation, using iBO.Net.

On my local machine, I'm able to instantiate an object of the Secure class, encrypt/decrypt data without any problems, etc. However, when I move the code out to my production environment (it's on an intranet), I keep getting a null reference error in the Secure.cs file, which I'm guessing is the name of the .cs file compiled to make the DLL. Specifically, I'm getting the following:

Moving iParts on an existing page

We get requests from casual users (volunteers) to reorder the iParts on an existing page. What process allows this (drag & drop?) other than rebuilding the page?

CMS Express Engine

Has anyone written an API for CMS Express Engine?

We are looking for iMIS 15.2.

15.2 SOA with Dues and Billing

Has anyone seen or have any sample code for handling Dues and Billing via SOA?

Thanks

A

Timeout error in ibo code

 

I am getting timeout errors on the following line of code and it does not happen very often, like once in every twenty times it does happen.

19 times the following line doesn't give any error but all of sudden it gives the time out error.

 

Any help would be appreciated.

PayPal User Authentication Failed in IMIS 15 iBOs

Greetings all,

I'm having some difficulties processing a payment using the CPayment.ProcessPayment method for the IBOs on IMIS 15.  Within the desktop IMIS interface, we're not having any trouble processing credticard payments via PayPal (the out-of-the-box payment gateway), but whenever I try to invoke the ProcessPayment method using the IBO's, PayPal comes back with a "User Authentication Failed" message.

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: