web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Control seller location

(1) ShareShare
ReportReport
Posted on by 110

Hello guys.
I'm trying to find a solution to the problem: I need to control the location of sellers.
Can I do this through Dynamics 365 Mobile Sales?

I'm looking for articles but haven't found anything about it.
Thanks!

I have the same question (0)
  • Suggested answer
    Mohamed GRAIB Profile Picture
    2,504 Moderator on at
    RE: Control seller location

    You can add a field named "Location" under the seller field. Then add a Web ressources (JS) to display the value of location of this seller.

    You can add this field directly in the mobile App of sales via make.powerapps.com > Applications > Select Dynamics 365 movbile and then click on Edit.

    Please mark my answer verified if this is helpful!

  • Shenkx Profile Picture
    110 on at
    RE: Control seller location

    Goodnight. How are you?

    Many thanks for the reply.

    Wouldn't you have JavaScript code with this type of function?

    I don't know how to mess with JavaScript.

    Thanks.

  • Suggested answer
    Mohamed GRAIB Profile Picture
    2,504 Moderator on at
    RE: Control seller location

    function getSellerLocation(executionContext){

        var formContext = executionContext.getFormContext();

        var TablenameObject = formContext.getAttribute("field_name").getValue()??[];

        if(tablenameObject != null)

        {

            formContext.getAttribute("seller_location").setValue(tablename);

        }

     

    }    

    Please mark the answer Yes if that resolve your problem

  • Mohamed GRAIB Profile Picture
    2,504 Moderator on at
    RE: Control seller location

    Please mark the answer verified if this is helpful!

    Thank you

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 159

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 152

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 134 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans