I want to add elements such as tables, radiobutton, dropdownlist to a page in bpmp process, but in the page designer I can not find them.

Should these be added with code?

What language is used?

Greetings.

Like 0

Like

4 comments

Edgar,

What does your page designer look like?

Jordan Kincer,

 

 

Jordan Kincer,

Try the first image using the wizard, but when you can not get elements such as a combobox, I started using the creation in Advance Settings

So for Radio Buttons, you can code them in, but I had issues getting more than three options on the page. If you are restricting the seleciton to one option, I might recommend using a lookup field.

As for the table/detail, I can see that your pre-configured page is missing a 'Tabs' section at the bottom which is the only place a detail can be added. 

When you first create a pre-configured page, it prompts you to select a template. If you want it to have Details inside it, one of the 'Tabbed Page' templates need to be selected.

Are you having issues putting a lookup/dropdown on your page as well?

Show all comments

Hi Community,

Any idea how can I open a section in client code?

Like 0

Like

2 comments

You'll use PushHistoryState to navigate to a section in client code. The following will go to the Contacts section: 

this.sandbox.publish("PushHistoryState", {hash: "SectionModuleV2/ContactSectionV2"});

The "hash" parameter is what appears after the ViewModule.aspx# in the url. 

Ryan

Dear Fulgen,

You can achieve such task in two ways. The first one is described by Ryan. This is an elegant and easy way to manipulate navigation.

Other approach is to use window.location.assign method https://webplatform.github.io/docs/apis/location/assign/ using relative or full path to the page. This approach will save browser history.

Regards,

Anastasia

Show all comments

Hi Community,

Any Idea how can i do this, lets say in Current Case Edit Page, I want to know in client code if my previous screen before opening the Case edit Page is whether Case Section or Account Edit Page (referring to case section detail inside account edit page).

Thanks 

 

Like 0

Like

1 comments

See currentState from HistoryState

var state = sandbox.publish("GetHistoryState");

            var currentHash = state.hash;

            var currentState = state.state || {};                                           console.dir(currentState)

Show all comments

Hi Community,

How can I open an Edit Page in client code?

Like 0

Like

4 comments

Something like this

this.openCardInChain({
    schemaName: "UsrMyPage",
    operation: ConfigurationEnums.CardStateV2.EDIT,
    id: theIdToEdit,
    moduleId: this.sandbox.id + "_UsrMyPage"
});

You'll also need to add ConfigurationEnums to the modules list. This means you'll add ConifurationEnums to the module/page you're using this code above from:

define("UsrMyCurrentPageV2", ["ConfigurationEnums"],
	function(ConfigurationEnums) {
 
    //....
 
}

Ryan

Thank you Ryan, this is what i am looking.

Fulgen Ninofranco,

Hi,

 id: theIdToEdit,Here which id we have to mention in the code.

praveen n,

Supply the Id of the record.

Show all comments