Question

I've recently moved a package I'm developing to a new (more updated) environment (7.14.2) and when I try to open the section wizard it locks up.

 

When I check my developer console I see that it triest to access http://localhost/0/rest/SectionService/GetSectionTypes and http://localhost/0/rest/SectionService/GetGeneralAndSspSections but gets a 404 in return.

 

Any idea why this would not be working?

 

Like

7 comments
Best reply

For anyone stumbling upon this later. The Terrasoft.Configuration solution in 7.14 contains extra packages out of the box that I had deleted before setting up git and cloning my own code. This had caused the problem.

I fixed it by copying just the package code into the existing Configuration solution's Pkg folder.

It's hard to say due to lack of information. The correct way of transferring a package between different versions is upgrading the dev application, then transferring the package. The upgrading and the transferring should not throw any exceptions. If they threw, please save installation/upgrade log and restore the application database from backup. 

Hi Eugene,

The package was transferred using git. 

The exception also happens when I open the wizard on any unmodified pages. 

The problem seems to be getting worse though, so I will recreate the environment again.

Is there anything special I am supposed to do to enable the /0/rest endpoint?

Hmmm, something else must be going on. I have set up a completely new environment and I can't even log in anymore. It gives a 404 when trying to locate the AuthService.svc.

Jonas Van der Aa,

Please restore the application from backup and It should work if it worked before. Please use transferring changes via packages (right click on a package -> export package, installed applications -> install from file). This way the system will control the installation. If you use GIT then you have to control everything and resolve all conflicts on your own.

Hello Eugene,

I have tried this, but now the package does not export to the file system so I cannot work on it and submit my changes to git.

I don't have a problem manually resolving the conflicts, if only the software would tell me what they are. The endpoint I mentioned in my original point is an OOB endpoint that suddenly stops working after I import the package from disk (after git clone).

Jonas Van der Aa,

If you work with GIT and in the file system then you have to control everything on your own. The system will not tell where an issue is. 

A version control system such as GIT or SVN can be used only for transferring changes between dev environments that certainly should be on the same version.

If you're transferring the package to a pre-production or to a production application, then please use package import/export functionality without development in the file system.

As for now, please restore the application from the backup that was created when the application worked properly, then disable development in the file system, make sure that it's possible to make changes in the package and compile the system. Then please feel free to enable the development in the file system again. 

For anyone stumbling upon this later. The Terrasoft.Configuration solution in 7.14 contains extra packages out of the box that I had deleted before setting up git and cloning my own code. This had caused the problem.

I fixed it by copying just the package code into the existing Configuration solution's Pkg folder.

Log in or register to comment
Question

Hi all,

          I want to remove old sections which are created by section wizard, because they are obsoleted. If I delete all related object in configuration, system will show error message when compile. Please help, because there are a lot of useless objects in my package.

Thanks

Like

1 comments

Hello,

We strongly don't recommend to delete any sections or objects since they are connected to other system entities and deleting of them can cause errors. Instead of deleting you can hide unnecessary sections, it's described in this article  https://academy.bpmonline.com/documents/administration/7-13/workplaces-setup.

Best regards,

Anastasiia

Log in or register to comment
Question

I'd like to package a section which should be included in global search, but the section wizard seems to not show this checkbox on localhost. 

I checked and saw that there is a column named "Include in search" (GlobalSearchAvailable). Is that enough if I turn this on? Is there any thing else I have to update?

Is there anyway for a BA to turn this on without the help of DB Administrator?

Thanks.

Like

1 comments

Hello! To include section checking "Include in search" will be enough. No other actions needed. 

Best regards,
Angela

Log in or register to comment
Question

Hi,

On Order section there is a OOB lookups field called "Client". On click we can select either Account or Contact because both list are appearing for selection.

By default the field "Client" is a mandatory field. From section wizard > Edit Page, This field is not removing and we cannot make it non-mandatory. I need to avoid this field.

 

Any help will be highly appreciable

 

Regards

Like

2 comments

Dear Muhammad,

There is a part of code in OrderPageV2 in Order package that looks like:

                    "Client": {
                        "caption": {"bindTo": "Resources.Strings.Client"},
                        "dataValueType": this.Terrasoft.DataValueType.LOOKUP,
                        "multiLookupColumns": ["Contact", "Account"],
                        "isRequired": true
                    },

isRequired attribute makes this field required and to make it non-mandatory you need to create a replacing schema and add your logic that will make this field non-mandatory.

Best regards,

Oscar

Hi,

Yes I already found it however thanks

 

Regards

Log in or register to comment
Question

If I have an object, can I create a section with that object? If so, how?

Because I want to be able to create a sections for "Relationships" object of BPM so I can create filter folders on that section object. I need those folders to be be used another section to query and pull the account-contact relationships. 

Thank you in advance

Like

1 comments

Hello, 

If you want to create section for the new object and store Account-Contact relationships in it please follow the steps in the article below: 
https://academy.bpmonline.com/documents/technic-sdk/7-13/creating-new-s…
If by "Relationships object of bpm" you mean ContactCareer object (or other existing object) please see the article below in which you would find an instruction on how to create a section based on the existing object:
https://community.bpmonline.com/node/26247

Best regards, 
Dennis

Log in or register to comment
Question

Hello team!

I'm trying to go to the section wizard in Contact section but it says "specify the value current package"

Like

1 comments

Hello Ryan.

To solve this issue you need to go to Advanced settings and switch to Configuration. On the left hand-side you need to add a package, and clicking on it with the right mouse button select "Edit". You will see dependencies on other packages where you should put all the existing packages.

After that you need to switch to System settings and find the system setting "Current package". Just add your new package in the "Value" field.

Log in or register to comment