Opens different cardpage from listpage for some users

stony
Member Posts: 122
Hallo,
I would like to open for some users from the "Sales Order List" Page ID9305 another card page as the standard card page. Is this even possible?
thanks
stony
I would like to open for some users from the "Sales Order List" Page ID9305 another card page as the standard card page. Is this even possible?
thanks
stony
0
Comments
-
Hi, here is a post about this topic: http://www.mibuso.com/forum/viewtopic.php?f=32&t=49170&hilit=open+different+page0
-
Hi,
If I understand correctly, then this is for different company name. But I need it for the same client. For all users should open the default page (which is stored as CardFormId). For a given user should open my created page.
thanks
stony0 -
Yes it's not the exact same solution but it was a guidance to your solution
the functionality is the same, you just need to change trigger when your special page should be shown!
In the example shown, you just need to enclose this code:IF ISSERVICETIER THEN BEGIN IF NOT Job.GET("No.") THEN BaseVersion.RunHyperlinkRTC(0,3032014,3) ELSE BEGIN JobCard2.SETTABLEVIEW(Rec); JobCard2.SETRECORD(Rec); JobCard2.RUN; END; ERROR(''); END ELSE BEGIN JobCard2.SETTABLEVIEW(Rec); JobCard2.RUNMODAL; JobCard2.GETRECORD(Rec); CurrPage.CLOSE; END;
with your condition, in your example somithing like:If UserSetup."Show Different Page" THEN BEGIN ..... END;
0 -
You can also create an action with shortcutkey=Return, and code under it. In this way you'll trigger the action on doubleclick or "return" keypress.
If usersetup."use different page" then page.run(myfirstpagenumber,rec) else page.run(mysecondpagenumber,rec); //or similar code, depending on your businness need
be aware that you will have to manage the "New" and "delete" button if needed, too (they both open the card page).
second solution: you can make 2 lists with 2 different cardpages, and setup the correct permissions on the lists. the drawback is that you have do support/update both lists, instead of one.0 -
deV.ch wrote:@Belias
Be aware that the Return shortcut key "trick" does not work on all card pages! I posted about this problem some months ago.
oh, found the post:
http://www.mibuso.com/forum/viewtopic.php?f=32&t=51691
actually, i think that if stony does not fall in this peculiar situation, the return shortcut is the easiest way to go.0 -
Many Thanks , now it works.
stony0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions