Rich Forms 3.1.0.0 - Display Form not working
AnsweredHi,
I have recently upgraded from 3.0.2.0 to 3.1.0.0 and have noticed a couple of things that are now not working. The most important issue is that I have a form for a list and also on the form I have a sublist. I am able to successfully use the newform and editform but when I lick on the dispform, it shos the name of the list but not the form. This has happened on one form but another form works fine.
Steps were:
No changes at all were made to the form.
I clicked on View Item.
Empty page is displayed.
The other issue relates to some function code that I have where I test a value on the main list and then change the column name on the sub-list column dependent on the value.
var val = [[Currency_x0020_Code]] == 'AUD' ? 'GST Inclusive Amount':'Amount';
jQuery('.ard-sublist-webpart[ard-webpart-id="21d1e8ab-bd6f-494d-8122-bc2f74a14d0a"] .ms-listviewtable.ms-listviewgrid>tbody>tr.ms-viewheadertr>th:nth-child(9)').find('div[colid="coreContent"]:first').text(val);
return [[Currency_x0020_Code]];
Any help you can provide would be appreciated.
Thanks
Sandy
-
Good afternoon,
Dear Sandra Huntley
Thank you for contact skybow Team.
Regarding your first question, we are investigating. As soon as we have this information we will inform you.
About the second question, we would like to have more details, can you please describe where you use this code, what forms and what common logic? And where you use this forms?
Thank you very much for your understanding
Best Regards
Rosario Matos
0 -
Good morning,
Dear Sandra Huntley,
As previously mentioned and about the first question, such issue is possible when form has taxonomy field on it.
Workaround:
1. Open FormsStoreLibrary and find/douwnload ArdeviaRichFormsLoader.js
2. Put this code at the end of script:;if(!window.ArdeviaLoadFilesReplaced){
var oldLoadFiles = Ardevia.RichFormsLoader.prototype.LoadFiles;
Ardevia.RichFormsLoader.prototype.LoadFiles = function (a, callback) {
oldLoadFiles.call(this,a, function (){
if(Ardevia.RichForms.FormDisplay){
var oldEval = Ardevia.RichForms.FormDisplay.prototype.EvalExpressionsFirstTime;
Ardevia.RichForms.FormDisplay.prototype.EvalExpressionsFirstTime = function(){
this.taxonomyValuesInvoked = true;
oldEval.call(this);
}
}
callback();
}
)};
window.ArdeviaLoadFilesReplaced = true;
}3. Save it and replace this script in FormsStoreLibrary
Tell us if it works?
Thank you
Best Regards
Rosario Matos
0 -
Hi Rosario,
The following code is used on a sub-list column when I go to format a currency column, the user enters in a value ie 111.22 and I reformat it to $111.22 in a calculated expression as follows:
var transAmt = ([[@SubListCurrentRow.Petty_Cash_Voucher_Details.GST_x0020_Inclusive_x0020_Amount]]*1).toFixed(2);
if (transAmt>0) { var currencyInc = "$" + transAmt;return currencyInc; }All the column does is flicker and not reformat.
Any help you can offer would be appreciated.
Thanks
Sandy
0 -
Stumbled over the same problem - where on a sharepoint on premis installation would I find the ardeviaRichFormsLoader.js?
0 -
Hy Raoul
You can find the js file in /FormsStoreLibrary/Scripts/.
Best Regards
Andreas Meier
0 -
Sorry, I am very likely still in the wrong place – with a pretty powerful account I am looking at my directories in the site collection as well as in the site – still can’t see it.
Raoul
0 -
Hy Raoul
/FormsStoreLibrary is a hidden library, you will not find it somewhere on the UI of SharePoint.
Navigate to your site where RichForms is installed and then enter in the url /FormsStoreLibrary/
e.g.
https://my.sharepoint.com/sites/mysite/FormsStoreLibraryThis should navigate you to the library where you see the script folder.
Kind Regards
Andreas
0 -
Good morning Sandra Huntley,
Regarding the above question, was this issue overcome?
Thank you
Have a nice day.
Rosario Matos
0 -
Hi Rosario,
Yes this issue is now sorted, I was just waiting until the invalid license issue was resolved before confirming to you.
Thanks for all your assistance, your team provides amazing support.
Kind Regards
Sandy Huntley
0
Please sign in to leave a comment.
Comments
9 comments