Home › Forums › Classic DFFS › Calculated and Associated fields disappear from Fields tab
- This topic has 16 replies, 2 voices, and was last updated 6 years ago by MikeS.
-
AuthorPosts
-
-
November 6, 2018 at 19:50 #22705
This issue keeps recurring. DFFS will list calculated and associated lookup fields under Fields on initial load. I add these to various tabs. They show up in the forms. The next day I open DFFS back end and see the bright red bars indicating that these fields are missing from my tabs (and the Fields tab). See Attachment 1.
In order to get these fields back I must reinitialize all three forms: click red bars, save form, exit DFFS. Re-enter DFFS and add back the fields that are once again found under the Fields tab.
Using latest DFFS (4.4.3.57).
Attachments:
-
November 6, 2018 at 21:52 #22710
This sounds strange. Does the Fields tab list these fields?
I’m thinking maybe you have to many fields of one type so the script that pulls in all available fields might not manage to get all fields when querying the list (there are some limitations / throttling in SP). Can you show me a complete list of all fields (with field type) in your list?
Alexander
-
November 6, 2018 at 22:06 #22712
Attachment 2 lists all fields. Note that Cal_123 (calculated field) and ProdPhaseName:LRIP (associated lookup field) are shown and are part of my Tabs.
Attachment 3 is taken after I exited the DFFS backend. Closed the browser and re-opened. Now these two fields are missing from the Fields tab and I get the red warnings.
Attachments:
-
November 6, 2018 at 22:11 #22716
Are you using a large number of lookup columns and calculated columns?
Alexander
-
November 6, 2018 at 22:14 #22718
No, the screenshots above are the total number of columns. One lookup field and one calculated field.
-
November 7, 2018 at 18:07 #22726
I’m not able to figure this out – can you answer these questions?
- Which list type is it? (custom list, tasks etc.)
- Is this a field created in this list, or is it a site column?
- Is there anything else special with this list?
Alexander
-
November 7, 2018 at 18:25 #22728
This is a custom list. All fields were created in this list. Nothing special.
I have numerous other lists (all custom lists, no site columns) in which I experience this same problem. This is just a simple custom list that I set up.
SP 2013 treats calculated columns and lookup columns different than plain text. Any relation to this? Why would it work and then not work?
If I ignore the red warnings about missing fields the forms continue to display the calculated and lookup associated field columns and the forms function as needed. However, once I make mods to the forms in the DFFS backend I must reinitialize to ensure the fields reappear and I must reinsert the fields in the right Tabs. A recurring nuisance at this point.
Are you unable to recreate?
Mike
-
November 7, 2018 at 18:45 #22730
Unfortunately I cannot recreate it. Do you use the “Enhanced with DFFS” link in the form to enter setup?
Alexander
-
November 7, 2018 at 18:53 #22732
No, I always use a bookmark to enter the DFFS backend directly:
/SPJS/DFFS/DFFS.aspx
and then I select the list form in which I want to work. Should I select the edit form before the display form? It seems I must reinitialize the edit form before the display form will once again list the display form only fields, i.e., calculated and associated lookup fields.
-
November 7, 2018 at 18:56 #22734
I think this must be the cause. Try using the link in the form to check if this fixed it. If it does, please attach the code you use in your dffs.aspx page so I can look at it.
Alexander
-
November 8, 2018 at 23:06 #22770
Yes, using the link at the bottom of the Display form to access the DFFS backend does not result in the missing field issue.
-
November 9, 2018 at 10:43 #22782
OK, do you use the file DFFS_DirectToBackend.html found in the latest DFFS package in your DFFS.aspx page?
Alexander
-
November 9, 2018 at 21:23 #22793
-
November 10, 2018 at 00:37 #22800
OK, if you use the file located in /SPJS/DFFS/DFFS_DirectToBackend.html from this package you have the latest one (no changes made to this in later versions). I did try using this to access the config for a list, but unfortunately cannot recreate it.
Can you explain how you change the form config from EditForm to DispForm when you have opened the first forms from the DFFS.aspx page – you are using the buttons in the top left corner to change, and not editing the URL of the page right?
Alexander
-
November 10, 2018 at 01:28 #22804
I use the top left buttons.
The URLs are different when initially accessing the Display form as shown here:
URL comparisons:
Directly accessing DFFS.aspx via this URL results in Display form missing fields (red bar warnings)https://[SITENAME]/dispform.aspx?GoToBackend=1&backend=1&targetList={7c8a9215-cff8-4176-b93d-1b9c656b6f91}&targetListBaseUrl=/sites/[SITENAME]&formId=/lists/[LISTNAME]/dispform.aspx&formType=1&saveLastGood=1&Source=https://[SITENAMEandLISTNAME]/dispform.aspx
The URL after accessing the DFFS backend from link at bottom of Display form (no missing fields or red warnings):
https://[SITENAME]/DispForm.aspx?ID=1270&backend=1&targetList={7c8a9215-cff8-4176-b93d-1b9c656b6f91}&targetListBaseUrl=/[SITENAME]&formId=/lists/[LISTNAME]/dispform.aspx&formType=2&saveLastGood=1&Source=https://[SITENAMEandLISTNAME]/DispForm.aspx?ID=1270
Should I use a different link to access DFFS.aspx directly?
Should I replace
/SPJS/DFFS/installer/Installer_CEWP_code.html
with
SPJS/DFFS/DFFS_DirectToBackend.html
in the DFFS.aspx page web part? -
November 10, 2018 at 11:52 #22814
Thanks for the clarification, I found the bug and have fixed it in the new release: https://spjsblog.com/2018/11/10/dffs-package-updated-to-v4-4-3-58/
Alexander
-
November 14, 2018 at 01:22 #22845
Great job Alexander. No more missing fields when accessing the DFFS.aspx page directly.
Thanks
Mike
-
-
AuthorPosts
- You must be logged in to reply to this topic.