Forum Replies Created
- AuthorPosts
-
AnonymousParticipantHi
n
n
The [NOW] and [Today] are the internal key work for the web parts, but just for CAML, they do not support for calculated value. I think JavaScript is the only way to achieve it currently.
n
n
AnonymousParticipantHi
n
n
Yes, then I can see your configuration.
n
n
AnonymousParticipantHi ,
n
I would like to descript the consume session value feature in qListFrom. As you know, if the Field Type set to ‘Consume value from a session’, you must define the ‘Site URL’, ‘List Name’ and the ‘Cusome Session Display Field Name’ at the same time. About the ‘Consume Session Display Field Name’ setting, as description in ezEdit: “You can consume value from a specific field by specifying the field name in the Display Field Name.” this field come from the ‘List Name’ setting, in addition, you set the display name here, qListFrom will convert it to internal name before getting the value.
n
So that may explain why it doesn’t work for you in document library. For example, if you modify the ‘Title’ field to ‘FirstName’ in your document library, then you set the ‘Consume Session Display Field Name’ to ‘FirstName’, and in your qSIListView, you also have a column which named to ‘FirstName’. That cannot work in this case. Because qListFrom will use ‘Title’(not the ‘FirstName’) as a key to search the session, and qSIListView doesn’t provide it.
n
If that is the case, for workaround, you can create a custom list, and create a new filed which column name is the same as qSIListView(to make sure the display name is the same as internal name), then set this list under the ‘Consume value from a session’ setting in qListForm. That may sound a little strange, but as ’s said, qListForm was not designed to consume session from external data.
n
AnonymousParticipantHi all,
n
I am trying this unsuccessfully and I think it is about the architecture. I think I am missing something – how is the session "consumed" I am stuck – I have the Qsilistview working – and I want to select a row from the results and prefill a qlistform (new item). At present, I have both web parts on the same page. Is this the correct architecture – I think I a missing something.
n
Thanks in advance,
n
AnonymousParticipantHi
n
I suggest you can try to write some JavaScript to format the Calculated field in qListView.
n
1. Add a Script Editor web part into the page, insert a JavaScript about format the date function, it will be used as formating function in the calculated field in qListView. something like:
n
<script>
n
function FormatDate(date){
n
var oldDate = new Date(date);
n
var today = new Date();
n
return oldDate .getDate() – today.getDate();
n
}
n
</script>
n
2. Add a custom filed in qListView, invoke the JavaScript function in ‘Calculated Value’ setting, something like below, the <%Date%> is a parameter that you want to format:
n
<script>FormatDate('<%Date%>');</script>
n
But I would like the mention that if you do that, this calculated field cannot be sorted any more.
n
AnonymousParticipantThank you for the reply.
n
Yes we are using SP 2013. But, in my first post the very first sentence indicates we tried exactly what you suggested.
n
I just created a brand new qListVew with a Child List to see if I could recreate it the issues with out of the box config and I can. Attached is a screen grab of the config. It is the exact same config used for the parent list when opening an Edit form in a dialog.
n
Is this a bug? What am I missing? Also, the New Form opens in a Dialog properly.
n
Thanks,
n
Trav
AnonymousParticipantHi
n
n
I am sorry, I cannot repro this issue. Could you please give me your web part template?
n
n
AnonymousParticipantHi
n
Are you using the SP2013? If yes, the default behavior of SP2013 is the new window. You need to configure the ‘Launch Form In’ setting in Child List setting, you can see it after adding the child list. If you don not configure it, it will use the SharePoint default way to open the page.
n
AnonymousParticipantHi Alerusso,
n
n
I don’t this is a IE issue. I have create a bug for it, the ID is #434947.
n
n
AnonymousParticipant, is this viewed as a defect though? Or just an IE limitation?
AnonymousParticipantHi Alerusso,
n
I can repro this issue. Yes for a workaround, you can use Chrome in this case.
n
AnonymousParticipantHi Alerusso,
n
There has a limitation of the upload file, the default value is 200KB. You can change it in Configuration Editor tool: Edit -> Custom Settings Editor -> Editor -> Maximum File Upload Size.
n
AnonymousParticipantHi Alerusso,
n
For #1, do you mean create a custom action, click it, then just show the items that created by the logged user? if yes, Custom action cannot support it directly, but you can try to use the CAML filter. On the other hand, you also can set the ‘Searched Fields’ to do that.
n
For #2, do you want to group the field which its type is Date? If yes, qListView can support it. if no, please give me more detail about your case.
n
AnonymousParticipantHi Alerusso,
n
I cannot provide any suggestion so far, can you provide more detail about your case? Such as which version you are using; what fields are configured to qListForm.
n
I think some of the ‘special’ fields you are configured cause this issue, Do you use the ‘People Picker’ for ‘Person or Group’ fields in qListForm? If you can provide all the fields types, that would be great.
n
n
AnonymousParticipantHi ,
n
I am sorry, cannot support it.
n
You can try to use ‘Dialog’ way setting in ‘GoToURL’. As you said, the page URL of qListView contains a parameter, and you configure a custom action in qListView which navigate to qListForm with a http parameter. I think you can try to change the ‘Open URL’ setting to ‘Dialog’ in qListView(default is ‘CurrentWindow’). Then you click the ‘Continue’ button, qListForm will be shown in a dialog. In qListForm, change the custom action type to ‘CloseDialog’. After that, you click the ‘CloseDialog’ custom action in qListForm, the dialog will be closed, and the qListView page still keep the URL parameter.
n
- AuthorPosts