Development kits

How to find where a Customer Service Alert (CSA) is used?

Hi all,

We have a couple of CSAs which use a certain stored procedure; the SP has to change, so I'll need to test the CSAs.
How can I find out which pages the CSAs are used on? I don't see anything helpful in the ASI Content Browser or Query Browser.

Details:

What the stored proc does is to count the number of committees the current user is on, and, if none, create a link with description "Link to join a committee page", Action Text = "~/blah/pagename.aspx?ID=" + @ID... etc, nothing too interesting.

SOA - Post Order with Paypal payment

I am tyring to complete an order using Paypal/Paypal Express and can't seem to figure out what is wrong.

here is a Unit test I have to set the payment method of a cart order to PPE and get the Paypal payment url:

public void SetPaypal()
        {
            var userData = memMan.FindUserByUserName(UserName);
            Assert.IsNotNull(userData);

            var partyData = (PersonData)memMan.FindPartyById(userData.Party.Id);
            Assert.IsNotNull(partyData);

            cartMan.Cart.ComboOrder.Payments = new RemittanceDataCollection() {
                new RemittanceData() {
                    PaymentMethod = new PaymentMethodData { PaymentMethodId = "PPE"
                    },                   
                    Amount = new MonetaryAmountData(cartMan.Cart.ComboOrder.Order.OrderTotal.HasValue ? cartMan.Cart.ComboOrder.Order.OrderTotal.Value.Amount  :
                        0, cartMan.Cart.ComboOrder.Order.Currency),
                        ReferenceNumber = "1"
                }
            };

            cartMan.SaveCart();
            cartMan.ForceReload();

            PayPalExpressPaymentRequest request = new PayPalExpressPaymentRequest() {
                CancelUrl = "http://localhost:52546/",
                ReturnUrl = "http://localhost:52546/",
                ComboOrder = cartMan.Cart.ComboOrder
            };

            var result = em.Execute(request);

            Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
        }

NetTcp endpoint no longer works after iMIS20.2 upgrade

I. I had the following C# code working with the NetTcp endpoint in iMIS 20.1, but after the 20.2 upgrade it stopped working.

new EntityManager(new Uri("net.tcp://MASHTUN:808/IMIS20/NetTcp"), "MANAGER", "xxxx", Asi.Soa.ServiceModelEx.EndpointType.NetTcp);

After the 20.2 upgrade I got an error:
"there is no endpoint listening at..."

II. So I tried using a path recommended by the 3rd-party vendor that sold us iMIS:

iMIS 20.2 Rise | Edit text/label during Create Account

Hi,
Wondering where could I edit the text about the password strength in RiSE site.

At the bottom of a 'Create Account' page (Create_Account_no_Sign_In.aspx) and CreateAccount iPart, down the very bottom, there is a piece of text 'The password must be at least 7 characters long'. Wondering where to edit them to include 'The password must be at least 7 characters long and at least one number'?

Join now: how can I make a member pay for multiple years for a billing cycle via SOA?

Hi,

I have a piece of code which puts a dues product into a cart. By setting the QuantityData it acutally does a multiple year renewal.

But this only works for existing subscriptions.

How do I create a new subscription with SOA in the first place?

Or is it possible to run a billing cycle for multiple years?

Any pointers into the right direction are much appreciated.

iMIS 20.2 REST API Examples

As many of you may already be aware, iMIS 20.2 comes equipped with a built-in REST API layer that allows developers to communicate with the SOA API via the URL using REST.

This feature is not yet supported or documented by ASI, but seems to be working really well so far, so I have started a blog post with some example queries. If anyone has any sample queries they would like to add, or if you would like to request additional examples, feel free to leave a comment on the blog post.

Using Step-Through Debugging in Visual Studio when IMIS is involved. How To?

When I try to run an application in the Visual Studio Debugger, it fails (trace below). I have never been able to debug anything where the ASI security is in place. Can someone tell me their experience and/or how to use Visual Studio to attach and step through my custom code, when the Asi.ContentManagerNet.SessionState.get_IsLoggedIn() is called?

I assume since I am starting the app without moving through IMIS Authentication (essentially skipping it), then the objects for security are not created.

How to get AuthorizationCode / SecurityCode of CreditCardInformationData after paying by CartManager

Hi,

I am working on a custom online payment page. After customer paid, I need to display a confirmation page which contains some credit card information (Authorization code / Security Code etc.).
My code is almost a copy from the iMis SOA documentation example code.
http://docs.imis.com/SOA/#!commercecartmanager.htm

ValidateResultsData results = cartManager.SubmitCart();
From results, you can find a CreditCardInformationData, but it was not updated. AuthorizationCode and SecurityCode are all null.

un-collapse program option listings

We've got a client who has had several issues with event registrations where the registrant didn't see/understand that the 2nd/3rd day of program options were available just needed to be expanded, so they've requested that all days/groups of options are expanded by default all the time.

I've submitted to ASI, but all that did was get submitted as an RSE - with no potential workaround to accomplish this.

Package Installer Utility

Does anyone know if it is possible to have the Package Installer edit the web.config or perhaps run a custom script such as powershell or .bat file?