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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

NAV 2013 R2 Web Service CRUD Operations

(0) ShareShare
ReportReport
Posted on by

Hi Dear Community,

I have a problem about Web Services of NAV 2013 R2. I created a Web Service like this.

3223.Ads_3101_z.png 

But if i want to access from .NET side on c# i can see create,read,delete and update methods.

Ads_3101_z.png

I want to limitate some methods like delete and update. How can i do that ? 

Thanks for your help.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Suresh Kulla Profile Picture
    50,243 Super User 2025 Season 2 on at

    If you are using Page Webservices then you cannot do that you need to create a codeunit with your operations and then publish that codeunit as webservice but in this case you need to handled it by passing xml.

    Please refer this

    msdn.microsoft.com/.../dd339004.aspx

  • Verified answer
    Community Member Profile Picture
    on at

    you can make a copy of your page (save it in 50021 for example) and change the properties of page:

    • ModifyAllowed = No
    • DeleteAllowed = No

    CustomerCard.jpg

    Then publish your new page as a web service.

  • Community Member Profile Picture
    on at

    Hello dear Nabil,

    I was sleeping, then i woke up and saw your answer via mail. I straightened up in my bed and became like this

    great_2D00_idea_5B00_1_5D00_.jpg

    thanks for your answer dude 

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans