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
Hi, I found out that the module retrieval methods in my Jsp application sometimes fail with a NumberFormatException. I tracked the issue to the HttpSessionCookieHelperImpl class: it seems that it sometimes retrieves URLEncoded values (not found out w [More]
I use Indesign CS 4 to make a quarterly journal and never had any trouble with the 'making books' function. However, now it no longer automatically updates the page numbers when I add documents, so I have to do it manually. Is it possible this functi [More]
Hi, every dear Prof. here. We have just finished a simulation by Java. Recently, we want to have some projects on Packet/Palm OS. Even I am new one in this field I am sure I could get better and better if we have Java. We have WindowsCE(2.0, 3.0, 4.0 [More]
Hi All, Kindly help me out with the below scenario Scenario: 1) I have to "CHEKIN" a file into DMS system using XI from file system, here DOC info is already present in the DMS system.Now only CHECKIN of file has to happen in correspond to parti [More]
Hi ,  I have a datalist with a selectedcommand , but i want to change it at runtime ( i have a dropdownlist and want to search based upon the values of dropdownlist) , I used this in button click event: if (DropDownList1.Text=="blabla")         [More]
Hi, I am trying to configure Essbase 9.3.1in windows environment woth oracle 10g. DBA has created two users 1) HYPSS 2) HYPEAS with DBA privileges, in DATA1-Table space, INDX1-indx space no problem with previleges. i am able to configure foundation s [More]
Hi GURU's I'm working on SAP ECC6.0. I'm facing problem of cost element assignment to sourse structure at the time of Settlement of Process Order but when I settle it on SAP 4.7 it get settle without any error. can anybody tell the reason behind of t [More]
How do I set the location of a JOptionpane relative to the parentComponent. Everytime I code a JOptionpane the default location is always the center of the Container. How can I adjust or set the location of were the JOptionpane is shown in the Contai [More]
Hi Can anyone help me, how to find the list of users who has privileges to change/edit the RMAN script in OEM? ThanksHi, I believe its required DBA privileges as well as OS level login credential to edit the job, you can Query from dba_role_privs whi [More]
Dear All, We are using BAPI_PRODORDCONF_CREATE_HDR for Production Confirmation.To meet the requirement of posting of associated goods movement with confirmation like backflusing/Auto GR should take place as standard,relevant settings are done. In Pos [More]