-
Search Results
-
Topic: SharePoint 2013 Star Ratings
Hi Alex,
Does DFFS support SharePoint 2013 native star rating fields on DFFS forms?
I cannot see them in the list of fields when building a new form tab.
Ultimately I would like the Star Rating field to show up on the form so a user can rate the list item while editing the form. This works just fine on the list view.
K
Topic: Nested Source parameters
Hi Alexander,
I am using SPServices’ Add New function within a DFFS Edit Form, to call another DFFS new form. This normally works ok. However, if the first form already has a Source parameter on the URL, the second form that is opened by SPServices gets two Source parameters. This causes second DFFS window to stuck at overlay and end up with This took too long message.
I am trying to understand if this is SPServices building the URL wrong or a problem with DFFS parsing it. Below is how URL looks like, I appreciate if you can point me in the right direction.
Sample URL, which causes This took too long message:
(This happens when I go to a display form, edit an item from vLookup and click Add New link in the Edit Form)
Thanks,
Cagri
Hi, I have a few lists used for testing. We did some updating to our tests where we have now numbered each question. I would rather not update each column with a number in front of the question but instead have a number show on the form for each column/question. Is this possible?
I appreciate your help!
-KrisTopic: vLookup load time
Hi there
I have a list with 15 vLookup relationships with various child lists. THe load time for the form is now noticeably slower than most users are prepared to accept. While I can marvel at the complexity and genius behind the form (thanks again Alexander!) I would like to reduce the load time if possible while retaining the relationships to the child records.Firstly, can you confirm that it is the number of vLookups that will be causing the delay and if that is the case, is is possible to delay the loading of selected look ups and have them load when the current tab is fully loaded? (e.g. load the main tab with its vLookups and then load the others in the background?
The scenario is a Project management record with child lists for costing, outputs, risks, activities, impact, documents and more.
Thanks
Gerry
Topic: Error HRESULT: 0x80131904
Hi Alexander,
I have strange error HRESULT: 0x80131904 displayed at form – see attached document.
Everything works perfect if user is site collection admin. If not, this error appears.
User has Full controll to site, has FC to both lists (mother and child), has FC at document library with DFFS javascripts, has FC at DFFS and vLookup configuration lists.
🙁
Thanks for any idea.Michal
Using DFFS Backend v4.260, [frontend] v4.272, CSS version: 4.02 / |spjs-utility version: 1.206, vLookup for SharePoint [backend] v2.117, frontend] v2.119
Topic: Pre-Filtered Lookup List
We are using DFFS 4.102 and have a need to use a lookup list on a form which is a filtered set of data.
If my list is “Accounts” with this data:
Account ID = 112, Level = 2
Account ID = 543, Level = 2
Account ID = 123, Level = 1Is there a DFFS tool that will allow us to use a lookup list that pre-filters the available choices to just “Level 2” items?
The idea is that each user will have different access rights and we want to control which items are available in the lookup list drop down.
We are using a custom user property to set their individual “level” access right.
Topic: Chart Selection Handler
Hi Alex,
I’m hoping you can help. I have my charts set up in my CEWP (shown below) and I’m using the ‘spjs_getFilterValue’ function to return custom filter values which is shared between multiple charts using the filterAdditionalCharts’ option, and the ‘spjs_chartSelectionHandler’ function is used to select and return the data in a new window.
This works fine initially when I load the page and click on the chart data – the ‘spjs_chartSelectionHandler’ runs through and uses the URL to return the List data in a new window as expected. However, as soon as I select another value from the filter dropdown and repeat the same action (i.e. click on a chart item) the ‘spjs_chartSelectionHandler’ function seems to act like a loop which returns multiple instances of the same list data.
I’m not sure if it’s something to do with how I’ve written my code or the function itself but I would really appreciate your assistance?
<style type=”text/css”>
font-style:italic;
color:white;
border:1px silver solid;
background-color:#7DB0AF;
line-height:250px;
height:250px!important;
width:350px!important;
text-align:center;
margin:2px;
}
</style><div class=”spjs_chartPlaceholder_master”></div>
<script type=”text/javascript”>
// Set this to true to load the Google Visualization API release candidate
var loadRC = false;
// Set this to true to allow for the use of variables in the “Filter setup textarea”
var allowEval = true;
</script>
<script type=”text/javascript” src=”http://restricted.sharepoint/sites/SPJQ/jquery-1.11.3.min.js”></script>
<script type=”text/javascript” src=”https://www.google.com/jsapi”></script>
<script type=”text/javascript” src=”http://restricted.sharepoint/sites/SPJQ/spjs-charts-v4.14_min.js”></script><script type=”text/javascript”>
function spjs_getFilterValue(list,field){
var q = “<Where><IsNotNull><FieldRef Name=’ID’ /></IsNotNull></Where><OrderBy><FieldRef Name='”+field+”‘ /></OrderBy>”;
var res = spjs.charts.qItems({“listName”:list,”query”:q,”viewFields”:[field]});
var b = [];
var fObj = {};
b.push({‘f’:’All’,’v’:’*’});
$.each(res.items,function(i,item){
if(fObj[item[field]] === undefined && fObj[item[field]] == null){
fObj[item[field]] = 1;
if(item[field] == “QF”){
b.push({“f”:”QF”,”v”:”QF”,”selected”: “true”});
} else {
b.push({“f”:””+item[field]+””,”v”:””+item[field]});
}
}
});
return b;
}
var myCustomFilterOptions = spjs_getFilterValue(“List_BF”,”DT”);
</script><script type=”text/javascript”>
function spjs_chartSelectionHandler(chartID, selection, data) {
var message, item, value, x, y, z, x1, x2;if (selection.length > 0) {
item = selection[0];
message = “”;
value = “”;
switch (chartID) {
case ‘69743111-c1d0-4562-99e8-f72a85697457’:
if (item.row !== null) {
x = data.getFormattedValue(item.row, 0);
x = x.replace(” “, “%20”);
x = x.replace(“,”, “%2C”);
//console.log(x);
if (item.column !== null) {
z = data.getFormattedValue(item.row, item.column);
//console.log(z);
y = data.getColumnLabel(item.column);
//console.log(y);
}
}
if (x === undefined && y === undefined && z === undefined) {
return;
}
if (confirm(“Open filtered list?”)) {
window.open(‘http://restricted.sharepoint/***************************.aspx?&FilterField1=MOM&FilterValue1=’ + x, ”, ‘width=1000’);
return;
}
break;//case ‘b2bf592a-3c16-49dc-bae2-76d68b6e3d7a_0’:
case ‘69743111-c1d0-4562-99e8-f72a85697457_0’:
if (item.row !== null) {
x2 = data.getFormattedValue(item.row, 2);
x2 = x2.replace(” “, “%20”);
x2 = x2.replace(“,”, “%2C”);
//console.log(x2);if (x2 === undefined) {
return;
}
}
if (confirm(“Open filtered list?”)) {
window.open(‘http://restricted.sharepoint/***************************.aspx?&FilterField1=Title&FilterValue1=’ + x2, ”, ‘width=1000’);
return;
}
break;
default:
if (item.row !== null && item.column !== null) {
message = “{row:” + item.row + “,column:” + item.column + “,chart:” + chartID + “}”;
value = data.getValue(item.row, item.column);
if (message === “”) {
message = “nothing”;
}
alert(“You selected ” + message + “, the value is: ” + value);
}
//console.log(“Chart selection not configured.”);
break;
}
}
}
</script>