Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

how to show / hide a field in a custom workflow

Posted on by 2,397

how to show / hide a field in a custom workflow instead of js

*This post is locked for comments

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: how to show / hide a field in a custom workflow

    Hi,

    In my code, it is results.value[0]["schema_name"];

  • Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: how to show / hide a field in a custom workflow

    The easiest option is to right lick on statuscode field under your watch window and select Add Watch for that property only, it will show you what you should use to get it's value.

  • sdnd2000 Profile Picture
    sdnd2000 2,397 on at
    RE: how to show / hide a field in a custom workflow

    still breaking, should be  results.value[0].["statuscode"] ?

  • Verified answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: how to show / hide a field in a custom workflow

    You can try  result[0].statuscode

  • ashlega Profile Picture
    ashlega 34,475 on at
    RE: how to show / hide a field in a custom workflow

    Looks like you just need to use result[0]["statuscode"]

  • sdnd2000 Profile Picture
    sdnd2000 2,397 on at
    RE: how to show / hide a field in a custom workflow

    I can see the value, but can not get it.

    2018_2D00_02_2D00_02_5F00_1351.png

  • sdnd2000 Profile Picture
    sdnd2000 2,397 on at
    RE: how to show / hide a field in a custom workflow

    it is breaking here,  statuscode = result["statuscode"];

  • sdnd2000 Profile Picture
    sdnd2000 2,397 on at
    RE: how to show / hide a field in a custom workflow

    that is entity name

  • ashlega Profile Picture
    ashlega 34,475 on at
    RE: how to show / hide a field in a custom workflow

    What are you getting when you paste that URL to the browser?

    PS. Maybe those braces should be removed from the URL. Those before the questionmark

  • Suggested answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: how to show / hide a field in a custom workflow

    You can start debugging your code and see if request is formatted correctly or not. What is recoserv_applications() in your request here ?? it's not correct, you should write your entity name there

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans