Sitemap

Amicuk Programming Answers

How do I add my Custom Workflow Activity to FIM 2010 R2 SP1 installed on Windows 2012 server?

2015-10-11   Views:3

Advertisement

Hellos. I have tried and failed to add my custom.dll into the Windows Server 2012  GAC. We have a version of FIM 2010 R2 Sp1 running on Windows Server 2008 R2 and that was no problem. There seemed to be a gacutil.exe present on the system which added

Hellos.
I have tried and failed to add my custom.dll into the Windows Server 2012  GAC.
We have a version of FIM 2010 R2 Sp1 running on Windows Server 2008 R2 and that was no problem. There seemed to be a gacutil.exe present on the system which added my assembly.
I cannot find gacutil.exe on the Windows 2012 Server.
I have downloaded and installed Windows SDK for Windows 8. However, when I try the gacutil.exe /i <myCustom.dll> nothing seems to happen.
Are there any guidelines how to add custom workflow activities to FIM when installed on a Windows Server 2012 system?
TIA
*HH

The replay answer
Advertisement
Well yes. It is fine when FIM is hosted on Windows Server 2008 R2.My difficulty is that I am using FIM 2010 R2 Sp1 and Windows Server 2012. No GACutility executable.
However, the problem has been resolved. Powershell can be used to modify the assemblies.
I opened a RunAs Administrator PS session. My assembly is in folder c:\Temp
Using Windows Explorer I browsed the folder c:\windows\assembly and noted the System.EnterpriseServices entries: version (2.0.0.0) and public key token (b03f5f7f11d50a3a)
(My version is 2.0.0.0 because when installing FIM and SharePoint 2013 the instructions I used suggested setting .Net version to be 2.0)
These powershell commands got me going...
PS C:\temp> [System.Reflection.Assembly]::Load("System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
GAC    Version        Location
True   v4.0.30319     C:\Windows\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50...
PS C:\temp> $publish = New-Object System.EnterpriseServices.Internal.Publish
PS C:\temp> $publish.GacInstall("c:\temp\RunPowershellLibrary.dll")
PS C:\temp>
PS C:\temp>
PS C:\temp> iisreset
Amazingly I can see the assembly RunPowershellLibrary in my Windows 2012 GAC. :-)
Also, what is more cheering is that the custom activity actually works with FIM 2010 R2 Sp1.

Go to See the other 3 answers

How do I add my Custom Workflow Activity to FIM 2010 R2 SP1 installed on Windows 2012 server?

Category:DefaultRelease time:2015-10-11Views:130

Hellos. I have tried and failed to add my custom.dll into the Windows Server 2012  GAC. We have a version of FIM 2010 R2 Sp1 running on Windows Server 2008 R2 and that was no problem. There seemed to be a gacutil.exe present on the system which added[More]

Unable to register custom workflow activity on MS CRM 2015 Online

Category:DefaultRelease time:2015-10-11Views:130

Hi All, I am trying to register custom workflow activity using plugin registration tool on MS CRM 2015 Online. Error says that 'No Plugin have been selected from list. Please select atleast one and try again' In short my assembly is not considered as[More]

Highlight an invalid email address in a custom workflow activity in SharePoint Designer 2010

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I have created a custom workflow activity to send an email with the 'From' address being taken as input from the SharePoint Designer when this activity is used in a designer workflow. My requirement is to highlight an invalid email address(from a[More]

Custom Workflow Activity not showing in Plugin Registration

Category:DefaultRelease time:-0001-11-30Views:130

Could anybody suggest what I am doing wrong here? I have created a Custom Workflow Activity using this sample Create a custom workflow activity. But this is not showing up as a plugin/activity type in Plugin Registration Tool. See image below: My sam[More]

How to call an Azure Web API (2.2) - from Dynamics Custom WorkFlow Activity of Plugin c#

Category:DefaultRelease time:-0001-11-30Views:130

Hello, I am specifically trying to call a web api, that has a FromBody. However, I am trying to do it without having to use libraries (or nuget packages) that I cannot install on CRM of CRM Online. It seems JSON newtonsoft is big... or I guess I coul[More]

Custom Workflow Activity & Web.Config

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I'm using a custom activity and I want to read some parameters from config. Any way I read the appSettings I can´t find de keys. I tried diferent ways: System.Web.Configuration.WebConfigurationManager.AppSettings["LogFilePath"];             [More]

Auto-hostep app with custom master page does not allow custom workflows

Category:DefaultRelease time:-0001-11-30Views:130

This has been troubling us all day. We have a sharepoint 2013 auto-hosted app. We wanted to simply change the site logo of the master page but it was easier said than done. Finally we had to create our own custom master page with our own site logo to[More]

Sharepoint 2013 designer workflow custom sendemail activity

Category:DefaultRelease time:2015-10-11Views:130

Does anybody know sharepoint 2013 designer workflow custom sendemail activity. Current OOB sendemail action from designer workflow cancels the entire workflow when sendemail fails. MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint LeadHi Amit, Wh[More]

Custom workflow - How to go from single server to multiple?

Category:DefaultRelease time:2015-10-11Views:130

I have been working on a project that involves developing a custom workflow activity for SharePoint 2013. I am developing it in a single server environment working with http. My problem occurs when deploying to multi-server environment with https (WF[More]

Custom code activity - Could not find type in assembly

Category:DefaultRelease time:-0001-11-30Views:130

I've searched through but cannot find an adequate answer. Im trying to create a code activity for a Sharepoint 2013 workflow. I have created the code activity, the workflow and add the custom code activity to it. As soon as i hit "Build" the cod[More]

Issue with retrieveing the Manager of a System User in a Custom workflow - CRM 2013

Category:DefaultRelease time:2015-10-11Views:130

Issues with custom workflow activity in CRM 2013 On-prem I'm trying to pass the Manager of the System here is the code that I'm running, it gets to setting the MANAGER and stops I put the ran the FetchXML seperatly and it does return a value so I kno[More]

Hot
I have developed A custom WebDAV delivery manager and need to call it when the using the bursting engine. Is there a sample that can show me where to palce the information. I have logged a tar but they asked me to post here to see about getting an ex [More]
Not sure what I'm missing here. Basically I had a project full of photos imported from a camera, and also some others added from photostream from my iPhone. I have now added the photostream in iyts entirity, thinking I would be able to order the phot [More]
I don't remember my answers to security questions! What should I do? And there's no link to reset them.Read and follow: If you forgot the answers to your Apple ID security questions If that does not help and you need to contact Apple, do that by star [More]
Purpose 11i AP.K level 에서 특정 supplier 에 대해 invoice 생성 시 default back account 가 잘 못 지정 되는 issue 에 대해 solution을 제안 한다. Symptoms Supplier Site 에서 bank account 를 2개 이상 생성한 후 그 중 하나에 대해 primary bank 로 지정 한다. 해당 supplier 에 대해 invoice 생성 시 default bank acco [More]
Hi, I am trying to create a Dsicoverer report in OBIEE. The report is Vendor Bank Account information. I am unable to find any bank account information in the subject areas that came in the vanilla rpd. Is there any subject area that would fit my nee [More]
To find the age & group  amount in detail table based on  age & group_id in header ? Example: Let's take the seq_id =1 from header,it has age= 60 & group_id=23 (23 Months). In the detail table xx_detail,the age column represents the age of the [More]
I am using OHJ 4.2.7 version. In my application under the Contents tab, I would like to display the topic when a user clicks(Single click) on a particular TOC item. Currently the topic is getting displayed only if the user double clicks on an item. a [More]
Hi, I am developing BDC for Fb50/fb60/fb70. In online mode all of them are working well. But, when I am using batch mode, fb50 is not taking the values after first screen(i.e. it takes only first 7 lines). It places the subsequent values in the same [More]
How does one define a range of IP addresses in the /etc/hosts.allow?  Pasted from the ssh wiki article # let everyone connect to you sshd: ALL # OR you can restrict it to a certain ip sshd: 192.168.0.1 # OR restrict for an IP range sshd: 10.0.0.0/255 [More]
Hello, Does anyone know of a way (either standard functionality or not) we can search for accounts based on relationship category, including the BP the relationship is with?  The standard account search only allows you to search for accounts that, fo [More]