javascript in FIM
Hi,
Can you be a little bit more specific what you would like to do? In general, all date and time values do have the type [datetime], if in the SQL database. Therefore you should be very careful to change something realted to the dateformat in the creation
form.
You can also check Brad Tuner's posting to get some more knowledge about it: http://www.identitychaos.com/2010/01/fim-2010-contributing-datetime-values.html
Regards,
Moritz
August 9th, 2011 2:40pm
i want to add a javascript to check and compare startDate and endDate (endDate should be greater) but i don't know where i have to add it .
Free Windows Admin Tool Kit Click here and download it now
August 9th, 2011 2:50pm
Actually, I dont know whether this is possible with JavaScript (I never did that at least). I would create a (custom) validation workflow.
Regards,
Moritz
August 9th, 2011 3:01pm
Actually, i create the validation date script and tested it , but the problem is how to integrate it in FIM
Free Windows Admin Tool Kit Click here and download it now
August 9th, 2011 3:06pm
Did you already check this one: http://msdn.microsoft.com/en-us/library/ff859524.aspx
Where did you get stuck?
August 9th, 2011 3:11pm
actually, i didn't
i want to have a warning like for required boxes
Free Windows Admin Tool Kit Click here and download it now
August 9th, 2011 3:18pm
It's kind of tricky to understand what is really your requirement. But if you would like to change the screen please check how to modify the RCDC: http://technet.microsoft.com/en-us/library/ee534918%28WS.10%29.aspx
I guess the combination of both will fullfill your requirements. Change RCDC Add attributes (if they are still not present) and make them mandatory Create a validation workflow to ensure that it fits to your requirements.
Regards, Moritz
August 9th, 2011 3:31pm
i want to modify the validation form script when create person. for example the date has a specific format and there is a javascript check for this
i wand to add another type of check that's all , but i didn't locate the validation form script
Free Windows Admin Tool Kit Click here and download it now
August 9th, 2011 6:57pm
I understand what you are looking to do. It would be nice to have what you described, as well as other things, such as events. Unfortunately you're limited to what FIM supports in their RCDC model.
In the case where you want complete control of the UI, you can always write your own UI (in ASP.net for example) and submit the results via the FIM WS interface. It's more work obviously, but you get complete control of your UI.
FrankFrank C. Drewes III - Consultant: Certified Security Solutions - My blog: http://www.css-security.com/author/fdrewes
August 10th, 2011 7:42am
ok,
so i want to locate the create person form for example to see wich script are called but i didn't locate it, any idea ?
the idea is to locate the date format check script and try to modify it or the script of the form validation.
Free Windows Admin Tool Kit Click here and download it now
August 10th, 2011 8:40am
Hi,
I think the javascript files are probably in the 12-hive since this is a SharePoint portal. (C:\Program Files\Common Files\Microsoft Shared\web server extensions\12).
Modifying files in the 12 hive is not supported though.
I think it would be better to go with one of the supported solutions recommended above.
Frank and Moritz both had good suggestions.
Thanks,
Sami
August 27th, 2011 5:26pm
hello,
i want to locate the javascript code who control the date format in the creation form
thx
Free Windows Admin Tool Kit Click here and download it now
August 28th, 2011 5:46am