Opening Aras Part Search on a new Aras Tab through an HTML page
Hello everyone! I am trying to create a custom HTML page which links to other Aras pages such as the Part Search Grid. My issue is including a script in the HTML page that links to an Item Type. I have been guided towards using the method cui_ivicb_nav_search_click, however I am unsure how to implement this with an HTML page. Could you suggest me some possible solutions for this? Kind regards, WishalSolved0Views0likes2CommentsUsing custom html in ArasModules confirm dialog possible? Cause it works in the alert dialog....
Hi community, I want to use a confirm dialog to get user confirmation before executing a certain function. As the function has strong consequences when executed, I write a lot of text in the confirm dialog to let people know about the affected items and some passive aggressive warnings to ensure people think twice before clicking "ok". But the current confirm dialog only allows us to write plain text and we only have limited options to highlight certain aspects of the text. Does anyone know if there is a way to get custom html into the ArasModules.Dialog.confirm dialog? I mainly want to do some basic text highlighting (bold text and coloring of important content). I made various dialog tests and noticed that standard "alerts" allow us to use html with custom styling inside the text. This is how the similar message would look like in the confirm dialog. Note that is just will show the plain html. Compared to the confirm dialog the alerts doesn´t allow much customization regarding custom buttons and actions. So using an alert doesn´t fit the use case. I have checked the codetree. Confirm and Alert use the similar code basis and styling. Both confirm and alert seem to sanitize the message to prevent the injection of harmful code. But "confirm" seems to be a bit more thorough at this task. Of course I could use a custom dialog as replacement for the OOTB confirm. But I wonder if there is simple way to enhance the standard confirm dialog to support some basic styling? Does anyone know more? Thanks for any hint! Angela0Views0likes1CommentPrefill simple search criteria in the search grid
Hello, For Documents item type, in the search grid I need the "Classification" to be prefilled to "General" . I applied client side method to "classification" and "search_default" properties of Documents but it doesn't work. "search_default" property did not exist before so I just added it, I don't know if that makes a difference. method: return {classification:{filterValue:"General",isFilterFixed:false}};Solved0Views0likes8CommentsHow do open a dialog on a specific position or with some kind of offset?
Hi community, a common task is opening custom dialogs. If we open a custom dialog it´s normally positioned in the middle of the screen. This is fine for 99% of all use cases. But inside my dialog user can open an additional search dialog to search for target items that shall be added to a table in the main dialog. Unfortunately the search dialog overlaps the first dialog pretty hard so users can not see the entries they add. Is it possible to open a dialog at a specific position at the screen? I want to display the dialog in the middle of the screen, but with an offset to give more room to the search dialog. Even more elegant would be, if the first dialog is moved to a better position as soon user open the 2nd search dialog. But I am not sure if this is possible. Does any one has an idea? If you know better variants for these kind of designs, please let me know! Many thanks for any hint! AngelaSolved0Views0likes4CommentsIs it Possible to pass custom parameters from a javascript to Search dialog
I'm attempting to apply a custom filter value to a search dialog in my application. To achieve this, I'm using the 'onSearchdialog' event on a specific property where the filter should be applied. However, I've encountered an issue where the filter value is not accessible within the 'onSearchdialog' method. This filter value needs to be dynamically set based on the selection made in a dropdown within a custom form. How can I pass this dynamic filter value to the 'onSearchdialog' method from an external JavaScript file that opens the search dialog?Solved0Views0likes3CommentsCalling SearchDialog from Server method
Hi, Is it possible to show SearchDialog from a Server method? I can use MaximazableDialog in Javascript to show the SearchDialog and get the response in callback. But I want to use such facility in a Server method. In my particular case, I am trying to send email using a server method. If the Recipent is already entered then it sends the email. But I want to prompt the user to search for another user item when Recipient is not pre-defined. If that is not possible then any alternative suggestions will be appreciated. Kind Regards, Vikas765Views0likes3CommentsHow to add restrictions to aras.vault.selectFile() file picker
Hi community, I currently design a custom form with a button that calls a regular file picker. In my scenario, end users shall only be able to upload certain datatypes, like txt and xml. As the affected users group does not have any edit rights for items, I have to upload the Files to the Vault and link them later to the correct items by a Server Method. As this approach directly throws files into the Vault, I want to ensure that only the right files can go through. What´s the best way to add restrictions to the file picker? var vlt = aras.vault; vlt.selectFile().then( function (fileObject) { if (fileObject.size > 1000 || fileObject.type != "text/xml" ) { return alert("This file can´t be right") } var fileItem = inn.newItem("File","add"); fileItem.setFileName(fileObject); fileItem = fileItem.apply(); var fileId = fileItem.getID(); // do something with the file } ); I have noticed, that the fileObject contains the mime type, file size and other file properties that I can use for a later filtering. It´s even possible to read the hex file signature, which maybe helps to prevent faked files. But I wonder if I can directly pass a filter to the file picker, so users can only select certain file types from the start. This way my lnnovator would not get in touch with invalid fileObjects at all. Thanks for sharing your ideas! AngelaSolved13KViews1like10CommentsProperty validation - Dialog to Confirm Ok or Not
Hello All, I've been struggling with a property validation use-case and I'm sure it's something that'd be useful to lots of folks. Have a working server event that blocks the user from proceeding if a certain property is left blank; however there may be cases when the user wants to proceed anyways with that field blank. As far as I've read, there's no confirmation dialog available via the Server Events, only error ones. So... looked at a Client-side event on the property validation. Good news is I'm able to get this event to fire. The bad news is the field is an "Item" and when an item is selected, it doesn't seem to actually save the reference. I'm doing this on a "Validate" event on the property itself. Has anyone done anything like this or have a suggestion? I don't really care if it's done against the property or a form, just need a way to highlight that something is blank and shouldn't be most of the time! Thanks in advance.2.3KViews0likes10CommentsPrevent Popup on download of File
Hi community, Currently, when downloading a file from an innovator installation, like the viewable file property on CAD, a popup window occurs and the file is downloaded in chrome. Is there a way to get the file to download in the original window?889Views0likes2CommentsCallback not working properly if I dont have debugger in my javascript code
I have added a popup on button click on the mpp_OperationQuickEdit Form which opens form with a single relationship which I have created.It works like the 'Launch AML Editor' action on MCOs.I have added a save changes button which adds or remove relationships based on relationship added or removed.Then a callback function is provided.the relationships are added or removed successfully but the problem is that the callback works fine if I have put debugger in my javascript code otherwise it just closes both the forms the new popup and the quickEdit form.What could be the problem?6.3KViews1like12Comments