Discussions
Error with event reg and open invoices iPart when OBO a certain user
When acting OBO a specific record and trying to either register for an event or view the open invoices ipart, I receive the "There was a problem loading this area." error.
This is the corresponding error from Event Viewer:
2022-04-12 10:25:41,002 [35] ERROR UKCLOUDSQL2:ML_Prod [(null)] - Error occured at Uri: https://HIDDEN.imiscloud.com/Asi.Scheduler_/api/PartyCommercePreferences/1171
System.NullReferenceException: Object reference not set to an instance of an object.
at Asi.Soa.V10.Commerce.Persistence.PartyCommercePreferencesLinqDefinition.<>c.<get_AvailableBillToParties>b__26_1(BillToPartiesLinqDefinition btp)
at System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count)
at System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count)
at System.Linq.EnumerableSorter`1.Sort(TElement[] elements, Int32 count)
at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Asi.Soa.V10.Commerce.Persistence.PartyCommercePreferencesLinqDefinition.get_AvailableBillToParties()
at Asi.Soa.V10.Commerce.Persistence.PartyCommercePreferencesLinqDefinition.GetEntity()
at Asi.Soa.Core.Persistence.LinqPersistenceTranslator.PersistenceInstanceToEntity(Object persistenceInstance)
at Asi.Soa.Core.Persistence.LinqQuery.<>c__DisplayClass4_0.<TranslateLinqQueryResultsToEntityIdentityMapList>b__0(Object item)
at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Asi.Soa.Core.Persistence.LinqQuery.TranslateLinqQueryResultsToEntityIdentityMapList(Repository repository, ExtendedEntityDefinition extendedEntityDefinition, IList`1 list)
at Asi.Soa.Core.Persistence.LinqQuery.ExecuteQuery()
at Asi.Soa.Core.Persistence.LinqPersistenceStrategyBase.FindMatching(QueryData query)
at Asi.Soa.Core.Persistence.LinqPersistenceStrategyBase.FindByIdentity(IdentityData identity)
at Asi.Soa.Core.Domain.Repository.FindIdentityItemByIdentity(IdentityData identity)
at Asi.Soa.Core.Domain.Repository.FindByIdentity(IdentityData identity)
at Asi.Services.Core.EntityServiceToCommonServiceAdapter`1.FindById(Object id)
at Asi.Services.Core.EntityServiceToCommonServiceAdapter`1.Asi.Soa.Core.ServiceContracts.ICommonReadOnlyService.FindById(Object id)
at Castle.Proxies.Invocations.ICommonReadOnlyService_FindById.InvokeMethodOnTarget()
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Asi.Shared.Aspects.CacheAspect.Intercept(IInvocation invocation) in C:\Builds\208\ScrumV3\sp137_Main10\Sources\MainFoundation\imis.net\Packages\Platform\Asi.Shared\Aspects\CacheAspect.cs:line 62
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Asi.Services.Core.Interceptors.CommonSecurityAspect.Intercept(IInvocation invocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Asi.Shared.Aspects.PerformanceAspect.Intercept(IInvocation invocation) in C:\Builds\208\ScrumV3\sp137_Main10\Sources\MainFoundation\imis.net\Packages\Platform\Asi.Shared\Aspects\PerformanceAspect.cs:line 55
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.ICommonService`1Proxy_9.FindById(Object id)
at Asi.Scheduler.Controllers.CommonServiceController.Get(String entityName, String entityId)
If anyone could shed any light on what may be causing this, it would be much appreciated.
Thanks in advance.
Posted by [email protected] over 2 years ago
Merging multiple rows with same ID
Hi Team,
Can we combine multiple rows of values with the same ID in multi-instance tables?
For example, data in a muti-instable table as below:
| ID | CATID | AA |
+-----------+----------+------+
| 1 | 123 | A |
| 1 | 412 | B |
| 2 | 567 | C |
| 2 | 521 | A |
| 3 | 2 | D |
| 3 | 5 | A |
| 4 | 6 | C |
| 4 | 8 | E |
| 4 | 123 | A |
And I'm trying to achieve the following result:
ID | CATID | AA |
+-----------+----------+------+
| 1 | 123,412 | A,B |
| 2 | 567,521 | C,A |
| 3 | 2,5 | D,A |
| 4 | 6,8,123 | C,E,A|
Thank you.
Posted by Vu Nguyen over 2 years ago
iMIS contact developer
Is there any way I can contact imis support directly?
Posted by sara kale over 2 years ago
iMIS Rise - change datetime control
Hello, I'm using Rise Version 2017.
When I edit a content to insert/update values of a datetime field, it shows the datetime control, which I can select the date. It works fine, except that when I click "Today" the control just moves to the current month and does not highlight the todays date. It would be even better if when I click the "Today" button, the todays date would be selected.
Does anyone knows how to solve/customize this ?
Thanks
Posted by Leonardo over 2 years ago
Bearer and reshesh_token
Hi,
Is there any possibility to have a refresh_token when I call Bearer token with "password" grant_type ? And using it to add expiration to current access_token ?
Thanks
Posted by Laurent B. over 2 years ago
Is there a way to trigger the "Forgot password" flow through the API?
Hi,
We are currently building an application that will integrate with our client's instance of iMIS. We looked through the API and didn't find a way to trigger the "forgot password" flow (sending an email with a reset link). Is there a way to do it through the API or is it only possible to trigger this flow directly from iMIS?
Thank you
Posted by Jérôme L'Allier-Décary over 2 years ago
Translation Module
Can anyone point me to some material that explains in detail how to make use of the iMIS Translation Module?
I'm writing an Angular event registration application that needs to display in either of two languages, English or French.
According to the material I found at https://help.imis.com/enterprise/features/settings/language_translation.htm, the Translation Module only translates language in labels, prompts, navigation links, titles, tabs, column/row headers, and dropdown menus. It won't translate database data, language entered by staff or language in HTML content controls.
Database events for my organization are bilingual where needed and my application is able to display the events in the required language. I need to be able to detect changes in the language dropdown selection so I can then change the language in the areas of the UI that are not translated by the module. I can find no help in that area, and as far as I can see, no one has asked that question in this forum.
Any help would be appreciated.
Thanks,
Terry Thiel
Posted by Terry Thiel over 2 years ago
Commitee Memeber Notes and Other fields
Hello, could someone help me to make this update with Rest API ?
I can create/update Committees members but I cannot update fields Other and Notes (available from the Imis installed thick client)
The endpoint I use to update/create Committee memeber is --> https://{{URL}}/imis/api/GroupMember
Thank you !
Posted by Leonardo over 2 years ago
REST API - pay invoice?
Hello - is there a way to pay an invoice (or better yet batch of invoices) in the API?
Posted by Max Szczurek over 2 years ago
In IQA query, parameters must be Parameter Equal
Hi, I have my url like this in a clientside iPart
var urllookup = MemberPrimeBuyersGuideSearch.restApiUrl + "/iqa?queryname=$/IFDAReports/Allied/Directory Search/iPartAlliedBuyersGuideSearch&Parameter=eq:" + cats;
still getting validation error : "In IQA query, parameters must be Parameter Equal"
works fine in postman request either with or without eq:
Can anyone help giving any solution?
Thanks
Posted by Mythili Parthasarathy over 2 years ago