Alexander Bautz

Forum Replies Created

Viewing 15 posts - 4,186 through 4,200 (of 4,536 total)
  • Author
    Posts
  • Alexander Bautz
    Keymaster

    Hi,
    I have never heard of this before so I cannot tell what is causing it. Have you verified that it is related to DFFS by deactivating the solution (removing the CEWP)?

    If it is related – is the RTE a “enhanced rte” with the controls in the ribbon above the form, or the “old” type with the controls over the field itself?

    DFFS does not support the old RTE editor in SP2013, so you would have to edit the list and change it to “Enhanced RTE”.

    Alexander

    in reply to: SharePoint 2013 Star Ratings #8028
    Alexander Bautz
    Keymaster

    Hi,
    DFFS supports the native star rating, but as in a stock form, this is only available in DispForm.

    Alexander

    Alexander Bautz
    Keymaster

    Hi,
    The calculated column is not available in EditForm, so you need to use a query to get the value.

    This is the HTML from the “Heading or HTML field”:

    <h2>Profile Name: <span class="fullusername" /></h2>

    I include it here because the quotes in your example is the wrong type because it is not wrapped in <code> tags

    Then add this to the Custom JS textarea in the “CSS and JS” tab:

    var qRes = spjs.utility.getItemByID(
    	{
    		"listName":_spPageContextInfo.pageListId,
    		"id":spjs.dffs.data.thisItemID,
    		"viewFields":["YourCalculatedColumn"]
    	}
    );
    $("span.fullusername").html(qRes["YourCalculatedColumn"].split(";#")[1]);

    Change “YourCalculatedColumn” to the FieldInternalName of your calculated column.

    Alexander

    in reply to: Password Recovery? #8023
    Alexander Bautz
    Keymaster

    You can remove the password by locating the correct chart in the list “SPJS-ChartsForSharePoint_v4” (found in all site contents) and editing the “blob” and remove the “obfuscated” password so that is is only an empty string – like this:

    "password":""

    Alexander

    in reply to: Table Style layout #8013
    Alexander Bautz
    Keymaster

    Hi,
    I’m sorry for not replying – I must have had a problem with the notifications from the forum as I had missed quite a few comments.

    I think you should be able to use the method described in this post: https://spjsblog.com/forums/topic/side-by-side-grid-view-of-readonly-values/

    Let me know how it works out.

    Alexander

    in reply to: Rule processing and reversing #8012
    Alexander Bautz
    Keymaster

    Oh – I see, I have failed to implement the reversing action “on load” on all the different triggers. I will fix this and release a new version within a day or two.

    You can work around this for now by changing the rule to “less than” like in my example above.

    Sorry for the inconvenience.

    Alexander

    in reply to: Error when opening editform #8009
    Alexander Bautz
    Keymaster

    I will fix this issue in the next release by removing the ContentTypeId from the URL if it is empty.

    Alexander

    in reply to: Unhide other WebParts on DispForm #8008
    Alexander Bautz
    Keymaster

    Sorry for not answering – I have had a problem with notification from the forum.

    I’m not sure I understand what you mean, but in general, DFFS cannot be used with custom forms – only default, unmodified forms.

    Alexander

    in reply to: Nested Source parameters #8007
    Alexander Bautz
    Keymaster

    Hi,
    I’m not familiar with the SPServices Add New feature, but from the URL it looks like the problem is that there is two question marks in the URL. If this only happens when you use the SPServices feature I think you must look at this to fix this issue.

    Alexander

    in reply to: Get a blank webpart #8006
    Alexander Bautz
    Keymaster

    Sorry for not answering – I did not receive a notification about this question. Did you figure it out?

    Alexander

    in reply to: Only Question is shown, answers are not #8005
    Alexander Bautz
    Keymaster

    Hi,
    Sorry for not answering – It seems I have an issue with the email-alert feature related to new posts.

    Did you figure it out?

    Alexander

    in reply to: Rule processing and reversing #8003
    Alexander Bautz
    Keymaster

    Sorry for the delay – I didn’t get an email about your follow-up.

    I have tested this, and using the attached setup it shows and hides the heading.

    Can you test?

    Alexander

    Attachments:
    in reply to: Web Part Dropdown list filter? #8001
    Alexander Bautz
    Keymaster

    Hi,
    Sorry for the delay. I tried to attach a script generated select to a list view, but it didn’t work as the page refreshed when I tried to filter the view – resulting in the select falling back to the default value returned from the query.

    If you want to try it out yourself, here is the code I tried to use in the HTML form web part:

    <select id="myCustomListFilterDropdown" name="T1"></select><input type="button" value="Go" onclick="javascript:_SFSUBMIT_"/>
    
    <script type="text/javascript" src="/SPJS/DFFS/plugins/jquery.js"></script>
    <script type="text/javascript" src="/SPJS/DFFS/plugins/SPJS-utility.js"></script>
    <script type="text/javascript">
    
    var oRes = spjs_QueryItems({"listName":"Dummy","listBaseUrl":"/DFFS","query":"<Where><IsNotNull><FieldRef Name='Title' /></IsNotNull></Where>","viewFields":["ID","Title"]});
    if(oRes.count < 0){
    	alert("Query failed, please check your parameters");
    }else{
    	var b = [];
    	$.each(oRes.items,function(i,item){
    		b.push("<option value='"+item.ID+"'>"+item.Title+"</option>");
    	});
    	$("#myCustomListFilterDropdown").append(b.join(""));
    }
    </script>

    Alexander

    in reply to: 5,000 Item limit #7999
    Alexander Bautz
    Keymaster

    Strange, it did work in my test in an Office 365 site. Can you locate this line in spjs-utility.js:

    if(result.errorCode === '0x80070024'){

    and change it like this:

    console.log(result.errorCode);
    if(result.errorCode === '0x80070024'){

    You must bring up the developer console (F12 > Console) to see the output – what does it read?

    When you are in the developer console, you can go to the “Network” tab and activate the logging (hit “play” in the top left corner). Look at the output and compare it with “Network_log.PNG” (attached).

    The first “/DFFS/_vti_bin/lists.asmx” with result 500 is the first query that hits the error handler in the first code snippet in this comment, and the next is the query to find the highest ID in the list. The next two is the original query separated into chunks of max 5000 items each.

    How does your output look like?

    Alexander

    Attachments:
    in reply to: 5,000 Item limit #7996
    Alexander Bautz
    Keymaster

    I have now updated spjs-utility.js to support large lists: https://spjsblog.com/2015/07/26/spjs-utility-updated-with-support-for-querying-large-lists/

    Can you test the autocomplete solution after you have updated spjs-utility.js to v1.209?

    Alexander

Viewing 15 posts - 4,186 through 4,200 (of 4,536 total)