Get Client Type in AL

TeddyDyn365CEBusiness Central3 years ago6 Views

If you want to know, if a user accessing BC from a device, desktop, or API, you can use the Client Type.

Let’s say for an example, you want to limit user modifying from from tablet or phone, you can use CurrentClientType method.

field(12; "Item No."; Code[50])
{
    Caption = 'Item No.';
    DataClassification = CustomerContent;
    trigger OnValidate()
    begin
      if...

Continue Reading thatnavguy’s Article on their blog

Private Site

This site is currently private. Log in to WordPress.com to request access.

Blog Syndicated with thatnavguy’s Permission

0 Votes: 0 Upvotes, 0 Downvotes (0 Points)

Leave a reply

Join Us
  • X Network2.1K
  • LinkedIn3.8k
  • Bluesky0.5K
Support The Site
Events
February 2025
MTWTFSS
      1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28   
« Jan   Mar »
Follow
Sign In/Sign Up Sidebar Search
Popular Now
Loading

Signing-in 3 seconds...

Signing-up 3 seconds...