I have a custom page schema with two fields a text field and a look up field. Any idea how can I retrieve the Id of the selected record from the lookupedit field? I tried below syntax but it is not working:
I can search for the information on how to do that, but it's terrible obsolete. Please specify why you need that thing. Please consider creating the same functionality on JS. This way you'll find much more documentation and it will be much more comfortable for you to work with it.
Hi Eugene, thanks for your reply. We are using custom page schema because we have a requirement to fully customize a screen and i think it is achievable using custom page schema.
The task that you want to achieve theoretically can be achieved using a business process that is triggered upon adding record to the contacts section and you need to specify "open edit page" element that will open created record. Also on contact's page you need to add a checkbox which should be checked and it should be defined in conditions which fit created record. For example create a checkbox that is called "Created bia webservice" and when creating a record via webservice you need to transfer the parameter "true" for this checkbox so the record is created with checked checkbox and triggers business process execution that will open edit page of this record.
When we open process settings of a business process there is no process description that can be read there (please see screenshots http://prntscr.com/nb41yp, http://prntscr.com/nb4238, http://prntscr.com/nb426p, http://prntscr.com/nb42ar). Also if we take a look at the VwProcessLib table in database (that is responsible for information on business processes in Process library) there is also no process description field.
Unfortunately the value of this field is stored in SysSchema table and there is no way to connect to this table using filtering tool when selecting fields to display in Process Library since the table that stores information on business processes, as I mentioned before, is VwProcessLib. I will create a request to our R&D team so they could make this field accessible from Process Library. Thank you for helping us to make our application better!
You tick off the default value checkbox in the system setting 'Show configuration version' to hide the version number http://prntscr.com/nadvom After that, log out and log in into the system to apply the changes.
You can remove the version number by the means of development. To do so, create a replacing client module for MainHeaderSchema. Override the
_initConfigurationVersion method, so it returns no value, or override the init method, so it won't call _initConfigurationVersion method. As an additional option, you can create a new CSS module to hide version by the means of CSS.
I need to make all fields and details of a page readonly if a certain condition is met. (In this case if a field has a certain value).
Mostly if there is any other way than going each field and adding enabled with a variable, and in each detail check the variable with EntitySchemaQuery.
Unfortunately we are not aware of the origin of the package, you can ask creator of the article in comment section of the article. We are not aware of such marketplace app as well. If you don't want to lock each field separately you can redistribute access rights for the record on a certain conditions taking away edit right for all users. You can do it for example using business process. Please note that in this case you would need to turn on managed by records.
How do you restrict access to a custom process? For example, if I want to ensure that only System Administrators can run a process, is the only way to restrict who can run the process by checking the current user in the process?
Unfortunately, bpm'online has no business process rights functionality.
Your suggestion to check the current user in business process seems to be a nice workaround. I think the most convenient way to implement it in script task.
When I compiled my bpm'online application an error occured (error : Object reference not set to an instance of an object) , what I need to know is the reason of this error, also I want to know if the compilation process has log files somewhere , and how can I access them.
This error does not include any meaningful information that can explain what happened. I recommend you to check the logs (Error file in directory like %windows%temp%bpmonline%) - it should contain details of this error.
We are transferring changes from dev instance to prod instance through 'Export packages to archive' in configuration from dev and 'Installed Applications' on Prod. But we noticed one thing Printables and Email Templates were not transferred. Any idea how we can fix this issue?