-
Recently active
Hi, I have a user interface with a read only grid at the bottom with a button "ADD" on top right corner of the interface. Now, when the user clicks on "ADD" button, I would like to show the interface in a popup window, instead of showing in the same window. How can I achieve this. Any suggestions please.
In the interface. I am getting error message for the below piece of code. Error message : Expression evaluation error in rule 'sshs_startformquestions' at function a!cardLayout [line 48]: Cannot compare incompatible operands of type Null and type Number (Integer). Line: showWhen: { local!selected1 = 2 } It would be great if someone can help.
my condition is like, when click on radio button it goes to next activity and radio button must be disappeared so i want to do only disappeared radio button when going to next how can i do that ?
need
How to effectively prevent UI evaluation errors when choiceValues change? In my project, we are commonly using a table holding reference data to be displayed in dropdown fields. The problem is, whenever these values change, the dropdowns get updated, but if a value has been removed or edited, but previously saved to the database, now we get a UI evaluation error saying that the value is not present in the choiceValues - which is understandable, of course. But how can we effectively guard against this sort of behavior? After an update like this, we usually face a billion errors when users (or developers) bring up an old record or old task, which had a value saved that is no longer present in a dropdown. Is there a good preventive measure for this sort of cases?
Hello, I have an interface that needs to show default value in dropdown for my users when some options are specified (see example below) { a!DropdownField( label: "Toto dropdown", choiceLabels: {"1", "2", "3"}, choiceValues: {1, 2, 3}, value: ri!toto ), a!DropdownField( label: "Tutu dropdown", choiceLabels: {"4", "5", "6"}, choiceValues: {1, 2, 3}, value: ri!tutu ), a!DropdownField( label: "Foo dropdown", choiceLabels: {"Test", "Test2"}, choiceValues: {140, 150}, value: if( and( isnull(ri!foo), a!isNotNullOrEmpty(ri!toto), a!isNotNullOrEmpty(ri!tutu) ), if( and(ri!toto = 1, ri!tutu = 2), 140, 150 ), ri!foo ), saveInto: ri!foo ) } This interface is embedded in a form component, when i submit this form and the default value of the "Foo dropdown" hasn
Hi, Dropdown field is getting error, can anyone provide inputs to resolve. a!localVariables( local!refData: rule!EC_getReferenceData( appName: "EC", category: cons!EC_REFERENCE_CATEGORY[{ 2, 3, 4, 5 }] ), local!departmentList: rule!EC_filterRefData( refData: local!refData, category: cons!EC_REFERENCE_CATEGORY[2] ), local!Existing_Emp_ID: if( rule!APN_IsBlank( ri!Employee['recordType!{13a37d27-9cf0-4b44-aa16-596960c2aeb6}EC Employee.fields.{5dd14089-6372-498b-bdd4-49221479de4c}id'] ), false(), true() ), local!Emp_Data: length( rule!EC_getEmployeeDetails( empRefId: ri!Employee['recordType!{13a37d27-9cf0-4b44-aa16-596960c2aeb6}EC Employee.fields.{5dd14089-6372-498b-bdd4-49221479de4c}id'] ) ), local!EMP_Code: if( rule!APN_IsBlank( ri!Employee['recordType!{13a37d27-9cf0-4b44-aa16-596960c2aeb6}EC Employee.fields.{5dd14089-6372-498b-bdd4-49221479de4c}id'] ), concat("EC" & local!Emp_Data + 1), ri!Employee['recordType!{13a37d27-9cf0-4b44-aa16-596960c2aeb6}EC Employee.fields.{190fbb44-7340-
So I would like the user to click a link or a button in a UX and that launches a process model. The process model will determine a url that needs to be opened in a new tab. I only want the process model to run when the user clicks the button or link.I have tried a!startprocess with success: but im not sure how to get the url opened in a new tab. It successfully runs the process but nothing else seems to happen.Trying various things on the OnSuccess. Httpreponse etc
Hi All, We are trying to display the tasks count in the navigation panel as dynamic label.It works as expected in web browser .But when we access the same from custom mobile app the tab name is not updating dynamically and it updates only after logout-login. Solutions tried: 1.We have tried to remove the count if the site is accessed from mobile device using a!isnativemobile() function .Which throw the error mentioned below 2.We have tried converting the label from external expression rule which didnt help much. Please suggest.
Hi There, We have a requirement to show each detail on new line in Hierarchy Tree Component. Fo example in the below attachement when we hover the cursor each detail coming on new line since we used char(10). However, we would need to show the same way on the node itself without hovering the cursor. Please let me know your thoughts on this. Thank you.
Hi All, I have a requirement where i have to add validation on a text field and the validation is like + and three integer. please help me out with this. thanks.
Hi, I have an interface and I would like to change the Parent folder for the interface to a different folder. Any idea how I can do this.
I have a grid (in SAIL) that displays a number of rows. When one row is selected, the details for that row are displayed below. Any edits the user makes to the details need to flow back to the grid and be displayed. This grid is not tied to a record set, but CDT data obtained from other parts of my application. NOTE: An editable grid will not work for my scenario. A greatly simplified version of my need is.... a!localVariables( local!data: { { name: "Springs", qty: 4, unitCost: 1.27 }, { name: "Sprockets", qty: 1, unitCost: 2.50 }, { name: "Gears", qty: 7, unitCost: 1.98 } }, local!selection: null, { a!sectionLayout( label: "Order Summary", contents: a!gridField( data: local!data, columns: { a!gridColumn(label: "Qty", value: fv!row.qty), a!gridColumn(label: "Item Name", value: fv!row.name), a!gridColumn(label: "Unit Cost", value: fv!row.unitCost), a!gridColumn(labe
Here I have a Plan TypeWithin Plan Type Sum Insured (Min Val and Max Val)Within Sum Insured Year Range (Min Year and Max Year)Within Year Range service center (Agency or Garage)1. I should be able to duplicate the whole transaction2. I should be able to add multiple Sum Insured (Min Val and Max Val). 3. When I add this, within Sum Insured I should be able to add multiple Year Range 4. Within the Year Range I should be able to add multiple service centers ( 1 Agency and 1 Garage)Now with the current code If I add a Transaction, 2 Transactions are getting addedAfter filling details if I add another transaction, all the values getting disappeared from the 1st transaction If I add Year Range I am getting the following error message (An error occurred while executing a save: Expression evaluation error at a function a!map parameter 3 [line 328]: Cannot add incompatible operands of type Null and type Number (Integer).) a!localVariables( local!index: 1, local!planType: {a!map(planType: ""
Hi all.. Can you tell me what's wrong with this expression? Why is the percentage not picked by the gauge component?
Closing this topic since I found a similar one on community that answers my question!
My interface is now using a record type (data source is a process report) to show a list of cases info, now I want to add into this interface 2 additional columns, but the data for these 2 columns is in another record type, and the common field to get the right data is "caseID". Is there any possible way to query the data from the other record type back to this interface? I tried but couldn't point to the exact case ID... a!boxLayout( label: "My Pending Tasks", contents: { a!gridField( label: "", labelPosition: "ABOVE", data: 'recordType!Cases', pageSize: local!selectedPageSize, columns: { a!gridColumn( label: "Case Id", sortField: 'recordType!Cases.fields.caseId', value: a!richTextDisplayField( value: a!richTextItem( text: if( rule!AAA_CMN_IsBlank( fv!row['recordType!Cases.fields
Hello, Am getting this error for the below code that am using to build the task interface.Need your inputs and suggestions. query: a!query( filter: a!queryFilter( field: "c5", operator: "=", loggedInUser(), value: local!statusFilter, applyWhen: not(isnull(local!statusFilter))) ) Thanks.
Hi Team,I am beginner for this and when i am trying to create interface as per given exercise facing below error:Interface Definition: Expression evaluation error at function a!forEach [line 3]: Error in a!forEach() expression during iteration 22: Expression evaluation error at function a!imageField [line 10]: Invalid Content IDPlease find screenshot and expression.Expression Rule a!queryRecordType( recordType: 'recordType!{391041f9-2ab5-47c8-aec1-305635d10c72}Maintenance', fields: { 'recordType!{391041f9-2ab5-47c8-aec1-305635d10c72}Maintenance.relationships.{c63442fb-89ae-4fd3-be56-1b5aadab0874}vehicle', 'recordType!{391041f9-2ab5-47c8-aec1-305635d10c72}Maintenance.relationships.{c63442fb-89ae-4fd3-be56-1b5aadab0874}vehicle.relationships.{85df0a35-5cc8-448b-95fc-ac0791c484b1}category', 'recordType!{391041f9-2ab5-47c8-aec1-305635d10c72}Maintenance.relationships.{c63442fb-89ae-4fd3-be56-1b5aadab0874}vehicle.relationships.{a0b52700-f420-4ded-a70b-9a9f3b824ae0}
Hello everyone We have a requirement where we must group repeated values in a table, that is, as seen in the image, the name of a user appears 3 times, how to make it only appear once /resized-image/__size/320x240/__key/communityserver-components-multipleuploadfilemanager/e7419661_2D00_e8f0_2D00_4b40_2D00_9d0d_2D00_44f18f7d1bd9-92092-complete/pastedimage1672865100983v2.png
Hi Expert, How can we generate the Excel file from a data subset, Earlier we had the smart service "Export CDT to Excel" under the excel tool plugin which seems to be deprecated now. Thanks, Gaurav Singh
Here I have a Plan TypeWithin Plan Type Sum Insured (Min Val and Max Val)Within Sum Insured Year Range (Min Year and Max Year)Within Year Range service center (Agency or Garage)1. I should be able to duplicate whole transaction2. I should be able to add multiple Sum Insured (Min Val and Max Val). 3. When I add this, within Sum Insured I should be able to add multiple Year Range 4. Within Year Range I should be able to add multiple service centers ( 1 Agency and 1 Garage)Now with the current code If I add a Transaction, 2 Transactions are getting addedAfter filling details if I add another transaction, all the values getting disappeared from the 1st transaction If I add Year Range I am getting the following error message (An error occurred while executing a save: Expression evaluation error at function a!map parameter 3 [line 328]: Cannot add incompatible operands of type Null and type Number (Integer).) a!localVariables( local!index: 1, local!planType: {a!map(planType: "", index: l
Here I have a Plan TypeWithin Plan Type Sum Insured (Min Val and Max Val)Within Sum Insured Year Range (Min Year and Max Year)Within Year Range service center (Agency or Garage)1. I should be able to duplicate the whole transaction2. I should be able to add multiple Sum Insured (Min Val and Max Val). 3. When I add this, within Sum Insured I should be able to add multiple Year Range 4. Within the Year Range I should be able to add multiple service centers ( 1 Agency and 1 Garage)Now with the current code If I add a Transaction, 2 Transactions are getting addedAfter filling details if I add another transaction, all the values getting disappeared from the 1st transaction If I add Year Range I am getting the following error message (An error occurred while executing a save: Expression evaluation error at a function a!map parameter 3 [line 328]: Cannot add incompatible operands of type Null and type Number (Integer).) a!localVariables( local!index: 1, local!planType: {a!map(planType: "
Hi All, I have an interface A and inside this interface i have provided a dynamic link so that when user click on the link interface A will be hidden and Interface B will be showing up. Is there any way to display the interface B in new tab rather than flipping the interface? Thanks in advance
i have created a task report and showed in my site navignation menu . I want to show a counter icon near tasks label in the tab ? hows it is possible?
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.