Plugin not firing when using "Manage Members" on a marketing list in CRM 2013 - plugins

Good afternoon. Thank you in advance for taking the time to read this. Inside of a Dynamics CRM 2013 environment, I have a custom entity which holds 3 data grids. Whenever a record (of contact, account or lead) is added to its respective datagrid, it adds the record to a static marketing list via a custom plugin I wrote. The trouble I'm having is that when I use the "Manage Members" (to add/remove records using the advanced find feature) it's not firing at all. The plugin IS firing correctly when I add/remove items from the custom entity using the "+" and "trash can" buttons. The RemoveMember portion is firing when I use "Remove from Marketing List" button list as well, just not from "Manage Members". I have three steps registered on this plugin, associate on post-op/sync, disassociate on pre-op/sync, and removemember on post-op/sync. The idea is to be able to add or remove records from my custom entity OR the marketing list, and it auto-updates the other.
Does anybody have any suggestions or advice on how to fire a plugin when using the "Manage Members" portion of marketing lists? I've tried all valid combinations of messages and steps that I could think of, and I've written and re-written the code a few times to try to get it to work. Below is a pastebin with my code.
http://pastebin.com/X1n017Nr
Thank you.

I created a second plugin and moved the logic for AddMember into it. I have no idea why, but this solved my problem.

Try this approach, hope this can help you:
Register the plug-in on the 'Update' Message.
Ask for the parentContext.Message AddMember, RemoveMember y AddMembersByFetchXml, the last one maybe is the message you can't find.
Do the logic you need with de message.
This worked for CRM2011.

Related

Bug with and without linked test cases

I want to pin a chart to the Azure DevOps Services dashboard that shows how many bugs in the current sprint have a linked test case or not.
I have been able to put up a query for the same but it appears that such queries can't be charted out. Is there an alternate way?
Here's the error that I get while creating a chart out of my query
Additionally, I would also like to know if there is a way to ensure that when I Resolve/Close a bug workitem in AzDo services, I can check if there is at least one associated test case work item with the bug. I have explored Bug rules but can't find out a clean way to get the link types associated with the work item. How can I achieve this?
Thanks
I have been able to put up a query for the same but it appears that
such queries can't be charted out. Is there an alternate way?
As for the error you got, it's one open issue here in our feedback forum, the product team is considering about it. But there might be some time before the feature comes true. You can track the issue to get notifications if there's any update. Sorry for the inconvenience.
Is there an alternate way?
If you just need a widget to display the results of the query, you can consider using Query Results widget, if supports tree or direct links. But if you do want the pie chart for WITs, I afraid it's not supported for now when using tree or direct links. You can check the related extensions here.
I have explored Bug rules but can't find out a clean way to get the
link types associated with the work item. How can I achieve this?
As I know we don't have such option in Azure Devops Boards.
If we close/delete one workItem, it won't display a prompt or what that tells us the related workItems are still active.
But I think that would be a great idea, so I suggest you can post one feature request here to share your idea to product team. Then we can share the feature request link here and people who interested in that would vote for you! Hope all above make some help :)

categories not showing suite commerce advanced netsuite

We are in the process of setting up our new website with Suite Commerce Advance - this means that we have been moving items around in categories, we seem to have an issue where items are disappearing within the categories (they are still present on the website if you search from them) has anyone else had this problem and how do you solve it?
i hope the problem was already solved, for other folks facing the same.
follow the following step:
Check whether the categories are properly tagged in commerce categories.
Check the display in webstore checkbox to be true.
Inside Webstore tab -> WebSite categories-> Site category = Home.
Then build index and cache invalidation request. Not always
mandatory(but if any thing changes in record level).

restrain VSTS users from seeing other user's tickets

I can't figure out if it possible and how it can be done to allow certain users in a Visual Studio Team Services project to see only the work items they created, instead of them all.
Thanks in advance for all your help.
For now, there is no ways to set permissions for a user to only view work items which were created by oneself.
It's only available to set permission based on Iterations and Areas for now.
But there has an user voice field level security permissions which suggest similar feature, you can vote and follow up.
And the features in below two user voices have already added in our backlog, when the features are archeived, it can also benefit the situation you met:
Hide Work Item Types (WITs) based on permission/security group
Add ability to hide/mask fields in a work item based on security/permissions
This is not supported. It used to be in the on-prem product a long time ago in the "Work item only view", but that has been removed in favour of the Stakeholder view.

Remove Turn Editing on for courses in Moodle/Totara

I have a bunch of custom user groups. I need to change the permissions for one of the user groups so they don't see "Turn editing on" button or link. I figured out a way to do this in a reports section. I can't figure out a way to do this for course section.
I deactivated manage blocks and manage activities and that removed the button on all of the sections except courses. I tried to deactivate update course and a bunch other course related capabilities with no luck. Did not see any sort of manage courses capability.
Any help would be appreciated as I just inherited this site and have had no previous experience with Moodle.
Totara version 2.7
Moodle version 2.2.11
Do you want to this by code or configuration? If you want to do this, simply by configuration, just make a new user group for them "Site administration->User->Permissions->Define Roles", give them the ones you want them to have. Then assign the users in question this role. They should not see the buttons in question.

How can I track metrics on who does code reviews in JIRA?

I'm working on a project that's got a great JIRA setup and awesome buy-in of everyone for the agile development process. The issue I'm having is that tickets stack up in code review. I'd like to be able to see who code reviewed what, much like I can see who has closed out which tickets.
I know that metrics are there to be used for good and not evil, so I want to do this to ensure that people spending time code reviewing are properly credited instead of that time not being recognized at all.
Currently, everyone who does code review assigns themselves to the ticket (which is unassigned upon being placed into the "Ready for Review" workflow state), so at some point there is a record of them working on it. Is this a good way to track the reviewers and is there a way to get aggregate information this after the fact? If not, is there a better way of representing this information in JIRA?
Thanks!
A simple solution would be to add a custom field called 'Code Reviewer' of type select a user. You would be able to search on that and report on it.
You could workflow it so that when the issue is transitioned out of your 'Code Review' status a window pops up containing only the "Code Reviewer' custom field to be completed.
What you need to do:
Create a new custom field - this is done in the 'Issues' configuration menu. Ensure your custom field uses the 'select a user' type.
https://confluence.atlassian.com/display/JIRA/Adding+a+Custom+Field
Create a new Screen - this is also done in the 'Issues configuration menu. On your new screen you need to make sure that the only field that is visible is your new custom field.
https://confluence.atlassian.com/display/JIRA/Defining+a+Screen
Edit your workflow. Find the transition from out of 'Code Review' and associate it with your custom screen.
https://confluence.atlassian.com/display/JIRA/Configuring+Workflow
The result will be that when a user transitions out of 'Code Review' they will have the custom screen pop-up. They can then select the name of the person who did the code review and this will be populated in the custom field.