-
Recently active
Hi, I have the following case: - interface that is built with one large main boxLayout which has 5 boxLayouts inside it and 1 buttonLayout (sectionLayouts and formLayouts are not option AFAIK because this interface must be child interface) - there are some casual "required property" validations and some with more complex calculations - "required" validations are present in all 5inner boxLayouts and this complex one is present in the last boxLayout (last boxLayout contains a gridLayout and these validations are regarding SUM of values in grid rows and chronological order of the dates in the grid rows) - I need to perform these validations ONLY on a click of a button in the last part of the initial boxLayout - this button is NON submit and it saves values to 4 rule input CDTs and finally starts a process with a!startProcess - this interface is child interface of the existing parent interface (it is embedded inside one of its columnLayouts) a!boxLayout(
Hi All, I have a Paragraph field in the grid, which i have limited to 500 char, but i want to show the count of characters below the paragraph, for that am using Instructions,still with no luck, Can anyone please help me on this, a!paragraphField( value: fv!item.comments, saveInto: fv!item.comments, height: "SHORT", instructions: "Number of characters " & len(fv!item.comments) & "/500", refreshAfter: "KEYPRESS", disabled: if( local!accessoftheGroups = cons!CMP_GROUP_ACCESS_VALUES[2], true, false ), validations: if( len(fv!item.comments)
Hi, I would like to show date range (Mon to Fri by default and I have created rule for this) so I have a requirement to show date range in dropdown field. Thus user will select particular date range and data will modify according to date from Monday to Friday. Is there any best approach to do that ? Will appreciate your help. Below are the images for ref. in first image user has selected date range 5/3/21 - 5/9/21 (Mon To Fri) and it's filtering data by date in 2nd image
My dropdown field is this: a!dropdownField( label: "Appliance Id", labelPosition: "JUSTIFIED", placeholder: "Select the appliance", choiceLabels: rule!LN_Concatenate_Appliance_Customer_Details(local!userId), choiceValues: rule!LN_Fetch_Appliance_Based_Customer_Id(local!userId).data.applianceId.applianceId, value: if(isnull(local!applianceId), null, local!applianceId), saveInto: {local!applianceId, ri!Servicing.applianceId.applianceId}, showWhen: ri!isCustomerCare ), I want the selected Choice Label to be saved in a rule input variable. How can I do that? The choice values is basically the id, but I need it, so I cannot replace it with the same expression rule as choiceLabel. Thanks in advance!!
if i try to open a record from a site,there is popup coming like "Are you sure want to leave" how can i remove this popup
Hi Experts, I have a requirement where I need to configure gridLayout in such a way that I can add rows maximum to number of data I have in a local variable, i.e if value in localVariable is {"ABC","DEF","GHI","JKL"} the only 4 row can be added at max. Grid needs to have 2 columns where first column will display the value in a dropdown field, the value once selected in the row should not appear in the next row, i.e if value stored in localVariable is: {"ABC","DEF","GHI","JKL"}, we should be able to select any of the four value in the dropdown of the first row, in next row we should only be able to select from the remaining three options and so on On the same time the second column will display the data in dropdown, value being dependent on the value selected in first column of the same row. Need your suggestion on the above configuration.
I have created an expression rule, which retrieves all colors based on a "lot number". The rule works fine. But when I try to use the result on choiceLabels and choiceValues, it gives the error "The choiceLabels and choiceValues arrays must be the same length, but choiceLabels was length 2 and choiceValues was length 1". Both the choicelabel and choicevalue have been passed on the same rule. My database currently has 2 colors for lot number 1. May I know what did I do wrong? Code of choice label and choice value: choiceLabels: rule!LN_Fetch_colors(local!lotId).data.colorsAvailable, choiceValues: rule!LN_Fetch_colors(local!lotId).data.colorsAvailable, This is the output of the rule: This is my entry in database:
Hi all, We have a site based app where we display all pages with full width. However, when a user receives a notification about a new task and clicks on the link, the task is loaded on an appian site page with the standard width, not with full width. Can I set the width of a form to be displayed in full width when we load it from an email notification link? Thanks a lot!
when i use normal database using through expression rule it will be show in multiple card's when i use web integration so it will showing all information in only one card layout , how can i spilt this information into multiple card layout's
Hi, I am trying one interface where I can upload a Photo and want to view the same in a Box(Preview). Could someone please me here please? Thanks Faisal
When adding a new custom data type as a rule input to interface, Appian does not recognize its entries: Where my yellow circle is, I expect a "plus" symbol, and instead of the last "null" I should see something like [processStepId=,processStepName=,...] but I don't. What do I overlook? Here the configuration of the first and last rule inputs, respectively:
Hi All I have a requirement to create dynamic tabs based on certain conditions. I tried below code but is not working. The foreach in choose section is not returning the list. { a!localVariables( local!selectedTab: 1, local!names: {"1", "2", "3"}, { a!buttonArrayLayout( buttons: { a!forEach( items: local!names, expression: a!localVariables( local!modified, a!buttonWidget( label: "Tab1 "&fv!item, saveInto: {a!save(local!selectedTab, fv!item)}, size: "SMALL", style: if(local!selectedTab = fv!item, "PRIMARY", "LINK") ), ) ) } ), { choose( local!selectedTab, a!forEach( items:local!names, expression: a!localVariables(a!forEach( items: {1}, expression:{ a!textField( label:"Enter data", ), }, ) ) ), ) } } )}
I want to have a field that display user list when @ is typed and normal text in single user input field. Is there a component to accomplish this already?
Hi All I am trying to update one document with the details of another. I have a interface that populates with a document (record A) and a dropdown with a list of documents filtered on the company of Record A. This stores the doucmentID of the document to update Record A with in a rule input. Ive tried building an sub-interface with the same fields and dropping that to the right to show the details of the record to update from but couldn't drop that into the form (not sure if you can use other interfaces within a form?) I was using the following within a column: rule!DMR_V2_documentTypeDetails_Sub( rule!DMR_V2_DocumentType_MasterByID(ri!documentID)) Got the following: So for now Ive just dropped some text fields and are populating these using a expression rule that grabs the field based on the documentId - however - although it displays the info, its not storing it into the CDT (the display value is using the expression rule, the save into is pointing to the CDT ne
I want my interface to show the currently logged in users for application in the text field. Can someone please help in getting the solution for this ?
Assume I have a form which saves many parameters into a rule input myDataDict of a custom data type with different entries, let's say myDataDict.name (required field) and myDataDict.common is directly visible on my interface. However, in addition to the visible things, I want to automatically populate myDataDict.timestamp with the date-time when the submit-button is pressed. How do I do that in the most standard way? Where do I have to place my a!save()-call? Inside my a!buttonWidget() ?
I am trying to populate the values of a pull-down menu from a database. For this purpose, I defined cons!GENERIC_TASKS which points to corresponding database entity. I also have the following expression rule which reads all necessary data from the respective entity: a!queryEntity( entity: cons!GENERIC_TASKS, query: a!query( selection: a!querySelection( columns: { a!queryColumn( field: "genericTaskName" ) } ), pagingInfo: a!pagingInfo( startIndex: 1, batchSize: -1 ) ), fetchTotalCount: false) The test result of this rule looks promising since it contains all required data, the labels and the values. In my user interface, I am no
Hi, richTextItem not reevaluate once surveyDoc variable changes, can anyone help me a!richTextDisplayField( label: "", labelPosition: "COLLAPSED", value: { a!richTextItem( text: {index(local!languageData,"survey",{})}, style: "STRONG" ), " : ", if(count(local!surveyDoc)>0, a!forEach( items: local!surveyDoc, expression: { a!richTextItem( text:document(tointeger(fv!item.appianDocumentId),"name")& char(13), link: if(rule!APN_isBlank(fv!item), null, if(rule!TCA_isFileTypeSupportedInDocumentViewer(fileType:document(tointeger(fv!item.appianDocumentId),"extension")), a!startProcessLink( processModel: cons!TCA_PM_DOCUMENT_VIEWER, processParameters: { documentId: fv!item.documentId, appiandocid:fv!item.appianDocumentId } ) , a!documentDownloadLink( label: document(tointeger(fv!item.appianDocumentId),"name"), document: fv!item.appianDocumentId ) )) ) } ),a!richTextItem( text:"Not Available&qu
I want to dispaly a confirmationMessage : "For more information please click here" for the button. a!safeLink: ( label: "click here", Url: "Www.google.com") Please help me to get this .
I am looking for sample implementation on how to bring up an already existing interface or a form (which is a collection of interfaces) in the interface view itself. I see some questions around redirecting to process model but in this case, I am only concerned about opening in the interface for the user. Thanks
Is it possible to have a data subset populate as a table in a Word Document (template) without using a plugin, but by using the OOTO Word Doc from Template smart service? If so, how do you configure that in the template?
Hi, I have an interface with a selection grid in which multiple rows can be selected, these selected rows are saved into a ri of the CDT type. I have the requirement of capturing and storing all the unselected rows (the rows which were not selected) into a ri. Any ways to do this? TIA!!
I need to create a drop down button in the text box field. How to do that plz suggest me. Thanks in advance
i everyone , i am pratik and i am trying to build one form where user can search the candidate from dropdown which is comes throw database using query rule. and on selection of that choice i want to display the all information of that perticular person in read only component . and after that i want to add some more component in interface and store that into other table . but when i refresh my page that time i get the below errors. Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error at function a!integerField [line 42]: Invalid index (-2147483647) for list: valid range is 1..3 load( local!availableCandidates:rule!dms_query_demo(), local!selectedCandidate, local!selectedIndex, local!selectedTitle, a!formLayout( label: "Document Uploading page", contents: { a!columnsLayout( columns: { a!columnLayout( contents: { a!dropdownField( label: "Class",
The Business wants to implement a functionality where, a User Tag can be added to a note [paragraph field] to a new/existing record. What is the best way to achieve this without having to perform a lot of post-processing in the system.Example: [Text] @UserName1 [Some More Text] @UserName2 [Additional Text] Should trigger emails to the mentioned users about the note added.Current Suggested Solution: have a user picker where user can tag users and below the user can add the notes in paragraph field. Which most likely be rejected due to extra clicks, and it might also cause some ambiguity otherwise requiring tagged users to be mentioned again in the added note itself.
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.