Custom property/functionality not stored when I publish to a Public Folder

Status
Not open for further replies.
Hello and good evening!




On my form I have one checkbox ("CheckBox5") with value "Setup Required" in a yes/no format. I then have a frame ("setupNEEDS1") with other checkboxes and textboxes inside. The frame "setupNEEDS1" starts invisible, and with the code below it becomes visible upon clicking "CheckBox5", and invisible again if I click the checkbox again. The code works when I am designing and testing, but it does not work on the published form in a calendar for meetings.




I've chosen to use the CustomPropertyChange event because I've read (i.e. this link) that by using that function, any changes that I make should save when I use the form to schedule meetings.






My code looks like this, and while I design and test the form, it works perfectly:






Sub Item_CustomPropertyChange(ByVal myPropName)
Select Case myPropName
Case "Setup Required"
Set myPages = Item.GetInspector.ModifiedFormPages
Set myCtrl1 = myPages("Form").Controls("setupNEEDS1")


set myBox = myPages("Form").Controls("CheckBox5")
If Item.UserProperties("Setup Required").Value Then


myCtrl1.Visible = True
Else


myCtrl1.Visible = False



End If
Case Else
End Select


End Sub








While designing the form in Outlook Developer mode, the code works exactly as I want it to. My problem is that when I publish the form to my Public Calendar, the visible/invisible functionality does not work, while everything else works. This is my first attempt working with custom properties, so I imagine that could be the case.




But then I still don't know why it's not arriving at the published end.




Can anyone see where I'm going wrong? Thank you so much!!!






P.S. I've got to thank the anonymous author of this page for the source of the code.
 
Some feature but don't work when published... oh, i bet the script is disabled as a security "feature". do you have unsigned macros enabled? Not sure if that is the solution... you might need to do something else. Does it work if you publish it to a local folder? Oh, do you have script enabled for the pf?




Anyway, we recommend dev questions in either the msdn forums at http://social.msdn.microsoft.com/Forums/office/en-US/home?forum=outlookdev or in outlookcode.com's forum. We only answer the simple stuff. :)
 
Diane,




This is a little late coming, but I have found out just this morning that yes, my form including all the code works just fine when published to a local folder for my personal calendar, but it still does not work when published to a public folder using Outlook 2010 and Exchange Server 2008.




Any ideas what this points to?






Thank you for your help :)
 
That was it! Thank you so much Diane! My goodness, I don't think I could thank you enough! You have no idea what sort of headache that was for me! Now I've just got to somehow change that setting company-wide...
 
it should be a registry setting that you can push out using logon scripts or group policy. if itss not in the group policy editor, get a app called "regshot" to look for registry changes.


http://sourceforge.net/projects/regshot/
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
W Using a PropertyAccessor custom datetime property in Views Outlook VBA and Custom Forms 3
sjbtax Update Task Custom Field based upon Task Overdue Status Outlook VBA and Custom Forms 8
boblewis Technical Issue with Custom Form - Save to Drafts Not Syncing Outlook VBA and Custom Forms 1
G Apply Custom Contacts form to all existing Contacts Outlook VBA and Custom Forms 1
G Add Map It button to Custom Contacts Form in Outlook Outlook VBA and Custom Forms 1
G Outlook 2021 Add Picture to Custom Contact Form Outlook VBA and Custom Forms 2
X Custom icon (not from Office 365) for a macro in Outlook Outlook VBA and Custom Forms 1
P Can't add custom field to custom Outlook form, it always adds to the Folder instead Outlook VBA and Custom Forms 2
AndyZ Contact Custom Form Tiny Text Outlook VBA and Custom Forms 3
A How to reduce size of custom contact form? Outlook VBA and Custom Forms 3
S Custom Contact card - need help creating one Outlook VBA and Custom Forms 1
S Outlook 2019 Custom outlook Add-in using Visual Studio Outlook VBA and Custom Forms 0
S Adding Custom Forms Outlook VBA and Custom Forms 4
Witzker How to get the button Karte ( map) in custom contact form Outlook VBA and Custom Forms 2
B Outlook 2019 Custom Email form - Edit default email form Outlook VBA and Custom Forms 6
D Outlook 365 Custom forms field limit? Outlook VBA and Custom Forms 4
J PSA: How to create custom keyboard shortcut for "Paste Unformatted Text" in Outlook on Windows Outlook VBA and Custom Forms 1
M copy field value to custom field Outlook VBA and Custom Forms 0
J Does the .fdm contain my custom form? How to make ol use it? - ol2007 Outlook VBA and Custom Forms 4
J ol2021 custom form not displaying pics Outlook VBA and Custom Forms 37
N "Perform a Custom Action" Outlook VBA and Custom Forms 0
cbufacchi Outlook 365 Populate custom Outlook Appoint form Outlook VBA and Custom Forms 2
C Create Meeting With Custom Form Outlook VBA and Custom Forms 2
FryW Need help modifying a VBA script for in coming emails to auto set custom reminder time Outlook VBA and Custom Forms 0
J custom form not displaying pictures Outlook VBA and Custom Forms 7
I Button PDF in Outlook Contact custom form Outlook VBA and Custom Forms 1
K Font Sizing in Custom Form Regions for Contacts Outlook VBA and Custom Forms 1
V Update new custom field Outlook VBA and Custom Forms 5
D Anyone tell me where custom view settings are stored? Outlook VBA and Custom Forms 9
S Outlook 2016 Arrange tasks by date, additional custom sorting, but still use friendly terms like Today, Tomorrow, This week? Using Outlook 1
K can't get custom form to update multiple contacts using VBA Outlook VBA and Custom Forms 3
H Custom Outlook Contact Form VBA Outlook VBA and Custom Forms 1
S Custom Field Cannot Be Displayed In Views Outlook VBA and Custom Forms 2
D Custom Search Folders not refreshing/updating automatically Using Outlook 0
F Validation on custom task form after task acceptance Outlook VBA and Custom Forms 1
K UDF with formula not showing on Calendar custom view. Outlook VBA and Custom Forms 0
S Create a clickable custom column field Outlook VBA and Custom Forms 0
I Error saving screenshots in a custom form in outlook 2016, outlook 365 - ok in outlook 2013, outlook 2010 Outlook VBA and Custom Forms 5
M VbScript for Command Button on Contacts Custom Form Using Outlook 1
G Other users can't see P.2 with custom fields in Form Outlook VBA and Custom Forms 0
O Create a custom contact form - questions before messing things up... Outlook VBA and Custom Forms 4
S Reference Custom Fields with VBA Outlook VBA and Custom Forms 2
L Custom Form Tutoral? Outlook VBA and Custom Forms 6
D Lost Access to Custom Form Outlook VBA and Custom Forms 4
M vCard does not have user-defined fields from my custom contact form (365) Using Outlook 1
S Outlook Custom Form Scripting only working when clicking on "Run this form" Outlook VBA and Custom Forms 2
A Custom VBA to sort emails into folders Outlook VBA and Custom Forms 0
Victor_50 Outlook 2013 Custom Contact Form starts with "E-mail 2" Outlook VBA and Custom Forms 2
C Custom Form (seperate layout pages and message reading pane) Outlook VBA and Custom Forms 0
C Reading Pane for Custom Form Outlook VBA and Custom Forms 2

Similar threads

Back
Top