Permissions Asp.net

Posted by: fabioand2k-dd on 3 August 2017, 4:00 pm EST

  • Posted 3 August 2017, 4:00 pm EST

    Hi,



    i try this (to disable context menu)



    Dim actions As UiAction = UiAction.MemberMenu Or UiAction.FieldMenu

    PivotView1.Permissions.DisallowActions(actions)





    but nothing happens in asp.net, is this wrong ?



    thanks
  • Replied 3 August 2017, 4:00 pm EST

    fabioand2k,

    I tested this issue at my end and it looks setting the permissions for the ASP.NET pivotview is not working. I have reported this issue to the development team and the tracking number is Case 159221. I have also added your E-Mail address as an affected user to this case and you will be notified once this case will be resolved.

    Regards,
    Sankalp
  • Replied 3 August 2017, 4:00 pm EST

    fabioand2k,

    I would like to tell you that the development team has found that setting the permissions for the ASP.NET pivotview works fine and therefore Case 159221 has been closed as "Not Reproducible". For example you can try the following code to disable the Drill Down and it will work fine.

        Protected Sub PivotView1_Load(sender As Object, e As EventArgs) Handles PivotView1.Load
            Dim actions As UiAction = UiAction.DrillDownMember
            PivotView1.Permissions.DisallowActions(actions)
        End Sub

    You can drop any hierarchical field on the row shelf and any measure on the data shelf. Next when you right click on the hierarchical field on the pivot view you will notice that the drill down option is disabled. Similarly other UI actions also work fine for web.

    Regards,
    Sankalp
  • Replied 3 August 2017, 4:00 pm EST

    Hi my friend,



    for this (DrillDownMember) works fine,



    but if you try if this permissions



    Dim actions As UiAction = UiAction.MemberMenu Or UiAction.FieldMenu



    the contextmenu still enable. (if i understood this uiactions disable the contextmenu for the member and fields





    thanks

  • Replied 3 August 2017, 4:00 pm EST

    fabioand2k,

    I have tested this issue at my end and setting the permissions work fine for me. For example when you disallow UiAction.MemberMenu then no context menu appears when right clicking on the field members on the pivotview. I have attached a screenshot to show what exactly is disabled when you disallow UiAction.MemberMenu.

    Regards,
    Sankalp


Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels