If a cleric takes the Ritual Caster feat and picks the wizard list, are they able to scribe rituals that are on both classes’ spell lists?

I am playing a cleric. I would like to take the Ritual Caster feat at level 4 to access some wizard spells for utility.

Can my cleric spend the material cost to add rituals shared by both classes (like Detect Magic, Detect Poison, Identify, Gentle Repose, etc.) to the ritual book? Or do I need to find a wizard based written source?

Top 400+ High PR Profile Creation Site Lists [Backlinks Guide] for $87

If you are a blogger and know about blogging then you must have heard this name Guest Blogging and Guest Posting. Guest posting is a one types of off page activities in SEO. Increase traffic and boost search engine rankings are the main benefits of guest posting activities. If you are looking Latest Guest Posting Sites List with High DA PA, So you came to the right place.In this article, Best Tech Master provides you Best guest posting sites list where you can publish your guest posts. With the help of guest posting, you must get organic traffic as well as high-quality backlink and your site will never be penalized by Google.What are guest posting and its benefits?Guest Posting is one type of ranking factor SEO off page activities. Guest posting is the best way to build relationships, professional connections and setting brand promotion. In the guest posting, you write an article for a High Authority website with a particular niche and subject and in return, you receive a backlink to your website/blog. Guest posting is one of the best white hat SEO methods. If you use this method in a proper way, you must get the rank of your website in search engine.Domain authority for your website will increase and getting the exposure back to your website. In the guest posting that you will get either Do-follow backlink or No-follow backlink. Let us know for your information that no follows the link of High Authority Blog also plays the biggest role in SEO.How to Do Guest Posting If you want to guest post in a proper way, then you have to keep in mind the following steps.1.The first thing that you find sites relevant to your niche or industry. So for this, you can search these types of keywords in google to find guest posting site.keyword “submit a guest post”keyword “guest post”Keyword “looking for guest posts”Keyword “submit news”Keyword “submit a guest post”Keyword “write for usKeyword “submit blog post”keyword “guest post by”Keyword “submit content”keyword “accepting guest posts”

by: SeoAlexander
Created: —
Category: PBNs
Viewed: 207


How to create custom “views” from multiple related lists

I need to create a custom view from multiple related lists. List A has a drop down field that I would like to use the value to create a custom view. List B contains payments received for each of the items in List A monthly. I would like to create a view that displays List A Value 1 with all the related List B Values and then shows the total amount received of all the items in List B. To further complicate things List B spans multiple years and I need the user to be able to Select the Year and then the Drop Down Value in List A to generate the “Custom View”

How to return lists of a paticular Content Type using PnP PowerShell

I’m using PnP Powershell for SP 2013. I’m trying to retrieve lists that support a particular custom Content Type (“Knowledge Document”). I’m having difficulty even getting the List Content Type to print. Ultimately I wanted to use Get-PnPList | ContentType = "My Custom Content Type"

function PopulateData($  web, $  incldeFileSize) {         Write-Host "Current Site " $  web.url -ForegroundColor Cyan                    $  libs = Get-PnPList -Web $  web | Where{($  _.BaseType -eq "DocumentLibrary”) }                    foreach($  lib in $  libs){                     $  ContentType = Get-PnPContentType -List $  lib                      write-host $  ContentType                      $  libitems = (Get-PnPListItem -Web $  web -List $  lib -Fields "FileLeafRef","Name","Title","Author","Modified","Created","KBAbstract","KBContentAuthor","KBCategory","Publish","KBPublishDate").FieldValues                         foreach($  libitem in $  libitems)                          {  ... 

Is there a way to get all paging info for a list up front so that very large lists can be fetched in parallel?

I am using SharePoint online and SharePoint 2013+ onprem.

I have written a CSOM rest program that fetches all the items in a list and fetches list items in 5000 item batches, the maximum allowed by the list item view threshold.

Here is an example of the XML payload of the CSOM request to get one of the pages.

<Request AddExpandoFieldTypeSuffix="true" SchemaVersion="14.0.0.0" LibraryVersion="16.0.0.0"          ApplicationName=".NET Library" xmlns="http://schemas.microsoft.com/sharepoint/clientquery/2009">     <Actions>         <ObjectPath Id="10019" ObjectPathId="10018"/>         <Query Id="10020" ObjectPathId="10018">             <Query SelectAllProperties="true">                 <Properties/>             </Query>             <ChildItemQuery SelectAllProperties="true">                 <Properties>                     <Property Name="Id" ScalarProperty="true"/>                     <Property Name="DisplayName" ScalarProperty="true"/>                     <Property Name="HasUniqueRoleAssignments" ScalarProperty="true"/>                     <Property Name="File" SelectAll="true">                         <Query SelectAllProperties="false">                             <Properties/>                         </Query>                     </Property>                     <Property Name="ContentType" SelectAll="false">                         <Query SelectAllProperties="false">                             <Properties>                                 <Property Name="Name" ScalarProperty="true"/>                             </Properties>                         </Query>                     </Property>                 </Properties>             </ChildItemQuery>         </Query>     </Actions>     <ObjectPaths>         <Method Id="10018" ParentId="9" Name="GetItems">             <Parameters>                 <Parameter TypeId="{3d248d7b-fc86-40a3-aa97-02a75d69fb8a}">                     <Property Name="AllowIncrementalResults" Type="Boolean">false</Property>                     <Property Name="DatesInUtc" Type="Boolean">true</Property>                     <Property Name="FolderServerRelativePath" Type="Null"/>                     <Property Name="FolderServerRelativeUrl" Type="Null"/>                     <Property Name="ListItemCollectionPosition" TypeId="{922354eb-c56a-4d88-ad59-67496854efe1}">                         <Property Name="PagingInfo" Type="String">Paged=TRUE&amp;p_ID=6500</Property>                     </Property>                     <Property Name="ViewXml" Type="String">&lt;View Scope="RecursiveAll"&gt;&lt;RowLimit&gt;500&lt;/RowLimit&gt;&lt;/View&gt;</Property>                 </Parameter>             </Parameters>         </Method>         <Identity Id="9"                   Name="740c6a0b-85e2-48a0-a494-e0f1759d4aa7:site:2386a403-8d76-4737-b774-dabad52201e3:web:7a2f544f-e3ed-444e-8de3-178c2c9b5848:list:63029d5e-0588-4406-89f4-9b5a69ae5d81"/>     </ObjectPaths> </Request> 

Notice the Paged=TRUE&amp;p_ID=6500 is specified which means get me the next page of results starting at p_ID 6500.

So the simple algorithm to fetch all the items is this:

next_page_id = 0 while (next_page_id is not null)    get next page of list items starting at next_page_id.    if there is another page       set next_page_id to that page id.    else       set next_page_id to null. 

But the main flaw with this is that now a list with 1,000,000 items can only be fetched with a single thread. Which means that this can potentially fetch for hours and hours if a single list has millions of records in it.

To get past this, I tried to use the List.ItemCount to create a blocking collection of pages that we need to fetch. For example, if you have 150000 records in a list, create Paged=TRUE&amp;p_ID=0, Paged=TRUE&amp;p_ID=5000, and Paged=TRUE&amp;p_ID=10000 and a thread pool can grab pages to fetch until there is no more work to do.

But this isn’t correct. You will end up with incomplete lists, because the p_ID is not the “index of result.” It has some other meaning that I do fully understand.

Is there a way to do what I am trying to do?

SharePoint Online – Viewers – Access denied on lists

I have an issue with my root SharePoint Online site. This is 2013 user experience. While testing permissions, non-owners are not able to view any list except site pages. The test user gets access denied on any other lists/libraries. I’ve done extensive testing and the only way I can get the user to be able to see other lists is to elevate permissions to owner. I consider myself pretty savvy with SharePoint and permissions. This one has me stumped.

Things I’ve checked.

  1. Noticed that the “SHAREPOINT\system” account was missing from Owner group and re-added
  2. Granted “Read” directly to the test user
  3. Checked inheritance to ensure the test user has access to the list from permissions
  4. Ensured “Read” at the site collection level
  5. Double checked permissions at the list/document library level including creating a new document library and ensuring it inherits permissions.
  6. Checked default permission levels to ensure they haven’t been modified
  7. Stopped inheriting permissions on the list and added the user directly

Any thoughts?

Is it valid to let view models populate their own lists for dropdowns in mvc?

I’ve struggled to find any discussion on this.

If you have a simple MVC page for updating a User, and you put a dropdown list on it of Country, you need to populate the dropdown list in the viewmodel. Let’s call it List<Country> countries {get; set;}

If the page is posted, and there’s an error like they forgot to put a User Name in, we redirect them to the page again to try again, at which point we also have to remember to repopulate the model’s List<Country> before redirecting them back to the page.

Three ways to handle this that I know of:

  • In the controller, make a call to the database, e.g. viewModel.Countries = _dataAccess.GetCountries()
  • Store the list in the view bag and not in the model at all e.g. ViewBag.Countries = _dataAccess.GetCountries()
  • Put it into the view model itself, so that List<Country> {get { return _dataAccess.GetCountries(); and thus inject in a DataAccess object.

The third approach is what I am considering because then you don’t need to worry about populating/repopulating the fields in the controller. But I can’t find any evidence via searching that this is an acceptable method, so I fear there is a drawback I am not considering.

How can I sort two lists identically?

I have two python lists as below.

 list1=['River (OTH)','River (N)','River']        list2=['River (OTH) sales','River (N) sales','River sales'] 

And I sorted the above list with the code,

list1.sort()    list2.sort() 

After sorting I get the list as,

list1=['River','River (N)','River (OTH)']      list2=['River (OTH) sales', 'River (N) sales', 'River sales']  

I need the list2 also to be sorted like,

list2=['River sales','River (N) sales', 'River (OTH) sales'] 

How can I achieve this? Thanks in advance.

Converting string lists from a text file to int arrays

{'00': ['000011110000111111110000',         '000011110000111111110000',         '000011110000111111110000',         '000010000000111000000000',         '111110000111111000000111',         '111110000111111000000111',         '111110000111111000000111',         '111001111111111000000111',         '000001110000000000000111',         '000011110000000011111111',         '000011110000000011111111',         '000011110000000011111111',         '111111110000000011110000',         '111111110000000011110000',         '111111110000000011110000',         '111000000000000010000000',         '111000000111111110000111',         '111000000111111110000111',         '111000000111111110000111',         '111000000111111001111111',         '000000000111000001110000',         '000011111111000011110000',         '000011111111000011110000',         '000011111111000011110000'],  '01': ['01111111000000',         '01111111000000',         '01111111000000',         '01110000000000',         '01110000000000',         '01110000000000',         '11110000000111',         '11110000000111',         '11110000000111',         '00000000000111',         '00000111111111'],  '02': ['0000111100',         '0000111000',         '1111111001',         '0000000111',         '0000000111',         '0000000111',         '0010000100',         '0001000100',         '0000000100',         '0000000100']} 

I have a text file that looks like that. I want the output file to just extract the values from the dictionary and write them to another array.Also it should be in the same order as they appear now. So the array of 00 should appear first followed by 01,02,and so on. Output for 00-

['000011110000111111110000','000011110000111111110000','000011110000111111110000','000010000000111000000000','111110000111111000000111','111110000111111000000111','111110000111111000000111','111001111111111000000111','000001110000000000000111','000011110000000011111111','000011110000000011111111','000011110000000011111111','111111110000000011110000','111111110000000011110000','111111110000000011110000','111000000000000010000000','111000000111111110000111','111000000111111110000111','111000000111111110000111','111000000111111001111111','000000000111000001110000'] 

Output for 01-

['01111111000000','01111111000000','01111111000000','01110000000000', '01110000000000','01110000000000','11110000000111','11110000000111','11110000000111', '00000000000111','00000111111111'] 

I tried using json to solve this problem but apparently each element is a list and it doesnt work.

Python: Compares elements of each list of lists to corresponding ones in different list

Goal: To reduce processing time significantly (if possible) by making this working code more efficient. Currently 50k row by 105 column data taking about overall 2 hours to process. Share of this piece is 95%.

This piece is a key part of my python 3.6.3 script that compares two set of list of lists element by element regardless of datatype. Spent long hrs but seems I reached my limits in here. Running in Win 10.

“””
Sorry about lots of variables. Here is description:
Ap, Bu – list of lists. Each list within list:
a) may contain any datatype (usually String, Number, Null, Date).
b) 1st element of list within list is always unique string.
c) has equal number of elements as other lists
d) each list in Ap has corresponding list in Bu (if 1st element of a element list of Ap matches that of Bu, that’s considered there is corresponding match)

prx – is index of a list within Ap
urx – corresponding/matching index of a list within Bu, as evidenced by urx=l_urx.index (prx)

cx – is index of an element in a single list of Au ux – is a corresponding element index of an element in a matching list of Bu, as evidenced by ux = l_ux.index(cx)

rng_lenAp – is range(len(Ap))
rng_ls – is range(individual list within Ap)

To visualize (just example):
Ap = [[‘egg’, 12/12/2000, 10, NULL], [‘goog’, 23, 100, 12/12/2000]]
Bu = [[‘goog’, ‘3434’, 100, 12/12/2000], [‘egg’, 12/12/2000, 45, NULL]]

“””

for prx in rng_lenAp:     urx = l_urx.index (prx)     if Ap[prx][0] == Bu[urx][0]:         for cx in rng_ls:             ux = l_ux.index(cx)             #If not header, non-matching cells get recorded with their current value             if cx!=0 and Ap[prx][cx] != Bu[urx][ux]:                 output[prx].append (str(Ap[prx][cx] + '^' + str(Bu[urx][ux]))             #Unless it is row header or ID in column, matching cells gets 'ok'             elif cx!=0 and prx!=0 and urx !=0 and Ap[prx][cx] == Bu[urx][ux]:                 output[prx].append ('ok' +'^' + 'ok')             # Anything else gets recorded with their current value             else:                  output[prx].append (str(Ap[prx][cx] + '^' + str(Bu[urx][ux])) 

There must a way to reduce processing time drastically. Currently it is taking cell by cell comparison of 50k row by 100 column data to 50k row by 100 column data about 2 hrs. Expected under 30 min. 3.1 Ghz, 4 cpu (8196MB RAM).