Adding Labels to Term Items in SharePoint online using PowerShell

I’ve been trying to import data from a CSV file using the PowerShell Script located here :

SharePoint Tools GitHub

When I run this it creates the terms okay but isn’t adding the synonyms. As the script runs it’s indicating that it is adding this data but when I got back to my sharepoint site it’s not there.

Does anyone know why this would be or have any suggestions for what I could try? The list I’m trying to import contains about 700 items.

terminology – Is the term ‘Front-End’ synonymous with ‘Client-Side’? If so, is this always the case?

As a relatively new (self-taught) web developer, I’ve heard the terms front-end, client-side, back-end, and server-side quite often. To me, front-end and back-end were always synonymous with client-side and server-side, respectively.

However, as I’ve begun working with MVC frameworks like CodeIgniter, I’ve come across a few instances of front-end referring to basically anything the end user sees (including server-side code), while back-end has referred to anything the end-user doesn’t see (including CMSs). Client-side and server-side, to me, are much more concrete in their meanings; they have a very distinct line separating them. Front-end and back-end, on the other hand, do not.

In a conversation I remember having with another web developer, he referred to CodeIgniter (in its entirety) as a front-end, and this threw me for a loop. I wasn’t sure whether to correct him and say that CodeIgniter was my back-end, or if my definitions of the two terms were completely wrong.

Searching for definitions of front- and back-end confused me a bit more in some respects, though they did clarify a few things. I’d just like to know where the lines are drawn between these four terms, and how they piece together in the context of web development (specifically on a LAMP stack).

gui design – What is the term for varying types of selection, and why are most apps either one/the other with no setting

This might be asked before, but I’m trying to create a feature for my design app that supports both methods of selection in this way. One mode should select all items that the bounding box even touches a little bit of the item in question, it selects it. Example here (bounding box is black, green is selected, red is omitted):
enter image description here

The other type of selection is more strict, and only selects ones that are completely within the box.
enter image description here

Additionally, most apps that I found are usually one or the other (either that or I haven’t found the setting because I don’t know how to look for it). For instance, Illustrator defaults as the first option, but some apps like Solidworks in 2D mode default as the 2nd option. Despite this being a really simple feature, it can severely improve or otherwise hamper some simple tasks; like if the objects are really close to one another, the 2nd option is better for precision. Apologies if this is actually a duplicate, I have no idea how to explain this to Google. Thanks y’all!

views – Add additional taxonomy term fields to an exposed filter form

Brief: How to add a custom field from a taxonomy term into a View’s exposed filter form?

Specific: I have an image field added to taxonomy terms that I want to add to the exposed filter form along with the radio button and the TID’s name (default is only radio + name), themed with Twig template.

More words:
Hello,
I’d like to modify an exposed Views filter form to include the rendered image field from the taxonomy terms listed in the exposed filter. I’ve run into several dead ends getting this to work in Drupal 9.x. Some of the instructions I’ve found seem to be either for older versions, or I’m just unable to sort this out.

My View is set up to have “Content: Has taxonomy term ID” contextual filter, with the appropriate settings for the filter criteria. Everything works great for the exposed filter on the target page.

The term itself has the added field of a Media image, which works fine when visiting the term’s page, for instance.

I’ve tried many different things, but most recently I am using the Better Exposed Filters module, with the results displayed as “inline” and I have a Twig template that overrides the output (/templates/views/views-exposed-form–(view-name)–(display-name).html.twig), which does work.

I’m stuck getting any access to the actual custom field from the taxonomy term! I can access everything from the base TID & name, etc., but I can’t figure out how to get at the extra field so I can try to render it in the Twig template.

Stuff I tried and/or don’t understand:

I’d prefer to do this purely in Twig templates (unless that’s dumb?), but I also will do a simple module with a hook_form_alter if it is better… I’m admittedly new to Drupal 8/9 (I’m trying to migrate an old Drupal 7 site), so I figure I’m missing some things here.

THANK YOU for any help/ideas making this ugly form look purty!!

semantics – How do you justify making algorithm subroutines more efficient when Big-O notation only includes the dominant term?

I don’t really understand time complexity, and wanted some clarification in this hypothetical situation.

If I were being given items one by one, and I wanted a list of them all in the reverse order I got them in, I could add each item to an ArrayList, then reverse it. Both of these operations are O(n) in time complexity, and therefore my total is O(2n), which is just O(n).

However, I could also add each item as I got it to a Stack, and since Stacks are LIFO, it’s already reversed once I have all of the items. This skips the O(n) ArrayList reversing, but is still O(n) overall since getting the n items was O(n).

I think the second option would be better, since I’m avoiding an O(n) subroutine, but how can I say that I have made my algorithm more efficient?

In the context of explaining how my second algorithm is more efficient, is it appropriate to just say I have made it more efficient by removing an O(n) subroutine?

views – Taxonomy term relationships

I have 3 taxonomy terms that I would like to expose as filters but I would like to use JavaScript to disable filters as you make selections in the other related exposed filters. For example:

Styles Makes Models
Cars BMW 750i
Trucks Ford F-150

If you select “Cars” then the “Makes – Ford” and “Models – F-150” would be disabled. I currently have each item assigned a proper CSS class for hooks but I am needing to find a way to add a CSS class to each “Makes” item and “Models” item that would be available if the user selected “Styles – Cars”.

I need to do this on form field change and without refreshing the page. Is this possible?

Much thanks in advanced.

entities – Taxonomy term save very slow

I have a vocabulary with around 15k+ terms in multi-level hierarchies. Recently I noticed that with this amount of data, when I try to save a term of a higher level (parent to many), it takes a lot of time to save.

I checked with the webprofiler module and saw there was around 10k queries running for such a single term including the queries it is running for it’s children. I am not sure if this is expected, but is there a way I can speed up the process?

I considered running the process in background, but in that case also, it supposedly should take the same amount of server resources. The problem is so much so that my entire application is going into a halt state (sometimes unavailable) when I am updating some terms through a drush command.

Any help?

views – On a content page that references a taxonomy term, how can I display only content that references that taxonomy term’s immediate children?

I start by guessing that you want to show the taxonomy term descriptions of child terms on the “taxon pages”.

Best way to achieve this is to creating a new block view.

As you supposedly want to show taxonomy data, choose “Taxonomy term” as data to show; save and edit.

Next you have to pull in the parent term’s ID, that is referenced from the node (Content page) this block will be placed in. So add a contextual filter “Taxonomy: Parent”. In “if filter value is NOT available”, choose to provide a default value, taxonomy term ID from URL, and make sure to tick “load default filter from node page”.

You can optionally fine-tune the settings by limiting it to your taxonomy vocabulary and define multiple value handling.

Next, save this view and place the newly created block on your content page. You do so in “Structure / Block layout”. Go to the region you like to show the block in, e.g. “Content”. Click the “Place block” button and find your view block.

Configure it to display only at your content type.

EDIT:

And if you like to show fields of content that has the child terms assigned, then you can add a relation in “Advanced / Relations” to content that has the term, change the view type to be a field view (if not already), and add the fields from your related content. (Didn’t try this one, but should work as well.)

terminology – What is the term for replacing a literal with a changeable symbol?

Is there a designated term for replacing hard constants (literals of any type) peppered throughout code with changeable constructs (can be a variable or #define or any similar mechanism)?

Basically, the overarching effect is integrating data into one place where one change is seen in multiple places.

For example:

int y = alpha(3);
.
.
.
if(beta(3)) x = a + b;
.
.
.
while(gamma(3)) {
    delta("hello");
}

becomes

int y = alpha(SCALE_FACTOR);
.
.
.
if(beta(SCALE_FACTOR)) x = a + b;
.
.
.
while(gamma(SCALE_FACTOR)) {
    delta(GREETING);
}

operating systems – LONG TERM SCHEDULER and how does it interact with USER

If I select chrome browser, then I select Android Studio, do they directly open in Ready Queue (allocated to RAM main memory), what processes actually goes into job queue? Does Job Queue gets filled when RAM has no space available? What I want to ask basically is if I opened a word processor and a browser, do these processors are first there in job queue and then ready queue, or directly in ready queue?

I know Windows and UNIX have almost done away with LONG TERM SCHEDULER but consider a general interactive OS.