Is it possible to delete a replacing schema when you have also created inheriting schemas based on that schema? I've tried this, and it seems to turn the inheriting schemas into being read-only, showing the following message when trying to edit them:
Here is an example set up for this issue:
Create a replacing schema of FileDetailV2 (called FileDetailV2, as it as to be)
Create a schema inheriting from FileDetailV2 (any name)
Delete the replacing schema created in step 1
Once these steps have been performed, it appears the inheriting schema created in step 2 is now read-only for some reason. My expectation would be that, because the OOTB FileDetailV2 still exists, there should be no issue. Does anyone know how to resolve this?
We do not recommend to delete schemas that are set as [Parent object] for some other schemas. It could lead to unexpected system behavior and further errors.
Furthermore, we suggest performing [Compile all items] and [Compile modified items] actions when deleting schemas and packages from the [Configuration] section.
Thanks for your reply. I think the same issue could be reached by doing step 2 first, and then creating a replacing schema of the schema that inherits from, and then realising this wasn't what you wanted so you delete the replacing schema. In this case, you could break things without knowing, since on a larger project you may not be aware of every schema which inherits from another schema.
Is there any way to bypass this warning message, since it doesn't describe the situation (the schema isn't 3rd party and wasn't installed from a file archive)?
It seems that your schema and the package of this schema is locked and as a result you are not able to modify it. We cannot provide you with the script that unlocks the package and the schema, but you can email us at support@creatio.com and provide us with the link to the app, the name of the package and schema and we will unlock it for you.
We were trying to generate a report based on the service section. We created an Excel report to generate the number of cases created for last year along with some other filters. However, when we try to generate the report we are getting the below error. This error pops up only for certain filters and for some filters the report seems to be working. Like if we get the report for month it works while if we try for last one year it pops with an error.
this error relates to configuration or data. Set up all columns from the report in the 'Cases' section, use similar section filters, and try to export data using a basic functionality 'Export to Excel'. Come back with results.
Hello, I am creating a custom section for employees to submit access requests. I created a custom package called ITrequests which I've been building the custom section and all associated objects in. I've somehow run into this error when I try to save the Case, it says "Package sequence contains cycle: "ITrequests-->Custom-->ITrequests". This error is preventing me from saving this case. Can someone point me in the right direction for where to look to resolve this error?
Check the dependencies for your package. Just guessing, but I assume it has something to do with that. Or a package that has your package as a dependency. Possibly a dependency that has your package as a dependency or something along those lines. (so check both the depends on packages and the dependent packages for your ITrequests package)
I thought that too, but Custom depends on all packages, and ITrequests can't depend on Custom, nothing can depend on the Custom package as far as I understand it. I had looked at them and at first glance it looked fine, but I will go through them again and see if I can find a "loop".
Try checking what the dependency tree on the Package Dependencies tab shows for your package, anything weird about how that looks? Custom still shows at the bottom of the tree?
Yes, the tree and the dependencies look as expected to me best I can tell.
The only other thing I can think of is I may have changed the "Current Package" system setting to "Custom" for a brief moment and inadvertently saved a change to one of the objects or pages in my "ITrequests" package before I set the system setting back to ITrequests. I think I'll recompile the system to see if that resolves it.
Can you please check and make sure that package indicated in the system setting with code CustomPackageId is set to "Custom" and not to "ITrequests" or any other?
I'm trying to configure a modal lookup window by following Example 2 in this academy page https://academy.creatio.com/documents/technic-sdk/7-15/creating-detail-selection-lookup and everything works as described, but I cannot figure out how to add a default sort to the modal lookup window - are there some parameters which can be added to the config object passed to the this.openLookup method call?
While on that subject, are there any other potential parameters which can be added to this config object which might be useful for other tasks?
I need to know if the image here http://prntscr.com/ruapy1 is the same I need to upload on System Setting to “Logo - Thank you for your feedback / ImageThanksForRaiting”?
If not, which is the system setting I need to change?
After a customer evaluates the quality of service, they will be redirected to the special “Thank-you” page where the customers can leave additional comments. Both the customer’s grade and comments will be automatically added to the [Feedback] field block on the [Closure and feedback] tab.
A “Thank-you” page
The page displays a corporate logo according to the value of the [Logo - Thank you for your feedback] system setting. Corporate logo setup is covered in a separate article.
Thanks @Bohdan, I know it, but what I need is to change the background image and I need to know wich is the System setting I will to change to do it, this image
http://prntscr.com/ruoyul, I did it on "Logo - Thank you for your feedback" System Setting uploading an image of 1280x900px and what I get is a page with the image, but loose the objects over them, like the message "Your feedback has been..", the edition control to introduce comments and also the "POST COMMENT" button http://prntscr.com/rup3xj, this what I get http://prntscr.com/rup581
What I'm doing wrong?
Also, where can I change the text of the tittle and in the edition box "We are always looking at improving...."?
This system setting is currently not in use it will not change the image as you need. The only way to completely change this page is to apply changes to "CaseRatingFeedbackPage" schema (replace it and modify Background resource).
Hello, I created a new custom package to build a new custom section and business processes in. What package must mine depend on for emailing from a process to work? Right now my package depends on:
Base
CloudEmailService
DesignerTools
Managers
MarketingCampaign
NUI
ProductCore
Right now I've been able to write and save processes, however the process parameters are showing up blank in the email. It works if I write the process in the normal "custom" package, but why might it not work in my new package?
I am trying to select a specific org role from a user using a Custom Query however most examples don't have Joins in them. Can someone assist?
var sql ="select sau.Id as [RoleId] from SysUserInRole suir join SysAdminUnit sau on suir.SysRoleId = sau.id and sau.SysAdminUnitTypeValue = 6 join SysAdminUnit sau2 on suir.SysUserId = sau2.id where sau2.Id = '594c5b24-147d-421f-8083-2431f71e920d'";var query =new CustomQuery(UserConnection, sql);using(var db = UserConnection.EnsureDBConnection()){using(var reader = query.ExecuteReader(db)){while(reader.Read()){var Id = reader.GetString(0);Set("DebugRoleID", RoleId);}}}returntrue;
The query returns the GUID of the Org role of a specific person. The script keeps telling me it can't cast a GUID as a String and I cannot figure out where it is casting a GUID as a string.
Using GetValue works as well, that returns the value as a generic object which gets implicitly coerced to Guid when you set it in the DebugRoleID parameter.