Development kits

SOA relationships

Does anyone have any SOA code to search for a relationship (using ID, TARGET_ID, RELATION_TYPE, TARGET_RELATION_TYPE).
If it does not exist, create a new relationship otherwise update the relationship (update STATUS and THRU_DATE fields).

Any code that is similar to what I am after would be great.

Thanks
Leo

SOA EntityManager not validating against password

I have a question regarding the EntityManager. It does not seem to be validating against the password I am supplying. I am using iMIS 15.2.15

I have the following variables setup in my "Configuration" class:

public static readonly String SoaUsername = ConfigurationManager.AppSettings.Get("SoaEndpointLogin");
public static readonly String SoaPassword = ConfigurationManager.AppSettings.Get("SoaEndpointPassword");  

What is impact of page base? Should Asi.Web.UI.TemplateGalleryMasterPageBase be changed to Asi.Web.UI.UltraWaveMasterPageBase

I just encountered a new customer with a WCM template using Asi.Web.UI.TemplateGalleryMasterPageBase.

All of our new templates use Asi.Web.UI.UltraWaveMasterPageBase.

Is it important, and possible, to change the reference from Asi.Web.UI.TemplateGalleryMasterPageBase to Asi.Web.UI.UltraWaveMasterPageBase?

Is it possble that there would to functionality issues using the old page base?

data showcase ipart c# code

is it possible to use C# code in the WYSIWYG editor on the data showcase iPart?

We are using this on the event display page for a client and would like to conditionally display a link to a document (but only if the document exists), trying:

protected override void OnInit(EventArgs e)
{
base.OnInit(e);
Response.Write("here
");
string fileName = Asi.Web.Utilities.GetTildeExpansion()+"/docs/eventreg/{#event.EventId}.pdf";

DELETE constraint for FK_Institute_GroupMain_Institute

We are occasionally running into an issue when we save a record via SOA (using the EntityManager.Add method).

The exception message is: The DELETE statement conflicted with the REFERENCE constraint "FK_Institute_GroupMain_Institute". The conflict occurred in database "ClientDBName", table "dbo.Institute", column 'InstituteGroupKey'.
The statement has been terminated.

It seems as though SOA is trying to delete a record from the Institute table, but it fails because of a foreign key referencing a corresponding row in the GroupMain table.

Content Block "Community Item not found"

Running into an issue with the Content Block iPart. It's been added to a content record. When we save/publish and go to Add (provided the access requirements to do so have been met), we get a pop up with the message "The requested community item was not found."

With this iPart, there isn't a community configuration option - the client does have communities, but I don't see where that comes into play here.

SignIn iPart frozen (second attempt)

We've identified an interesting quirk or undocumented feature of WCM with the Contact Sign In iPart. I have a client that is using this in several areas of their site, one being on the homepage and one being within a sidebar section on internal (non-homepage) pages.

The iPart is freezing when a failed attempt to login is showing the "Logon failed" message (e.g. mistyped pwd) and you retype the login information. What is happening is that the button changes to the grey but that's it. The user is NOT logged in and the page does not refresh.

Custom CC provider

 

Hello,

I am creating a custom CC gateway provider in 15.2.15. The custom provider works fine in a vs project using ibo.net

                    var response = order.Payment.ProcessPayment(billingAddress);
                    if (response.IsSuccess)

iBO/SOA code to retrieve a customer's logon ID

Has anyone written code to retrieve a customer's logon ID from iMIS? I have the contactID, but I don't see any properties or methods in either iBO or SOA to get the member's logon ID if only the contact ID is available.

Let me know if anyone has come across this and found a way to do this without calling SQL directly.

Thanks!
James

Has anyone got 15.2 SOA working in PHP for event registrations?

Before I spend too much (more) time on this, has anyone actually got the 15.2 SOA working in a Windows PHP environment for event registrations? Security and membership-related stuff is working, mostly due to the toolkits made available in previous versions, but event registration is proving to be a problem. There's lots of "PHP should work" comments and there's a few "I got this far" posts that don't seem to be resolved, but is there anyone actually doing live server-to-server connections and processing live event registrations without the need of a 3rd party product? If so, please let me know, I'd love to chat with you offline. Thanks.