Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simphony POS Client Extension Application using OpsContext.RequestCustomDialog Method

Status
Not open for further replies.

JCCR

IS-IT--Management
Mar 20, 2016
71
0
0
CO
Hello everybody

I am trying to use OpsContext.RequestCustomDialog Method but I can not have achieved, please could you share a little example with me? Thanks
 
Post what you have tried so far.

This is the method signature

public Object RequestCustomDialog(
string message,
string title,
string contentName,
Object data
)

Message and Title are optional and can be empty strings.
The contentName is the name of the content in the EMC where you have stored your XAML for the dialog.
The data is the object containing the data you want to display in the dialog. It can be accessed in the XAML using the object named Data.

Personally i dont see many advantages to using this unless you want to use SIM scripts to display dialogs. Create a WPF dialog as normal and display it from your code without the RequestCustomDialog.

Specialist in creating custom applications for the Micros POS range: 3700, 9700, Simphony FE, Simphony. SIM Scripts, Data Exports, Simphony extension applications, API Creation and integration. If you need anything please contact me via my website
 
CathalMF thanks for your answer. I will do it with XAML following your recommendation.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top