To select all records in a detail, you just need to call this:
this.setSelectAllMode();
This will select all records in the detail. Once all records are selected, you should just be able to use the Delete menu option to delete all selected records.
I have an issue that I'm hoping someone has a simple answer for.
I have a BP that is set to run in the background (it's long running). It iterates through many items in a script task and then executes a sub-process passing in parameters for that item. I'm getting the user connection in both BPs using Get("UserConnection"). Both processes run fine if the parent process is set to run in the background, but the subprocess is not. If I try to also run the subprocess in the background, it will execute the process but it will just get stuck with a status of "Running". None of the steps show as being executed in the execution diagram. It's as if the process get's scheduled, but no work actually gets done.
Is there some other way I should be executing the sub-process or fetching the user connection?
Small update here. There seems to be no difference between getting UserConnection by referencing it directly or by using Get<UserConnection>("UserConnection"). Works fine either way, however, I still cannot call a BP set to run in the background from the script task. Still shows "Running" in the log, but not steps are executed. Anyone have any thoughts?
For those that may find there way to this post, I think I found the issue. You need to check the "Serialize in DB" checkbox as well as the "Run process in background" checkbox.
This did expose a bug, however. If you call the process client-side using the process UID, it runs fine, but if you use the name, it will not run in the background. See sample code below:
The above will work as shown, but if I comment out sysProcessId and uncomment sysProcessName, the UI will lock up and show processing until the main process completes. In other words, it effectively ignores the setting to run in the background.
"To include certain section’s data in global search results, open the section wizard for the necessary section and select the [ Indexing for full-text search ] checkbox. Learn more about indexing in the “Configure section properties” article."
But I can't see this checkbox on the development instance(7.x latest version) to include the custom sections in global search.
But in the trial instance (8.x version) when I open any section using section wizard the check box "Indexing for full-text search" is available.
Can you please tell us how can we include our custom sections in global search?
Server Error in '/0' Application.
Instance of workspace item with type "Terrasoft.Configuration.TgAcceptanceCoverageAndObjectSchema" cannot be obtained from server metadata
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Terrasoft.Common.NullOrEmptyException: Instance of workspace item with type "Terrasoft.Configuration.TgAcceptanceCoverageAndObjectSchema" cannot be obtained from server metadata
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:[NullOrEmptyException: Instance of workspace item with type "Terrasoft.Configuration.TgAcceptanceCoverageAndObjectSchema" cannot be obtained from server metadata]
Terrasoft.Core.Entities.EntitySchemaManager.InitializeSchema(ISchemaManagerItem schemaManagerItem, Assembly assembly)+221
Terrasoft.Core.SchemaManagerItem`1.get_Instance()+208
Terrasoft.Core.Manager`2.GetInstanceByUId(Guid uid)+96
Terrasoft.Configuration.ConfigurationSectionHelper.InnerGetEntitiesStructure(UserConnection userConnection, IEnumerable`1 entityNames)+4871
Terrasoft.Configuration.ConfigurationSectionHelper.GetConfigurationStructuresScripts(UserConnection userConnection)+80
Terrasoft.Configuration.ConfigurationSectionHelper.GetConfigurationScript(UserConnection userConnection)+202
Terrasoft.WebApp.Nui.ViewModuleHelper.CreateModulesConfigScript(UserConnection userConnection, HttpResponseBase response)+160
Terrasoft.WebApp.Nui.ViewModule.SetupModulesConfig()+76
Terrasoft.WebApp.Nui.ViewModule.Page_Load(Object sender, EventArgs e)+171
System.Web.UI.Control.OnLoad(EventArgs e)+99
System.Web.UI.Control.LoadRecursive()+154
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)+4082
Do you have any idea guys for solve this error? thank you
Under the section "Restore PostgreSQL Database" at point 4 when I put the password for sysadmin then it doesn't show me any error but when I perform point no5. then it gives me this error
I want to set the value of current user logged in to the system in a lookup of contact of a section and as soon as the New button for new record is clicked, the lookup should be already auto-filled with the current user contact name.
I tried using this.set("UsrUserName",CURRENT_USER_CONTACT); but it is not working.Please help me achieve this.
I'm looking for a solution for a scenario where a user double clicks on the record of a detail with column setup as list view, the record of the connected section should open instead of that detail record page.
To do this would would add some code to the detail to change what happens when the row is double clicked. First, add the NetworkUtilities to the modules list at the top of the detail schema, something like this:
To do this would would add some code to the detail to change what happens when the row is double clicked. First, add the NetworkUtilities to the modules list at the top of the detail schema, something like this:
I am trying to implement JIT when a user is not present. But by default it is creating a user as "Company Employee". Any suggestions how I can identify and create either Company Employee or Portal user based on the response that has been received in the SAML token.
If you want to enable JIT for portal user you need to make sure that key <add name="UseJit" value="false" /> is added to the block related to the "SSPSsoAuthProvider"
After that please make sure that SspLogin.aspx is specified in all keys instead of NuiLogin.aspx to make sure that user will get a proper portal cookie in case if you want to use a Service Provider initiated SSO flow to create portal users.
Also please note that in this case ordinary company employees will have to login via direct link only or use the link to NuiLogin.aspx module if they want to use SSO as well.
As for the first error message, find this Id from the error message in the UI sources in the developer console F12 -> Sources tab -> Search and see which object is returned in ViewModule.aspx when searching for the Id from the error message (like here https://community.creatio.com/questions/how-overcome-item-unique-identi…). Then you need to remove the SysModule record from the system that is related to the object found in the UI sources.
We have concerns about security of lodash module used in client app. As we understand, version 4.17.19 is used in 7.18.5. Do you plan to update it, or can we have an instruction on how to do so. Thanks in advance!