I am having an issue with the doc2form. When I add a macro to a template and complete the alias fields i need, the only thing that appears on the front end page is the form button.
I have tried the same thing with the old AutoForm and it works fine. I moved to doc2form so I could customise the code behind.
Try hitting the page with &umbDebugShowTrace=true querystring then look at the trace see if you are getting any errors, if so then report them in the thread to help debug.
That stacktrace looks fine even though have missing dictionary items it should still work. Could you also paste your template code namely the actual macro call.
Also are you using umbraco v4? Also did you get the doc2form from codeplex?
doc2form not showing fields on front end
Hi,
I am having an issue with the doc2form.
When I add a macro to a template and complete the alias fields i need, the only thing that appears on the front end page is the form button.
I have tried the same thing with the old AutoForm and it works fine. I moved to doc2form so I could customise the code behind.
Any ideas?
Rog
Roger,
Try hitting the page with &umbDebugShowTrace=true querystring then look at the trace see if you are getting any errors, if so then report them in the thread to help debug.
Regards
Ismail
Thanks Ismail, this is my result for the form:
Value cannot be null.
Parameter name: value
at System.Web.Caching.CacheEntry..ctor(String key, Object value, CacheDependency dependency, CacheItemRemovedCallback onRemovedHandler, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, Boolean isPublic)
at System.Web.Caching.CacheInternal.DoInsert(Boolean isPublic, String key, Object value, CacheDependency dependencies, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback, Boolean replace)
at System.Web.Caching.Cache.Add(String key, Object value, CacheDependency dependencies, DateTime absoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback)
at umbraco.cms.businesslogic.cache.Cache.GetCacheItem[TT](String cacheKey, Object syncLock, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, CacheDependency cacheDependency, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem)
at umbraco.cms.businesslogic.language.Language.GetByCultureCode(String CultureCode)
at umbraco.library.GetDictionaryItem(String Key)
Value cannot be null.
Parameter name: value
at System.Web.Caching.CacheEntry..ctor(String key, Object value, CacheDependency dependency, CacheItemRemovedCallback onRemovedHandler, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, Boolean isPublic)
at System.Web.Caching.CacheInternal.DoInsert(Boolean isPublic, String key, Object value, CacheDependency dependencies, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback, Boolean replace)
at System.Web.Caching.Cache.Add(String key, Object value, CacheDependency dependencies, DateTime absoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback)
at umbraco.cms.businesslogic.cache.Cache.GetCacheItem[TT](String cacheKey, Object syncLock, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, CacheDependency cacheDependency, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem)
at umbraco.cms.businesslogic.language.Language.GetByCultureCode(String CultureCode)
at umbraco.library.GetDictionaryItem(String Key)
Value cannot be null.
Parameter name: value
at System.Web.Caching.CacheEntry..ctor(String key, Object value, CacheDependency dependency, CacheItemRemovedCallback onRemovedHandler, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, Boolean isPublic)
at System.Web.Caching.CacheInternal.DoInsert(Boolean isPublic, String key, Object value, CacheDependency dependencies, DateTime utcAbsoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback, Boolean replace)
at System.Web.Caching.Cache.Add(String key, Object value, CacheDependency dependencies, DateTime absoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback)
at umbraco.cms.businesslogic.cache.Cache.GetCacheItem[TT](String cacheKey, Object syncLock, CacheItemPriority priority, CacheItemRemovedCallback refreshAction, CacheDependency cacheDependency, TimeSpan timeout, GetCacheItemDelegate`1 getCacheItem)
at umbraco.cms.businesslogic.language.Language.GetByCultureCode(String CultureCode)
at umbraco.library.GetDictionaryItem(String Key)
Roger,
That stacktrace looks fine even though have missing dictionary items it should still work. Could you also paste your template code namely the actual macro call.
Also are you using umbraco v4? Also did you get the doc2form from codeplex?
Regards
Ismail
I did face same issue a while ago. But it worked once i filled 'All' fields while inserting macro even all fields are not required :)
doc2form.ascx.cs in app_code folder contains code for doc2form.
Regards
Masood
is working on a reply...