Hello,
I want to change the tab title on the end user module to be a value from the core widget module
like here I want when I press details button, I want to change the title of the details screen (from externalNewsDetails to first title) based on the selected news.
Thanks.
E
I couldn't publish the modules in my environment due to intellectual property error, but I know what you can do to implement this, I'll send print screens.
In the CW module, create a OnAfterFetch action in the main aggregate:
Create an event with an input parameter and use this event in the OnAfterFetch action sending the NewsTitle:
Then you just need to create a handler in the UI module to this event, get this NewsTitle value and assing to a variable. This variable can be used in the screen property "Title"
I hope this helps you!
You can change "Title" value in the screen properties. You can also use variables on it:
This is how it looks in the browser:
Best regards,
Miguel
Hello Miguel,
The value I want it to be the title is in another module.
basically it's the same value of the title of the news which I want to see its details.
You want to use this value?
If yes, then you can just copy and paste the variable being used in this expression (first title) to that property.
Yes I want to use that value but it's already in another module (I applied Architecture canvas) so this value is in the core widget not in the end user.
Got it, can you share your .oml file?
It's more than 4 MB so I'll share in 2 comments, sorry for that.
this is the end user.
And this is the core widget.
Hi
Sorry, I don't understand your question.
Because in your detail webblock you can got the title from aggerate Why do you need to pass the tile?
Regards,
Hi Tom,
To use it as title for my screen.