Discussions
Changing Masterpage and Theme via Code
I would like to be able to change the Masterpage and Theme via code. It needs to be done in the OnPreInit stage in the code. I have tried using the Global.asax and can change the Masterpage in the Pre_Init, but I cannot access OnPreInit - which is where Microsoft recommends these updates be done (see link at bottom).
Is it possible to access/override OnPreInit? For example:
void OnPreInit (EventArgs e)
{
Page page = this.Context.Handler as Page;
page.Theme = "tms2021";
page.MasterPageFile = "~/Templates/MasterPages/tms2021.master";
base.OnPreInit(e);
}
Microsoft ref: https://docs.microsoft.com/en-us/dotnet/api/system.web.ui.page.onpreinit?view=netframework-4.8
Thanks in advance.
Ken
Tokenizing direct debit details in AutoPay
Does anyone have a direct debit example? The documentation only has a credit card example:
https://developer.imis.com/docs/tokenizing-a-credit-card-that-is-saved-as-an-autopay-account
Preferred Address
Hello,
LegacyBIlling endpoint Parameters
Hello I am trying to run some individual rebills through the api, and I've read this post, https://developer.imis.com/discuss/608f556d40271e0038e8bb3c as well as a few others that are related. However I cant seem to get the parameters correct, and I keep getting a 400 bad request with the following body,
Difficulty with api/EventRegistration/_execute
Hi,
What are the available action types for
On the following tutorial we are shown how to start an adhoc task to run a stored procedure.
iPart with configure options using REST API
I am working on an iPart using REST API which I would like to have 2 configurable items. One would be IQA name and other would be an iPart name on the page where this would be implemented. Is that possible to have an configure options in client-side ipart using rest api? If so, can I please get some code snippet to get me started?
Posting an existing invoice to cart
With REST we need to be able to add existing invoices to the cart so RiSE can process the payment. Looking for the JSON body for the post to cart. I haven't been able to create this based on the body of ComboOrder as has been suggested.
Posting to Custom Panel
I have a post to a custom panel I created that was working up until this week and now I'm stuck getting 400 (Validation error). I am able to get from the same source. We're running 20.3.90 so I don't think any changes happened on the back end. Code snippet here: https://pastebin.com/Zp0h997y
Updating Custom Table using Rest
We have created a custom importer. All is looking good but it is not logging changes for our custom tables. Trying to figure out how to use the business objects versus the actual SQL table so it uses our change logging enabled set up in the business object. Getting an error trying just changing the table name to the view name (adding vbo at the beginning)