AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • In-Person Gatherings
    • Power BI Workshop
    • Podcast
    • Rolodex
    • Blog
    • Forums
  • Paid
    • AugSQL
    • GI Course
    • GI Library
    • Consulting
  • Register

— The Forums are now read-only —

— All new activity now takes place here: —

AugForums.com Discord Server
Forums
AUG Forums
Everything Else
Attributes Control ...
 
Notifications
Clear all

Questions Attributes Control Type on Mobile

 
Everything Else
Last Post by sai kiran 6 years ago
4 Posts
3 Users
1 Reactions
3,375 Views
RSS
Jeff Beck
Posts: 21
 Jeff Beck
Topic starter
September 6, 2019 4:19 pm
(@jbeck)
Eminent Member
Joined: 6 years ago

I have added an Attributes Tab within the Appointments Screen in Field Services.

My issue is that when the attributes are displayed, the only control type that works is Text. I have a few Attributes that are Combo and Datetime. How do I get the Mobile app to pull in the correct Control Type? The highlighted blue text blue is where the Value is listed and I am trying to get this work as it does in it's actual Attribute.

My Current Code:

update screen FS300200 {
  update container "AppointmentRecords"{
    add layout "AttributesTab" {
      displayName = "Attributes"
      layout = "DataTab"
      add containerLink "Attributes"
    }
  }
  add container "Attributes" {
    fieldsToShow = 3    
    add field "DisplayName"
    add field "Attribute"
    add field "Value"
    add layout "AttributeLine" {
      displayName = "Attributes"
      layout = "Inline"
      add field "Attributes" {
        selectorDisplayFormat = Key
        listDisplayFormat = CaptionValue
        selector {
          fieldsToShow = 2
          add field "AttributeID" {
            listDisplayFormat = CaptionValue
          }
          add field "Value" {
            listDisplayFormat = CaptionValue
          }
        }
      }
    }
  }
}

 

Desktop:

 

Mobile:


3 Replies
Jeff Beck
Posts: 21
 Jeff Beck
Topic starter
September 9, 2019 4:53 pm
(@jbeck)
Eminent Member
Joined: 6 years ago

I was thinking way too much into this. 

It is much easier than initially thought of.

 

update screen FS300200 {

  update container "AppointmentRecords" {      (this would be the container you want the Attributes to be within. I choose the Summary Area)

     add containerLink "Attributes" {

     }

 }

 

Then after the close of the Container you can place the below, which will pull in the attributes with their respective control types.

 

  add container "Attributes" { 

    attributes = True

    attachments { 

    }

  }

 

I have moved a bunch of things around, but as you can see at the bottom in the Summary Tab, there is a section for Attributes now.

The Attribute with the Combo select is shown

When I click on it, the selection pops up

 

Just some info if anyone was curious. 

 


Reply
 sai kiran
(@sai-kiran)
Joined: 6 years ago

Member
Posts: 1
January 7, 2020 10:22 am
Reply toJeff BeckJeff Beck

@jeff-beck

Hi Jeff,

I have same issue like the one you have faced. I am unable to get the attributes tab in summary area.

can you share code here for reference?

 


Reply
Tim Rodman reacted
Tim Rodman
Posts: 3204
 Tim Rodman
Admin
September 28, 2019 7:36 pm
(@timrodman)
Famed Member
Joined: 11 years ago

Holy cow, this is awesome Jeff. Thanks for sharing!

Just curious, can you do User Defined Fields on Appointments? I noticed that User Defined Fields are supported in the Mobile App in Acumatica 2019 R2.


Reply
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,533 Topics
  • 11 K Posts
  • 53 Online
  • 2,437 Members
Our newest member: Matt Butler
Latest Post: Nested SubReport Issue
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

By using this website, you agree to our Terms of Use (click here)

Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

Copyright © · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×