TM1 process dialog


#1

Is it possible to show the display name set in tm1-ui-process in the process dialog modal rather than the literal TM1 process name?

Jack


#2

Yes. I haven’t done it but I know as a fact that @tganz and @eugene have done this in pages built for C3


#3

Just use a (bootstrap) button for calling modal pop-up window, and inside this modal

put all parameters, subnms, whatever you need, put also a button (for example “submit”) which call the process and use all parameters from modal. Is it what you looking for?

#4

Hi Eugene,

Yes, exactly like that.

When you’ve set this up to call the process, do I need to use $tm1UiProcess in my controller, and if so what is the format that it is expecting?

Jack


#5

@jtuckerman It doesn’t require js coding. Have a look at my example:


#6

Hi @eugene,

You should include the html in the post if you can. Surround the HTML in [CODE] tags.


#7

@tryan ok! anyway a picture looks better :slight_smile:

[CODE]

Modal
Button

×

Title

tm1-ui-dbr, tm1-ui-subnm, tm1-ui-process, ...

...

Close
[/CODE]

#8

Hey Eugene,

Belated thanks for this, i followed this approach paired with using the executeProcess function in the $tm1Ui service and it works really well.

Cheers

Jack